]>
Commit | Line | Data |
---|---|---|
4fbb2459 | 1 | #ifndef ALIRSNANALYSISMANAGER_H |
2 | #define ALIRSNANALYSISMANAGER_H | |
5eb970a4 | 3 | |
7356f978 | 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 | ||
32992791 | 13 | #include <TObjArray.h> |
14 | ||
15 | #include "AliRsnCutSet.h" | |
2dab9030 | 16 | |
7356f978 | 17 | class TList; |
2dab9030 | 18 | class AliRsnPair; |
11ed73f6 | 19 | class AliRsnMonitor; |
2dab9030 | 20 | |
2a1c7696 | 21 | class AliRsnAnalysisManager : public TNamed { |
22 | public: | |
23 | ||
7356f978 | 24 | AliRsnAnalysisManager(const char *name = "RSN"); |
2a1c7696 | 25 | AliRsnAnalysisManager(const AliRsnAnalysisManager& copy); |
26 | AliRsnAnalysisManager& operator=(const AliRsnAnalysisManager& copy); | |
27 | virtual ~AliRsnAnalysisManager() { } | |
28 | ||
29 | virtual void Add(AliRsnPair *pair); | |
11ed73f6 | 30 | virtual void Add(AliRsnMonitor *monitor); |
2a1c7696 | 31 | virtual void PrintArray() const; |
32 | virtual void Print(Option_t *option = "") const; | |
33 | ||
7356f978 | 34 | void InitAllPairs(TList *list); |
35 | void ProcessAll(Bool_t pureMC = kFALSE); | |
2a1c7696 | 36 | AliRsnCutSet* GetGlobalTrackCuts() {return &fGlobalTrackCuts;} |
37 | ||
38 | private: | |
39 | ||
7356f978 | 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 | |
2a1c7696 | 45 | |
46 | ClassDef(AliRsnAnalysisManager, 1) | |
5eb970a4 | 47 | }; |
48 | ||
49 | #endif |