]>
Commit | Line | Data |
---|---|---|
5eb970a4 | 1 | // |
2 | // Class AliRsnAnalysisManager | |
3 | // | |
4 | // This is the uppermost level of analysis objects collection. | |
5 | // It contains a list of pair managers, which all will process | |
6 | // a pool of events passed to this object, and fill their histograms. | |
7 | // | |
8 | // The utility of this object is to define a unique implementation | |
9 | // of the whole processing, which can then be included in the different | |
10 | // designs of AnalysisTask provided for SE and ME analysis. | |
11 | // | |
12 | // The base architecture is still AliRsnVManager, but in this case | |
13 | // all the objects in the list will be AliRsnPairManager's. | |
14 | // | |
15 | // author : M. Vala [martin.vala@cern.ch] | |
16 | // revised by : A. Pulvirenti [alberto.pulvirenti@ct.infn.it] | |
17 | // | |
18 | ||
4fbb2459 | 19 | #ifndef ALIRSNANALYSISMANAGER_H |
20 | #define ALIRSNANALYSISMANAGER_H | |
5eb970a4 | 21 | |
4fbb2459 | 22 | // #include <TROOT.h> |
5eb970a4 | 23 | |
24 | #include "AliRsnVManager.h" | |
4fbb2459 | 25 | // #include "AliRsnPairManager.h" |
26 | class TROOT; | |
27 | class AliRsnPIDIndex; | |
28 | class AliRsnEvent; | |
29 | class AliRsnPairManager; | |
5eb970a4 | 30 | class AliRsnAnalysisManager : public AliRsnVManager |
31 | { | |
32 | public: | |
33 | ||
34 | AliRsnAnalysisManager(const char*name = "defaultAnalysisMgr"); | |
4fbb2459 | 35 | virtual ~AliRsnAnalysisManager() {;}; |
5eb970a4 | 36 | |
e79f56bd | 37 | //virtual void Add(AliRsnPairManager *pair); |
38 | virtual void Add(TObject *pair); | |
5eb970a4 | 39 | virtual void AddConfig(TString config, TString prefix, TString functionName = ""); |
40 | virtual void PrintArray() const; | |
41 | virtual void Print(Option_t *option = "") const; | |
42 | ||
4fbb2459 | 43 | void InitAllPairMgrs(TList*list); |
5eb970a4 | 44 | void ProcessAllPairMgrs(AliRsnPIDIndex *pidIndexes1, AliRsnEvent *ev1, AliRsnPIDIndex *pidIndexes2 = 0, AliRsnEvent *ev2 = 0); |
45 | ||
46 | private: | |
47 | ||
48 | ClassDef(AliRsnAnalysisManager, 1) | |
49 | }; | |
50 | ||
51 | #endif |