]>
Commit | Line | Data |
---|---|---|
f1d945a1 | 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 AliFlowAnalysisWithLYZEventPlane_H | |
6 | #define AliFlowAnalysisWithLYZEventPlane_H | |
7 | ||
8 | class AliFlowVector; | |
9 | class AliFlowTrackSimple; | |
10 | class AliFlowEventSimple; | |
11 | class AliFlowCommonHist; | |
12 | class AliFlowCommonHistResults; | |
13 | class AliFlowLYZEventPlane; | |
14 | ||
15 | class TString; | |
16 | class TFile; | |
17 | class TProfile; | |
18 | class TH1F; | |
19 | class TH1D; | |
20 | ||
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) | |
24 | ||
25 | ||
26 | class AliFlowAnalysisWithLYZEventPlane { | |
27 | public: | |
28 | AliFlowAnalysisWithLYZEventPlane(); | |
29 | virtual ~AliFlowAnalysisWithLYZEventPlane(); | |
30 | ||
31 | virtual void Init(); | |
32 | virtual void Make(AliFlowEventSimple* fEvent, AliFlowLYZEventPlane* fLYZEP); | |
8232a5ec | 33 | // virtual void Make(AliFlowEventSimple* anEvent); |
f1d945a1 | 34 | virtual void Finish(); |
35 | ||
36 | // input files | |
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 | |
43 | ||
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 | |
50 | ||
51 | // Output | |
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 ; } | |
57 | // Gets output file | |
58 | ||
59 | ||
60 | private: | |
61 | ||
8232a5ec | 62 | // AliFlowAnalysisWithLYZEventPlane(const AliFlowAnalysisWithLYZEventPlane& lyz); // AliFlowAnalysisWithLYZEventPlane object cannot be copied |
63 | // void operator=(const AliFlowAnalysisWithLYZEventPlane &lyz); | |
f1d945a1 | 64 | |
65 | TFile* fOutFile; //! | |
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; //! | |
71 | ||
72 | //histograms | |
73 | //input | |
74 | TProfile* fSecondReDtheta; //! | |
75 | TProfile* fSecondImDtheta; //! | |
76 | TProfile* fFirstr0theta; //! | |
77 | TProfile* fSecondVPt; //! | |
78 | //output | |
79 | TProfile* fHistProFlow; //! | |
80 | TProfile* fHistProFlow2; //! | |
81 | TProfile* fHistProWr; //! | |
82 | TProfile* fHistProWrCorr; //! | |
83 | TH1D* fHistFlow; //! | |
84 | TH1F* fHistDeltaPhi; //! | |
85 | TH1F* fHistDeltaPhi2; //! | |
86 | TH1F* fHistDeltaPhihere; //! | |
87 | TH1F* fHistPhiEP; //! | |
88 | TH1F* fHistPhiEPhere; //! | |
89 | TH1F* fHistPhiLYZ; //! | |
90 | TH1F* fHistPhiLYZ2; //! | |
91 | TProfile* fHistProR0theta; //! | |
92 | TProfile* fHistProReDtheta; //! | |
93 | TProfile* fHistProImDtheta; //! | |
94 | ||
95 | AliFlowCommonHist* fCommonHists; //! | |
96 | AliFlowCommonHistResults* fCommonHistsRes; //! | |
97 | ||
98 | Int_t fEventNumber; // event counter | |
8232a5ec | 99 | // Double_t fQX; // local flow vector |
100 | // Double_t fQY; // local flow vector | |
f1d945a1 | 101 | AliFlowVector fQ; // flow vector |
102 | TVector2 fQsum; // flow vector sum | |
103 | Double_t fQ2sum; // flow vector sum squared | |
104 | Double_t fQtheta; // flow vector projected on ref. angle theta | |
105 | ||
8232a5ec | 106 | // AliFlowEventSimple* fEvent ; //! |
f1d945a1 | 107 | AliFlowTrackSimple* fTrack ; //! |
108 | AliFlowLYZEventPlane* fLYZEP ; //! | |
109 | ||
110 | ClassDef(AliFlowAnalysisWithLYZEventPlane, 0); // lyz analysis | |
111 | }; | |
112 | ||
113 | #endif |