2 // Class AliRsnVManager
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.
10 // author : M. Vala [martin.vala@cern.ch]
11 // revised by : A. Pulvirenti [alberto.pulvirenti@ct.infn.it]
14 #ifndef ALIRSNVMANAGER_H
15 #define ALIRSNVMANAGER_H
19 class AliRsnVManager : public TNamed
23 AliRsnVManager(const char*name = "default");
26 virtual void Add(TObject *const 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;
35 TObjArray fArray; // the managed array
37 ClassDef(AliRsnVManager, 1)