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