]>
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; | |
28ca24ad | 25 | class TList; |
f1d945a1 | 26 | class TComplex; |
27 | class Riostream; | |
28 | ||
29 | ||
30 | // Description: Maker to analyze Flow from the generated MC reaction plane. | |
31 | // This class is used to get the real value of the flow | |
32 | // to compare the other methods to when analysing simulated events. | |
33 | ||
34 | ||
35 | class AliFlowAnalysisWithMCEventPlane { | |
36 | ||
37 | public: | |
38 | ||
28ca24ad | 39 | AliFlowAnalysisWithMCEventPlane(); //default constructor |
f1d945a1 | 40 | virtual ~AliFlowAnalysisWithMCEventPlane(); //destructor |
41 | ||
42 | void Init(); //defines variables and histograms | |
00731146 | 43 | void Make(AliFlowEventSimple* anEvent, Double_t aRP); //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 | |
28ca24ad | 51 | TList* GetHistList() const { return this->fHistList ; } |
f1d945a1 | 52 | |
53 | ||
54 | private: | |
af795c87 | 55 | |
00731146 | 56 | AliFlowAnalysisWithMCEventPlane(const AliFlowAnalysisWithMCEventPlane& aAnalysis); //copy constructor |
57 | AliFlowAnalysisWithMCEventPlane& operator=(const AliFlowAnalysisWithMCEventPlane& aAnalysis); //assignment operator | |
af795c87 | 58 | |
f1d945a1 | 59 | |
60 | #ifndef __CINT__ | |
00731146 | 61 | TVector2* fQsum; // flow vector sum |
62 | Double_t fQ2sum; // flow vector sum squared | |
f1d945a1 | 63 | #endif /*__CINT__*/ |
64 | ||
00731146 | 65 | Int_t fEventNumber; // event counter |
f1d945a1 | 66 | Bool_t fDebug ; //! flag for lyz analysis: more print statements |
67 | ||
28ca24ad | 68 | TList* fHistList; //list to hold all output histograms |
f1d945a1 | 69 | |
00731146 | 70 | AliFlowCommonHist* fCommonHists; // |
71 | AliFlowCommonHistResults* fCommonHistsRes; // | |
f1d945a1 | 72 | |
00731146 | 73 | TProfile* fHistProFlow; // |
74 | TH1F* fHistRP; // | |
f1d945a1 | 75 | |
76 | ClassDef(AliFlowAnalysisWithMCEventPlane,0) // macro for rootcint | |
77 | }; | |
78 | ||
79 | ||
80 | #endif | |
af795c87 | 81 | |
82 |