]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliAODBranchReplicator.h
Leak detected by Coverity fixed
[u/mrichter/AliRoot.git] / STEER / AliAODBranchReplicator.h
1 #ifndef ALIAODBRANCHREPLICATOR_H
2 #define ALIAODBRANCHREPLICATOR_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice                               */
6
7 // $Id$
8
9 // Base class of an object used for the replication 
10 // (and possibly filtering) of one (or several) AOD branches.
11 //
12 // Author L. Aphecetche (Subatech)
13
14 #ifndef ROOT_TNamed
15 #  include "TNamed.h"
16 #endif
17
18 class AliAODEvent;
19
20 class AliAODBranchReplicator : public TNamed
21 {
22 public:
23   AliAODBranchReplicator(const char* name="", const char* title="");
24   
25   virtual ~AliAODBranchReplicator();
26
27   /// Return the list of object we manage
28   virtual TList* GetList() const = 0;
29   
30   /// Replicate (and optionally filter) the given aod event
31   virtual void ReplicateAndFilter(const AliAODEvent& source) = 0;
32
33   ClassDef(AliAODBranchReplicator,1) // AOD branch replicator base class
34 };
35
36 #endif
37
38 #ifndef ALIAODBRANCHREPLICATOR_H
39 #define ALIAODBRANCHREPLICATOR_H
40
41 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
42 * See cxx source for full Copyright notice                               */
43
44 // $Id$
45
46 //
47 // Base class of an object used for the replication 
48 // (and possibly filtering) of one (or several) AOD branches.
49 //
50
51 #ifndef ROOT_TNamed
52 #  include "TNamed.h"
53 #endif
54
55 class AliAODEvent;
56
57 class AliAODBranchReplicator : public TNamed
58 {
59 public:
60   AliAODBranchReplicator(const char* name="", const char* title="");
61   
62   virtual ~AliAODBranchReplicator();
63
64   /// Return the list of object we manage
65   virtual TList* GetList() const = 0;
66   
67   /// Replicate (and optionally filter) the given aod event
68   virtual void ReplicateAndFilter(const AliAODEvent& source) = 0;
69
70   ClassDef(AliAODBranchReplicator,1) // AOD branch replicator base class
71 };
72
73 #endif
74
75 #ifndef ALIAODBRANCHREPLICATOR_H
76 #define ALIAODBRANCHREPLICATOR_H
77
78 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
79 * See cxx source for full Copyright notice                               */
80
81 // $Id$
82
83 //
84 // Base class of an object used for the replication 
85 // (and possibly filtering) of one (or several) AOD branches.
86 //
87
88 #ifndef ROOT_TNamed
89 #  include "TNamed.h"
90 #endif
91
92 class AliAODEvent;
93
94 class AliAODBranchReplicator : public TNamed
95 {
96 public:
97   AliAODBranchReplicator(const char* name="", const char* title="");
98   
99   virtual ~AliAODBranchReplicator();
100
101   /// Return the list of object we manage
102   virtual TList* GetList() const = 0;
103   
104   /// Replicate (and optionally filter) the given aod event
105   virtual void ReplicateAndFilter(const AliAODEvent& source) = 0;
106
107   ClassDef(AliAODBranchReplicator,1) // AOD branch replicator base class
108 };
109
110 #endif
111