]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/RESONANCES/AliRsnAnalysisManager.h
Major upgrade to the package, in order to speed-up the execution and remove some...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnAnalysisManager.h
CommitLineData
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 22class TROOT;
2dab9030 23
4fbb2459 24class AliRsnEvent;
2dab9030 25class AliRsnPair;
26
27class AliRsnAnalysisManager : public TNamed
5eb970a4 28{
29 public:
30
31 AliRsnAnalysisManager(const char*name = "defaultAnalysisMgr");
4fbb2459 32 virtual ~AliRsnAnalysisManager() {;};
5eb970a4 33
2dab9030 34 virtual void Add(AliRsnPair *pair);
5eb970a4 35 virtual void PrintArray() const;
36 virtual void Print(Option_t *option = "") const;
37
2dab9030 38 void InitAllPairs(TList*list);
39 void ProcessAllPairs(AliRsnEvent *ev0, AliRsnEvent *ev1);
5eb970a4 40
41 private:
2dab9030 42
43 TObjArray fPairs;
5eb970a4 44
45 ClassDef(AliRsnAnalysisManager, 1)
46};
47
48#endif