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.
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.
12 // author: M. Vala (email: martin.vala@cern.ch)
17 #include "AliRsnPairMgr.h"
19 ClassImp(AliRsnPairMgr)
21 //_____________________________________________________________________________
22 AliRsnPairMgr::AliRsnPairMgr(const char*name) :
27 // Default constructor
31 //_____________________________________________________________________________
32 AliRsnPairMgr::~AliRsnPairMgr()
39 //_____________________________________________________________________________
40 void AliRsnPairMgr::AddPair(AliRsnPair *pair)
46 fPairs.Add((AliRsnPair*)pair);
49 //_____________________________________________________________________________
50 void AliRsnPairMgr::PrintPairs()
57 TObjArrayIter next(&fPairs);
58 while ((pair = (AliRsnPair*)next())) pair->Print();