Corrected sintax of the commands in ProcessLine (Yves)
[u/mrichter/AliRoot.git] / ANALYSIS / AliFlowAnalysis.h
1 #ifndef ALIFLOWANALYSIS_H
2 #define ALIFLOWANALYSIS_H
3
4 //*********************************************************
5 // class AliFlowAnalysis
6 // Flow Analysis
7 // S.Radomski@gsi.de
8 // Piotr.Skowronski@cern.ch
9 //*********************************************************
10
11 #include "AliAnalysis.h"
12
13 class AliESD;
14 class AliAOD;
15 class AliStack;
16 class AliAODParticleCut;
17     
18 class AliFlowAnalysis: public AliAnalysis
19
20   public: 
21      AliFlowAnalysis();
22      virtual ~AliFlowAnalysis();
23
24     Int_t Init();
25     Int_t ProcessEvent(AliAOD* aodrec, AliAOD* aodsim = 0x0);
26     Int_t Finish();
27    
28     void SetParticleCut(AliAODParticleCut* pcut){fPartCut = pcut;}
29     static Double_t GetEventPlane(AliESD* esd);
30     static void     GetFlow(AliESD* esd,Double_t& v2,Double_t& psi);
31
32     Double_t        GetEventPlane(AliAOD* aod);
33     void            GetFlow(AliAOD* aod,Double_t& v2,Double_t& psi);
34   protected:
35     
36   private:
37     AliAODParticleCut* fPartCut;//Particle Cut
38     ClassDef(AliFlowAnalysis,1)
39 };
40
41 #endif