2 // Class AliRsnAnalysisManager
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.
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.
12 // The base architecture is still AliRsnVManager, but in this case
13 // all the objects in the list will be AliRsnPairManager's.
15 // author : M. Vala [martin.vala@cern.ch]
16 // revised by : A. Pulvirenti [alberto.pulvirenti@ct.infn.it]
19 #ifndef ALIRSNANALYSISMANAGER_H
20 #define ALIRSNANALYSISMANAGER_H
22 #include <TObjArray.h>
24 #include "AliRsnCutSet.h"
29 class AliRsnAnalysisManager : public TNamed
33 AliRsnAnalysisManager(const char*name = "defaultAnalysisMgr");
34 AliRsnAnalysisManager(const AliRsnAnalysisManager& copy);
35 AliRsnAnalysisManager& operator=(const AliRsnAnalysisManager& copy);
36 virtual ~AliRsnAnalysisManager() { }
38 virtual void Add(AliRsnPair *pair);
39 virtual void PrintArray() const;
40 virtual void Print(Option_t *option = "") const;
42 void InitAllPairs(TList*list);
43 void ProcessAllPairs();
44 void ProcessAllPairsMC();
45 AliRsnCutSet* GetGlobalTrackCuts() {return &fGlobalTrackCuts;}
49 TList *fList; // container for output histograms (external object)
50 TObjArray fPairs; // collection of pair objects for the different outputs
51 AliRsnCutSet fGlobalTrackCuts; // a set of cuts which are applied to all tracks for all analysis
53 ClassDef(AliRsnAnalysisManager, 1)