1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 #ifndef AliFlowLYZEventPlane_H
6 #define AliFlowLYZEventPlane_H
12 class AliFlowEventSimple;
16 // AliFlowLYZEventPlane:
17 // Class to calculate the event plane and event weight from the LYZ method
18 // author: N. van der Kolk (kolk@nikhef.nl)
20 class AliFlowLYZEventPlane {
22 AliFlowLYZEventPlane();
23 virtual ~AliFlowLYZEventPlane();
26 void CalculateRPandW(TVector2 fQ);
28 Double_t GetWR() const {return this->fWR; }
29 Double_t GetPsi() const {return this->fPsi; }
32 void SetFirstRunFileName(TString name)
33 { this->fFirstRunFileName = name ; } // Sets input file name
34 TString GetFirstRunFileName() const
35 { return this->fFirstRunFileName ; } // Gets output file name
36 void SetFirstRunFile(TFile* file)
37 { this->fFirstRunFile = file ; } // Sets first run file
39 void SetSecondRunFileName(TString name)
40 { this->fSecondRunFileName = name ; } // Sets input file name
41 TString GetSecondRunFileName() const
42 { return this->fSecondRunFileName ; } // Gets output file name
43 void SetSecondRunFile(TFile* file)
44 { this->fSecondRunFile = file ; } // Sets first run file
50 TVector2 GetQ(AliFlowEventSimple* fEvent);
52 TFile* fFirstRunFile ; //! pointer to file from first run
53 TFile* fSecondRunFile ; //! pointer to file from second run
54 TString fFirstRunFileName; //!
55 TString fSecondRunFileName; //!
58 TVector2 fQ; // flow vector
59 Double_t fWR; // event weight
60 Double_t fPsi; // reaction plane
62 TProfile* fSecondReDtheta; //!
63 TProfile* fSecondImDtheta; //!
64 TProfile* fFirstr0theta; //!
66 ClassDef(AliFlowLYZEventPlane, 0);