1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 #ifndef AliFlowAnalysisWithLYZEventPlane_H
6 #define AliFlowAnalysisWithLYZEventPlane_H
9 class AliFlowTrackSimple;
10 class AliFlowEventSimple;
11 class AliFlowCommonHist;
12 class AliFlowCommonHistResults;
13 class AliFlowLYZEventPlane;
21 // AliFlowAnalysisWithLYZEventPlane:
22 // Class to do flow analysis with the event plane from the LYZ method
23 // author: N. van der Kolk (kolk@nikhef.nl)
26 class AliFlowAnalysisWithLYZEventPlane {
28 AliFlowAnalysisWithLYZEventPlane();
29 virtual ~AliFlowAnalysisWithLYZEventPlane();
32 virtual void Make(AliFlowEventSimple* fEvent, AliFlowLYZEventPlane* fLYZEP);
33 // virtual void Make(AliFlowEventSimple* anEvent);
34 virtual void Finish();
37 void SetFirstRunFileName(TString name)
38 { this->fFirstRunFileName = name ; } // Sets input file name
39 TString GetFirstRunFileName() const
40 { return this->fFirstRunFileName ; } // Gets output file name
41 void SetFirstRunFile(TFile* file)
42 { this->fFirstRunFile = file ; } // Sets first run file
44 void SetSecondRunFileName(TString name)
45 { this->fSecondRunFileName = name ; } // Sets input file name
46 TString GetSecondRunFileName() const
47 { return this->fSecondRunFileName ; } // Gets output file name
48 void SetSecondRunFile(TFile* file)
49 { this->fSecondRunFile = file ; } // Sets first run file
52 void SetOutFileName(TString name) { this->fOutFileName = name ; }
53 // Sets output file name
54 TString GetOutFileName() const { return this->fOutFileName ; }
55 // Gets output file name
56 TFile* GetOutFile() const { return this->fOutFile ; }
62 AliFlowAnalysisWithLYZEventPlane(const AliFlowAnalysisWithLYZEventPlane& aAnalysis);
63 AliFlowAnalysisWithLYZEventPlane& operator=(const AliFlowAnalysisWithLYZEventPlane& aAnalysis);
66 TFile* fFirstRunFile ; //! pointer to file from first run
67 TFile* fSecondRunFile ; //! pointer to file from second run
68 TString fFirstRunFileName; //!
69 TString fSecondRunFileName; //!
70 TString fOutFileName; //!
74 TProfile* fSecondReDtheta; //!
75 TProfile* fSecondImDtheta; //!
76 TProfile* fFirstr0theta; //!
77 TProfile* fSecondVPt; //!
79 TProfile* fHistProFlow; //!
80 TProfile* fHistProFlow2; //!
81 TProfile* fHistProWr; //!
82 TProfile* fHistProWrCorr; //!
84 TH1F* fHistDeltaPhi; //!
85 TH1F* fHistDeltaPhi2; //!
86 TH1F* fHistDeltaPhihere; //!
88 TH1F* fHistPhiEPhere; //!
89 TH1F* fHistPhiLYZ; //!
90 TH1F* fHistPhiLYZ2; //!
91 TProfile* fHistProR0theta; //!
92 TProfile* fHistProReDtheta; //!
93 TProfile* fHistProImDtheta; //!
95 AliFlowCommonHist* fCommonHists; //!
96 AliFlowCommonHistResults* fCommonHistsRes; //!
98 Int_t fEventNumber; // event counter
100 // AliFlowVector fQ; // flow vector
101 // TVector2 fQsum; // flow vector sum
102 AliFlowVector *fQ; // flow vector
103 TVector2 *fQsum; // flow vector sum
104 Double_t fQ2sum; // flow vector sum squared
105 Double_t fQtheta; // flow vector projected on ref. angle theta
107 // AliFlowEventSimple* fEvent ; //!
108 AliFlowTrackSimple* fTrack ; //!
109 AliFlowLYZEventPlane* fLYZEP ; //!
111 ClassDef(AliFlowAnalysisWithLYZEventPlane, 0); // lyz analysis