]>
Commit | Line | Data |
---|---|---|
5eb970a4 | 1 | // |
2 | // Class AliRsnVManager | |
3 | // | |
4 | // Base "manager" class. | |
5 | // It is built in order to manage a list of objects which share | |
6 | // the same level in the work flow of the analysis. | |
7 | // This base class contains simply the list of "child" objects | |
8 | // and the methods to add objects to the list or retrieve the list. | |
9 | // | |
10 | // author : M. Vala [martin.vala@cern.ch] | |
11 | // revised by : A. Pulvirenti [alberto.pulvirenti@ct.infn.it] | |
12 | // | |
13 | ||
14 | #ifndef AliRsnVManager_H | |
15 | #define AliRsnVManager_H | |
16 | ||
17 | #include <TNamed.h> | |
18 | ||
19 | class AliRsnVManager : public TNamed | |
20 | { | |
21 | public: | |
22 | ||
23 | AliRsnVManager(const char*name = "default"); | |
24 | ~AliRsnVManager(); | |
25 | ||
26 | virtual void Add(TObject *pair); | |
27 | TObjArray* GetArray() {return &fArray;} | |
28 | Int_t GetEntries() {return fArray.GetEntries();} | |
29 | Int_t GetEntriesFast() {return fArray.GetEntriesFast();} | |
30 | virtual void PrintArray() const; | |
31 | virtual void Print(Option_t *opt = "") const; | |
32 | ||
33 | protected: | |
34 | ||
35 | TObjArray fArray; // the managed array | |
36 | ||
37 | ClassDef(AliRsnVManager, 1) | |
38 | }; | |
39 | ||
40 | #endif |