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