]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Base/AliFlowAnalysisWithLYZEventPlane.h
from Carlos Perez Lara:
[u/mrichter/AliRoot.git] / PWG / FLOW / Base / AliFlowAnalysisWithLYZEventPlane.h
CommitLineData
f1d945a1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
b2be3d78 3
4// AliFlowAnalysisWithLYZEventPlane:
5// Class to do flow analysis with the event plane
6// from the LYZ method
7// author: N. van der Kolk (kolk@nikhef.nl)
8
f1d945a1 9/* $Id$ */
10
11d3944d 11#ifndef ALIFLOWANALYSISWITHLYZEVENTPLANE_H
12#define ALIFLOWANALYSISWITHLYZEVENTPLANE_H
f1d945a1 13
f1d945a1 14class AliFlowEventSimple;
15class AliFlowCommonHist;
16class AliFlowCommonHistResults;
17class AliFlowLYZEventPlane;
18
19class TString;
f1d945a1 20class TProfile;
21class TH1F;
28ca24ad 22class TList;
f1d945a1 23
24class AliFlowAnalysisWithLYZEventPlane {
28ca24ad 25
f1d945a1 26 public:
28ca24ad 27
28 AliFlowAnalysisWithLYZEventPlane(); //default constructor
29 virtual ~AliFlowAnalysisWithLYZEventPlane(); //destructor
f1d945a1 30
31 virtual void Init();
32 virtual void Make(AliFlowEventSimple* fEvent, AliFlowLYZEventPlane* fLYZEP);
fd46c3dd 33 virtual void GetOutputHistograms(TList *outputListHistos); //get pointers to all output histograms (called before Finish())
f1d945a1 34 virtual void Finish();
1dfa3c16 35 void WriteHistograms(TString* outputFileName);
b0fda271 36 void WriteHistograms(TString outputFileName);
ad87ae62 37 void WriteHistograms(TDirectoryFile *outputFileName);
f1d945a1 38
9d062fe3 39 void SetEventNumber(Int_t n) { this->fEventNumber = n; }
40 Int_t GetEventNumber() const { return this->fEventNumber; }
41 void SetQ2sum(Double_t d) { this->fQ2sum = d; }
11d3944d 42 Double_t GetQ2sum() const { return this->fQ2sum; }
28ca24ad 43
44 //output
b2be3d78 45 TList* GetHistList() const {return this->fHistList; }
9d062fe3 46 AliFlowCommonHist* GetCommonHists() const { return this->fCommonHists; }
b2be3d78 47 void SetCommonHists(AliFlowCommonHist* const aCommonHist)
48 { this->fCommonHists = aCommonHist; }
9d062fe3 49 AliFlowCommonHistResults* GetCommonHistsRes() const
b2be3d78 50 { return this->fCommonHistsRes; }
51 void SetCommonHistsRes(AliFlowCommonHistResults* const aCommonHistResult)
52 { this->fCommonHistsRes = aCommonHistResult; }
9d062fe3 53
54 // !!!!! make getters and setters for all histograms
11d3944d 55 TProfile* GetSecondReDtheta() const {return this->fSecondReDtheta; }
56 void SetSecondReDtheta(TProfile* const aSecondReDtheta)
b2be3d78 57 { this->fSecondReDtheta = aSecondReDtheta; }
11d3944d 58 TProfile* GetSecondImDtheta() const {return this->fSecondImDtheta; }
59 void SetSecondImDtheta(TProfile* const aSecondImDtheta)
b2be3d78 60 { this->fSecondImDtheta = aSecondImDtheta; }
11d3944d 61 TProfile* GetFirstr0theta() const {return this->fFirstr0theta; }
62 void SetFirstr0theta(TProfile* const aFirstr0theta)
b2be3d78 63 { this->fFirstr0theta = aFirstr0theta; }
80e93fef 64
11d3944d 65 TProfile* GetHistProVetaRP() const {return this->fHistProVetaRP;}
66 void SetHistProVetaRP(TProfile* const aHistProVetaRP)
b2be3d78 67 { this->fHistProVetaRP =aHistProVetaRP; }
11d3944d 68 TProfile* GetHistProVetaPOI() const {return this->fHistProVetaPOI;}
69 void SetHistProVetaPOI(TProfile* const aHistProVetaPOI)
b2be3d78 70 { this->fHistProVetaPOI = aHistProVetaPOI; }
11d3944d 71 TProfile* GetHistProVPtRP() const {return this->fHistProVPtRP;}
72 void SetHistProVPtRP(TProfile* const aHistProVPtRP)
b2be3d78 73 { this->fHistProVPtRP =aHistProVPtRP; }
11d3944d 74 TProfile* GetHistProVPtPOI() const {return this->fHistProVPtPOI;}
75 void SetHistProVPtPOI(TProfile* const aHistProVPtPOI)
b2be3d78 76 { this->fHistProVPtPOI = aHistProVPtPOI; }
11d3944d 77 TProfile* GetHistProWr() const {return this->fHistProWr; }
78 void SetHistProWr(TProfile* const aHistProWr)
b2be3d78 79 { this->fHistProWr = aHistProWr; }
11d3944d 80 TProfile* GetHistProWrCorr() const {return this->fHistProWrCorr; }
81 void SetHistProWrCorr(TProfile* const aHistProWrCorr)
b2be3d78 82 { this->fHistProWrCorr = aHistProWrCorr; }
11d3944d 83 TH1F* GetHistQsumforChi() const {return this->fHistQsumforChi; }
84 void SetHistQsumforChi(TH1F* const aHistQsumforChi)
b2be3d78 85 { this->fHistQsumforChi = aHistQsumforChi; }
11d3944d 86 TH1F* GetHistDeltaPhi() const {return this->fHistDeltaPhi; }
87 void SetHistDeltaPhi(TH1F* const aHistDeltaPhi)
b2be3d78 88 { this->fHistDeltaPhi = aHistDeltaPhi; }
11d3944d 89 TH1F* GetHistDeltaPhi2() const {return this->fHistDeltaPhi2; }
90 void SetHistDeltaPhi2(TH1F* const aHistDeltaPhi2)
b2be3d78 91 { this->fHistDeltaPhi2 = aHistDeltaPhi2; }
11d3944d 92 TH1F* GetHistDeltaPhihere() const {return this->fHistDeltaPhihere; }
93 void SetHistDeltaPhihere(TH1F* const aHistDeltaPhihere)
b2be3d78 94 { this->fHistDeltaPhihere = aHistDeltaPhihere; }
11d3944d 95 TH1F* GetHistPhiEP() const {return this->fHistPhiEP; }
96 void SetHistPhiEP(TH1F* const aHistPhiEP)
b2be3d78 97 { this->fHistPhiEP = aHistPhiEP; }
11d3944d 98 TH1F* GetHistPhiEPhere() const {return this->fHistPhiEPhere; }
99 void SetHistPhiEPhere(TH1F* const aHistPhiEPhere)
b2be3d78 100 { this->fHistPhiEPhere = aHistPhiEPhere; }
11d3944d 101 TH1F* GetHistPhiLYZ() const {return this->fHistPhiLYZ; }
102 void SetHistPhiLYZ(TH1F* const aHistPhiLYZ)
b2be3d78 103 { this->fHistPhiLYZ = aHistPhiLYZ; }
11d3944d 104 TH1F* GetHistPhiLYZ2() const {return this->fHistPhiLYZ2;}
105 void SetHistPhiLYZ2(TH1F* const aHistPhiLYZ2)
b2be3d78 106 { this->fHistPhiLYZ2 = aHistPhiLYZ2; }
f1d945a1 107
9d062fe3 108 //input
11d3944d 109 void SetSecondRunList(TList* const list) { this->fSecondRunList = list; }
110 TList* GetSecondRunList() const { return this->fSecondRunList; }
f1d945a1 111
112 private:
113
882ffd6a 114 AliFlowAnalysisWithLYZEventPlane(const AliFlowAnalysisWithLYZEventPlane& aAnalysis); // copy constructor
115 AliFlowAnalysisWithLYZEventPlane& operator=(const AliFlowAnalysisWithLYZEventPlane& aAnalysis); // assignment operator
af795c87 116
f1d945a1 117 //histograms
28ca24ad 118 TList* fHistList; //list ro hold all histograms
9d062fe3 119 TList* fSecondRunList; //list from Second LYZ run output
80e93fef 120
f1d945a1 121 //input
882ffd6a 122 TProfile* fSecondReDtheta; // input profile
123 TProfile* fSecondImDtheta; // input profile
124 TProfile* fFirstr0theta; // input profile
80e93fef 125
f1d945a1 126 //output
b2be3d78 127 TProfile* fHistProVetaRP; // output
128 TProfile* fHistProVetaPOI; // output
129 TProfile* fHistProVPtRP; // output
130 TProfile* fHistProVPtPOI; // output
131 TProfile* fHistProWr; // output
132 TProfile* fHistProWrCorr; // output
133 TH1F* fHistQsumforChi; // output
134 TH1F* fHistDeltaPhi; // output
135 TH1F* fHistDeltaPhi2; // output
136 TH1F* fHistDeltaPhihere; // output
137 TH1F* fHistPhiEP; // output
138 TH1F* fHistPhiEPhere; // output
139 TH1F* fHistPhiLYZ; // output
140 TH1F* fHistPhiLYZ2; // output
f1d945a1 141
b2be3d78 142 AliFlowCommonHist* fCommonHists; // output
143 AliFlowCommonHistResults* fCommonHistsRes; // output
f1d945a1 144
882ffd6a 145 Int_t fEventNumber; // event counter
af795c87 146
28ca24ad 147 TVector2 *fQsum; // flow vector sum
148 Double_t fQ2sum; // flow vector sum squared
882ffd6a 149
f1d945a1 150
c109b8c7 151 ClassDef(AliFlowAnalysisWithLYZEventPlane,0); // lyz analysis
f1d945a1 152};
153
154 #endif
882ffd6a 155