]>
Commit | Line | Data |
---|---|---|
5eb970a4 | 1 | // |
2 | // Class AliRsnPairManager | |
3 | // | |
4 | // A collection of pairs for an analysis. | |
5 | // The function of this collection is just for purposes of well-sorting | |
6 | // the analyzed pairs into upper-level groups, in the case of a wide | |
7 | // analysis containing many resonances at once, or different settings for the same one. | |
8 | // | |
9 | // Each PairManager will result in a separate list of histograms, which | |
10 | // can be seen as a folder in the output file, named after this object. | |
11 | // | |
12 | // This object inherits from AliRsnVManager, and "forces" the type of the | |
13 | // stored objects to be of the "AliRsnPair" class. | |
14 | // No further data members are added. | |
15 | // | |
16 | // author: M. Vala (email: martin.vala@cern.ch) | |
17 | // | |
18 | ||
19 | #ifndef AliRsnPairManager_H | |
20 | #define AliRsnPairManager_H | |
21 | ||
22 | #include <TList.h> | |
23 | ||
24 | #include "AliRsnVManager.h" | |
25 | #include "AliRsnPair.h" | |
26 | ||
27 | class AliRsnPairManager : public AliRsnVManager | |
28 | { | |
29 | public: | |
30 | ||
31 | AliRsnPairManager(const char *name = "defaultPairMgr"); | |
32 | ||
e79f56bd | 33 | //virtual void Add(AliRsnPair *pair); |
34 | virtual void Add(TObject *pair); | |
5eb970a4 | 35 | virtual void AddPair(AliRsnPair *pair) {Add(pair);} |
36 | virtual void PrintArray() const; | |
37 | virtual void Print(Option_t *option = "") const; | |
38 | ||
39 | TList* InitAllPairs(); | |
40 | void ProcessAllPairs(AliRsnPIDIndex *pidIndexes1, AliRsnEvent *ev1, AliRsnPIDIndex *pidIndexes2 = 0, AliRsnEvent *ev2 = 0); | |
41 | ||
42 | private: | |
43 | ||
44 | ClassDef(AliRsnPairManager, 1) | |
45 | }; | |
46 | ||
47 | #endif |