1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 #ifndef AliFlowAnalysisWithMCEventPlane_H
8 #define AliFlowAnalysisWithMCEventPlane_H
10 #include "TVector2.h" //called explicitly
11 #include "AliFlowVector.h"
14 class AliFlowTrackSimple;
15 class AliFlowEventSimple;
16 class AliFlowCommonHist;
17 class AliFlowCommonHistResults;
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.
35 class AliFlowAnalysisWithMCEventPlane {
39 AliFlowAnalysisWithMCEventPlane(); //default constructor
40 virtual ~AliFlowAnalysisWithMCEventPlane(); //destructor
42 void Init(); //defines variables and histograms
43 void Make(AliFlowEventSimple* anEvent, Double_t aRP); //calculates variables and fills histograms
44 void Finish(); //saves histograms
46 void SetDebug(Bool_t kt) { this->fDebug = kt ; }
47 Bool_t GetDebug() const { return this->fDebug ; }
51 TList* GetHistList() const { return this->fHistList ; }
56 AliFlowAnalysisWithMCEventPlane(const AliFlowAnalysisWithMCEventPlane& aAnalysis); //copy constructor
57 AliFlowAnalysisWithMCEventPlane& operator=(const AliFlowAnalysisWithMCEventPlane& aAnalysis); //assignment operator
61 TVector2* fQsum; // flow vector sum
62 Double_t fQ2sum; // flow vector sum squared
65 Int_t fEventNumber; // event counter
66 Bool_t fDebug ; //! flag for lyz analysis: more print statements
68 TList* fHistList; //list to hold all output histograms
70 AliFlowCommonHist* fCommonHists; //
71 AliFlowCommonHistResults* fCommonHistsRes; //
73 TProfile* fHistProFlow; //
76 ClassDef(AliFlowAnalysisWithMCEventPlane,0) // macro for rootcint