]>
Commit | Line | Data |
---|---|---|
f1d945a1 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | /* $Id$ */ | |
4 | ||
5 | #ifndef AliAnalysisTaskMCEventPlane_H | |
6 | #define AliAnalysisTaskMCEventPlane_H | |
7 | ||
8 | // AliAnalysisTaskMCEventPlane: | |
af795c87 | 9 | // analysis task for |
10 | // Monte Carlo Event Plane | |
11 | // Author: | |
12 | // Naomi van der Kolk (kolk@nikhef.nl) | |
f1d945a1 | 13 | |
14 | class AliESDEvent; | |
15 | class AliAODEvent; | |
28ca24ad | 16 | class AliCFManager; |
f1d945a1 | 17 | class AliFlowAnalysisWithMCEventPlane; |
18 | class AliFlowEventSimpleMaker; | |
28ca24ad | 19 | class TList; |
f1d945a1 | 20 | |
21 | #include "TString.h" | |
22 | #include "AliAnalysisTask.h" | |
23 | ||
24 | class AliAnalysisTaskMCEventPlane : public AliAnalysisTask { | |
25 | public: | |
28ca24ad | 26 | |
27 | AliAnalysisTaskMCEventPlane(); | |
28 | AliAnalysisTaskMCEventPlane(const char *name); | |
29 | virtual ~AliAnalysisTaskMCEventPlane(); | |
f1d945a1 | 30 | |
31 | virtual void ConnectInputData(Option_t *); | |
32 | virtual void CreateOutputObjects(); | |
33 | virtual void Exec(Option_t *option); | |
34 | virtual void Terminate(Option_t *); | |
35 | ||
36 | void SetAnalysisType(TString type) { this->fAnalysisType = type; } | |
37 | TString GetAnalysisType() const { return this->fAnalysisType; } | |
38 | ||
28ca24ad | 39 | void SetCFManager1(AliCFManager* cfmgr) {this->fCFManager1 = cfmgr; } |
40 | AliCFManager* GetCFManager1() {return this->fCFManager1; } | |
41 | void SetCFManager2(AliCFManager* cfmgr) {this->fCFManager2 = cfmgr; } | |
42 | AliCFManager* GetCFManager2() {return this->fCFManager2; } | |
43 | ||
f1d945a1 | 44 | private: |
af795c87 | 45 | |
46 | AliAnalysisTaskMCEventPlane(const AliAnalysisTaskMCEventPlane& aAnalysis); | |
47 | AliAnalysisTaskMCEventPlane& operator=(const AliAnalysisTaskMCEventPlane& aAnalysis); | |
48 | ||
f1d945a1 | 49 | AliESDEvent *fESD; // ESD object |
50 | AliAODEvent *fAOD; // AOD object | |
28ca24ad | 51 | TString fAnalysisType; // can be MC, ESD or AOD |
52 | AliCFManager* fCFManager1; // correction framework manager | |
53 | AliCFManager* fCFManager2; // correction framework manager | |
f1d945a1 | 54 | AliFlowAnalysisWithMCEventPlane* fMc; // MC EP analysis object |
55 | AliFlowEventSimpleMaker* fEventMaker; // FlowEventSimple maker object | |
28ca24ad | 56 | |
57 | TList* fListHistos; // collection of output | |
f1d945a1 | 58 | |
59 | ClassDef(AliAnalysisTaskMCEventPlane, 1); // example of analysis | |
60 | }; | |
61 | ||
62 | #endif | |
af795c87 | 63 |