]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/FLOW/Base/AliFlowLYZEventPlane.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWG / FLOW / Base / AliFlowLYZEventPlane.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 #ifndef AliFlowLYZEventPlane_H
6 #define AliFlowLYZEventPlane_H
7
8 // AliFlowLYZEventPlane:
9 // Class to calculate the event plane and event weight from the LYZ method
10 // author: N. van der Kolk (kolk@nikhef.nl)
11
12 #include "TString.h"
13 #include "AliFlowVector.h"
14
15 class AliFlowEventSimple;
16 class TProfile;
17 class TFile;
18 class TList;
19
20 class AliFlowLYZEventPlane {
21  public:
22   AliFlowLYZEventPlane();
23   virtual ~AliFlowLYZEventPlane();
24
25   void Init();
26   void CalculateRPandW(AliFlowVector aQ);
27
28   Double_t GetWR() const  {return this->fWR; }
29   Double_t GetPsi() const {return this->fPsi; }
30   
31   //input
32   void       SetSecondRunList(TList* list) { this->fSecondRunList = list; }
33   TList*     GetSecondRunList()            { return this->fSecondRunList; }
34   
35  private:
36   
37   AliFlowLYZEventPlane(const AliFlowLYZEventPlane& aAnalysis);             // copy constructor
38   AliFlowLYZEventPlane& operator=(const AliFlowLYZEventPlane& aAnalysis);  // assignment operator
39   
40   TList*   fSecondRunList;   // list from Second LYZ run output
41   Double_t fWR;              // event weight
42   Double_t fPsi;             // reaction plane
43
44   TProfile* fSecondReDtheta; // holds Re of Dtheta
45   TProfile* fSecondImDtheta; // holds Im of Dtheta
46   TProfile* fFirstr0theta;   // holds r0(theta)
47
48   ClassDef(AliFlowLYZEventPlane, 0);          
49 };
50
51 #endif
52