]>
Commit | Line | Data |
---|---|---|
aec0ec32 | 1 | // |
e0baff8c | 2 | // Class AliRsnPairMgr |
aec0ec32 | 3 | // |
e0baff8c | 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. | |
aec0ec32 | 8 | // |
e0baff8c | 9 | // Each PairMgr will result in a separate list of histograms, which |
10 | // can be seen as a folder in the output file, whose name is given by this object. | |
11 | // | |
12 | // author: M. Vala (email: martin.vala@cern.ch) | |
aec0ec32 | 13 | // |
14 | ||
e0baff8c | 15 | #ifndef ALIRSNPAIRMGR_H |
16 | #define ALIRSNPAIRMGR_H | |
aec0ec32 | 17 | |
18 | #include "AliRsnPair.h" | |
19 | ||
20 | class AliRsnPairMgr : public TNamed | |
21 | { | |
22 | public: | |
aec0ec32 | 23 | |
e0baff8c | 24 | AliRsnPairMgr(const char*name = "default"); |
aec0ec32 | 25 | ~AliRsnPairMgr(); |
26 | ||
e0baff8c | 27 | void AddPair(AliRsnPair *pair); |
28 | TObjArray *GetPairs() { return &fPairs; } | |
29 | void PrintPairs(); | |
aec0ec32 | 30 | |
31 | private: | |
32 | ||
e0baff8c | 33 | TObjArray fPairs; // array of pairs |
34 | ||
35 | ClassDef(AliRsnPairMgr, 1) | |
aec0ec32 | 36 | }; |
37 | ||
38 | #endif |