]>
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 | ||
4 | /* $Id$ */ | |
5 | ||
6 | ||
7 | #ifndef AliFlowAnalysisWithMCEventPlane_H | |
8 | #define AliFlowAnalysisWithMCEventPlane_H | |
9 | ||
10 | #include "TVector2.h" //called explicitly | |
11 | #include "AliFlowVector.h" | |
12 | #include "TString.h" | |
13 | ||
14 | class AliFlowTrackSimple; | |
15 | class AliFlowEventSimple; | |
16 | class AliFlowCommonHist; | |
17 | class AliFlowCommonHistResults; | |
18 | ||
19 | class TH1F; | |
20 | class TH1D; | |
21 | class TProfile; | |
22 | class TProfile2D; | |
23 | class TObjArray; | |
24 | class TFile; | |
25 | class TComplex; | |
26 | class Riostream; | |
27 | ||
28 | ||
29 | // Description: Maker to analyze Flow from the generated MC reaction plane. | |
30 | // This class is used to get the real value of the flow | |
31 | // to compare the other methods to when analysing simulated events. | |
32 | ||
33 | ||
34 | class AliFlowAnalysisWithMCEventPlane { | |
35 | ||
36 | public: | |
37 | ||
38 | AliFlowAnalysisWithMCEventPlane(); //default constructor | |
39 | ||
40 | virtual ~AliFlowAnalysisWithMCEventPlane(); //destructor | |
41 | ||
42 | void Init(); //defines variables and histograms | |
8232a5ec | 43 | void Make(AliFlowEventSimple* anEvent, Double_t fRP); //calculates variables and fills histograms |
f1d945a1 | 44 | void Finish(); //saves histograms |
45 | ||
46 | void SetDebug(Bool_t kt) { this->fDebug = kt ; } | |
47 | Bool_t GetDebug() const { return this->fDebug ; } | |
48 | ||
49 | ||
50 | // Output | |
51 | void SetHistFileName(TString name) { this->fHistFileName = name ; } // Sets output file name | |
52 | TString GetHistFileName() const { return this->fHistFileName ; } // Gets output file name | |
53 | TFile* GetHistFile() const { return this->fHistFile ; } // Gets output file | |
54 | ||
55 | ||
56 | private: | |
af795c87 | 57 | |
58 | AliFlowAnalysisWithMCEventPlane(const AliFlowAnalysisWithMCEventPlane& aAnalysis); | |
59 | AliFlowAnalysisWithMCEventPlane& operator=(const AliFlowAnalysisWithMCEventPlane& aAnalysis); | |
60 | ||
f1d945a1 | 61 | |
62 | #ifndef __CINT__ | |
0092f3c2 | 63 | // AliFlowVector fQ; // flow vector |
64 | // TVector2 fQsum; // flow vector sum | |
65 | AliFlowVector* fQ; // flow vector | |
66 | TVector2* fQsum; // flow vector sum | |
f1d945a1 | 67 | Double_t fQ2sum; // flow vector sum squared |
68 | #endif /*__CINT__*/ | |
69 | ||
70 | Int_t fEventNumber; // event counter | |
71 | Int_t fMult; // multiplicity | |
72 | Int_t fNbins; // number of bins | |
73 | ||
f1d945a1 | 74 | AliFlowTrackSimple* fTrack ; //! |
75 | ||
76 | Bool_t fDebug ; //! flag for lyz analysis: more print statements | |
77 | ||
78 | TString fHistFileName; //! | |
79 | TFile* fHistFile; //! | |
80 | ||
81 | AliFlowCommonHist* fCommonHists; //! | |
82 | AliFlowCommonHistResults* fCommonHistsRes; //! | |
83 | ||
84 | TProfile* fHistProFlow; //! | |
85 | TH1F* fHistRP; //! | |
86 | ||
87 | ClassDef(AliFlowAnalysisWithMCEventPlane,0) // macro for rootcint | |
88 | }; | |
89 | ||
90 | ||
91 | #endif | |
af795c87 | 92 | |
93 |