]>
Commit | Line | Data |
---|---|---|
f6f8c3fc | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | /* $Id: $ */ | |
4 | ||
0692a009 | 5 | ///////////////////////////////////////////////////// |
6 | // AliAnalysisTaskFlowEventfoRP: | |
7 | // analysis task to fill the flow event | |
8 | // and calculate the ReactionPlane for the AODheader | |
9 | ////////////////////////////////////////////////////// | |
10 | ||
0692a009 | 11 | #ifndef AliAnalysisTaskFlowEventforRP_H |
12 | #define AliAnalysisTaskFlowEventforRP_H | |
13 | ||
0692a009 | 14 | class AliCFManager; |
0692a009 | 15 | |
16 | #include "TString.h" | |
17 | #include "AliAnalysisTaskSE.h" | |
18 | ||
19 | class AliAnalysisTaskFlowEventforRP : public AliAnalysisTaskSE { | |
20 | public: | |
21 | AliAnalysisTaskFlowEventforRP(); | |
713d0676 | 22 | AliAnalysisTaskFlowEventforRP(const char *name); |
0692a009 | 23 | virtual ~AliAnalysisTaskFlowEventforRP(); |
24 | ||
25 | //virtual void ConnectInputData(Option_t *); | |
26 | virtual void UserCreateOutputObjects(); | |
27 | virtual void UserExec(Option_t *option); | |
28 | virtual void Terminate(Option_t *); | |
29 | ||
30 | void SetAnalysisType(TString type) { this->fAnalysisType = type; } | |
31 | TString GetAnalysisType() const { return this->fAnalysisType; } | |
32 | ||
33 | void SetMinMult(Int_t multmin) {this->fMinMult = multmin; } | |
34 | Int_t GetMinMult() const {return this->fMinMult; } | |
35 | void SetMaxMult(Int_t multmax) {this->fMaxMult = multmax; } | |
36 | Int_t GetMaxMult() const {return this->fMaxMult; } | |
37 | ||
0692a009 | 38 | void SetCFManager1(AliCFManager* cfmgr) {this->fCFManager1 = cfmgr; } |
39 | AliCFManager* GetCFManager1() {return this->fCFManager1; } | |
40 | void SetCFManager2(AliCFManager* cfmgr) {this->fCFManager2 = cfmgr; } | |
41 | AliCFManager* GetCFManager2() {return this->fCFManager2; } | |
713d0676 | 42 | |
43 | ||
0692a009 | 44 | private: |
45 | ||
46 | AliAnalysisTaskFlowEventforRP(const AliAnalysisTaskFlowEventforRP& aAnalysisTask); | |
47 | AliAnalysisTaskFlowEventforRP& operator=(const AliAnalysisTaskFlowEventforRP& aAnalysisTask); | |
48 | ||
0692a009 | 49 | TString fAnalysisType; // can be MC, ESD or AOD |
50 | AliCFManager* fCFManager1; // correction framework manager | |
51 | AliCFManager* fCFManager2; // correction framework manager | |
0692a009 | 52 | Int_t fMinMult; // Minimum multiplicity from tracks selected using CORRFW |
53 | Int_t fMaxMult; // Maximum multiplicity from tracks selected using CORRFW | |
f6f8c3fc | 54 | Double_t fMCReactionPlaneAngle; // the angle of the reaction plane from the MC truth |
0692a009 | 55 | |
56 | ClassDef(AliAnalysisTaskFlowEventforRP, 1); // example of analysis | |
57 | }; | |
58 | ||
59 | #endif | |
60 |