]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/FLOW/Tasks/AliAnalysisTaskFlowEventforRP.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWG / FLOW / Tasks / AliAnalysisTaskFlowEventforRP.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3 /* $Id: $ */
4
5 /////////////////////////////////////////////////////
6 // AliAnalysisTaskFlowEventfoRP:
7 // analysis task to fill the flow event 
8 // and calculate the ReactionPlane for the AODheader
9 //////////////////////////////////////////////////////
10
11 #ifndef AliAnalysisTaskFlowEventforRP_H
12 #define AliAnalysisTaskFlowEventforRP_H
13
14 class AliCFManager;
15
16 #include "TString.h"
17 #include "AliAnalysisTaskSE.h"
18
19 class AliAnalysisTaskFlowEventforRP : public AliAnalysisTaskSE {
20  public:
21   AliAnalysisTaskFlowEventforRP();
22   AliAnalysisTaskFlowEventforRP(const char *name);
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   
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; }
42   
43   
44  private:
45
46   AliAnalysisTaskFlowEventforRP(const AliAnalysisTaskFlowEventforRP& aAnalysisTask);
47   AliAnalysisTaskFlowEventforRP& operator=(const AliAnalysisTaskFlowEventforRP& aAnalysisTask); 
48
49   TString       fAnalysisType;            // can be MC, ESD or AOD
50   AliCFManager* fCFManager1;              // correction framework manager
51   AliCFManager* fCFManager2;              // correction framework manager
52   Int_t         fMinMult;                 // Minimum multiplicity from tracks selected using CORRFW
53   Int_t         fMaxMult;                 // Maximum multiplicity from tracks selected using CORRFW 
54   Double_t      fMCReactionPlaneAngle;    // the angle of the reaction plane from the MC truth
55   
56   ClassDef(AliAnalysisTaskFlowEventforRP, 1); // example of analysis
57 };
58
59 #endif
60