]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIRSNANALYSISMANAGER_H | |
2 | #define ALIRSNANALYSISMANAGER_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | //////////////////////////////////////////////////////////////////////////////// | |
8 | // | |
9 | // Manager for resonance analysis. | |
10 | // | |
11 | //////////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #include <TObjArray.h> | |
14 | ||
15 | #include "AliRsnCutSet.h" | |
16 | ||
17 | class TList; | |
18 | class AliRsnPair; | |
19 | class AliRsnMonitor; | |
20 | ||
21 | class AliRsnAnalysisManager : public TNamed { | |
22 | public: | |
23 | ||
24 | AliRsnAnalysisManager(const char *name = "RSN"); | |
25 | AliRsnAnalysisManager(const AliRsnAnalysisManager& copy); | |
26 | AliRsnAnalysisManager& operator=(const AliRsnAnalysisManager& copy); | |
27 | virtual ~AliRsnAnalysisManager() { } | |
28 | ||
29 | virtual void Add(AliRsnPair *pair); | |
30 | virtual void Add(AliRsnMonitor *monitor); | |
31 | virtual void PrintArray() const; | |
32 | virtual void Print(Option_t *option = "") const; | |
33 | ||
34 | void InitAllPairs(TList *list); | |
35 | void ProcessAll(Bool_t pureMC = kFALSE); | |
36 | AliRsnCutSet* GetGlobalTrackCuts() {return &fGlobalTrackCuts;} | |
37 | ||
38 | private: | |
39 | ||
40 | Bool_t fAddUsageHist; // flag to switch on the production of usage histograms | |
41 | TList *fList; //! container for output histograms (external object) | |
42 | TObjArray fPairs; // collection of pair objects for the different outputs | |
43 | TObjArray fMonitors; // collection of monitor objects for the different outputs | |
44 | AliRsnCutSet fGlobalTrackCuts; // a set of cuts which are applied to all tracks for all analysis | |
45 | ||
46 | ClassDef(AliRsnAnalysisManager, 1) | |
47 | }; | |
48 | ||
49 | #endif |