]>
Commit | Line | Data |
---|---|---|
eae37c5c | 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 AliAnalysisTaskJetV2_H | |
6 | #define AliAnalysisTaskJetV2_H | |
7 | ||
90c6bce5 | 8 | // uncomment to compile with debug information |
9 | //#define DEBUGTASK | |
10 | ||
eae37c5c | 11 | #include <AliAnalysisTaskEmcalJet.h> |
12 | #include <AliEmcalJet.h> | |
13 | #include <AliVEvent.h> | |
14 | #include <AliVParticle.h> | |
15 | #include <AliVCluster.h> | |
16 | #include <TClonesArray.h> | |
17 | #include <TMath.h> | |
18 | #include <TArrayD.h> | |
19 | #include <TRandom3.h> | |
20 | #include <AliJetContainer.h> | |
21 | #include <AliParticleContainer.h> | |
22 | ||
9e1c2f31 | 23 | class TFile; |
eae37c5c | 24 | class TF1; |
3e6806b3 | 25 | class TH1F; |
26 | class TH2F; | |
27 | class TH3F; | |
eae37c5c | 28 | class TProfile; |
29 | class AliLocalRhoParameter; | |
30 | class AliClusterContainer; | |
31 | class AliVTrack; | |
32 | ||
33 | class AliAnalysisTaskJetV2 : public AliAnalysisTaskEmcalJet { | |
34 | public: | |
35 | // enumerators | |
36 | enum fitModulationType { kNoFit, kV2, kV3, kCombined, kFourierSeries, kIntegratedFlow, kQC2, kQC4 }; // fit type | |
37 | enum fitGoodnessTest { kChi2ROOT, kChi2Poisson, kKolmogorov, kKolmogorovTOY, kLinearFit }; | |
06d2671d | 38 | enum collisionType { kPbPb, kPythia, kPbPb10h, kPbPb11h, kJetFlowMC }; // collision type, kPbPb = 11h, kept for backward compatibilitiy |
eae37c5c | 39 | enum qcRecovery { kFixedRho, kNegativeVn, kTryFit }; // how to deal with negative cn value for qcn value |
40 | enum runModeType { kLocal, kGrid }; // run mode type | |
06d2671d | 41 | enum dataType { kESD, kAOD, kESDMC, kAODMC}; // data type |
42 | enum detectorType { kTPC, kVZEROA, kVZEROC, kVZEROComb, kFixedEP}; // detector that was used for event plane | |
eae37c5c | 43 | enum analysisType { kCharged, kFull }; // analysis type |
44 | // constructors, destructor | |
45 | AliAnalysisTaskJetV2(); | |
46 | AliAnalysisTaskJetV2(const char *name, runModeType type); | |
47 | virtual ~AliAnalysisTaskJetV2(); | |
48 | // setting up the task and technical aspects | |
49 | void ExecOnce(); | |
f41baaab | 50 | virtual Bool_t Notify(); |
eae37c5c | 51 | Bool_t InitializeAnalysis(); |
52 | virtual void UserCreateOutputObjects(); | |
06d2671d | 53 | virtual void Exec(Option_t *); |
eae37c5c | 54 | virtual Bool_t Run(); |
55 | TH1F* BookTH1F(const char* name, const char* x, Int_t bins, Double_t min, Double_t max, Int_t c = -1, Bool_t append = kTRUE); | |
56 | TH2F* BookTH2F(const char* name, const char* x, const char* y, Int_t binsx, Double_t minx, Double_t maxx, Int_t binsy, Double_t miny, Double_t maxy, Int_t c = -1, Bool_t append = kTRUE); | |
3e6806b3 | 57 | TH3F* BookTH3F(const char* name, const char* x, const char* y, const char* z, Int_t binsx, Double_t minx, Double_t maxx, Int_t binsy, Double_t miny, Double_t maxy, Int_t binsz, Double_t minz, Double_t maxz, Int_t c = -1, Bool_t append = kTRUE); |
9e1c2f31 | 58 | /* inline */ static Double_t PhaseShift(Double_t x) { |
eae37c5c | 59 | while (x>=TMath::TwoPi())x-=TMath::TwoPi(); |
60 | while (x<0.)x+=TMath::TwoPi(); | |
61 | return x; } | |
9e1c2f31 | 62 | /* inline */ static Double_t PhaseShift(Double_t x, Double_t n) { |
eae37c5c | 63 | x = PhaseShift(x); |
64 | if(TMath::Nint(n)==2) while (x>TMath::Pi()) x-=TMath::Pi(); | |
65 | if(TMath::Nint(n)==3) { | |
66 | if(x>2.*TMath::TwoPi()/n) x = TMath::TwoPi() - x; | |
67 | if(x>TMath::TwoPi()/n) x = TMath::TwoPi()-(x+TMath::TwoPi()/n); | |
68 | } | |
69 | return x; } | |
99c4da7e | 70 | /* inline */ static Bool_t IsInPlane(Double_t dPhi) { |
71 | return (dPhi < -1.*TMath::Pi()/4. || dPhi > TMath::Pi()/4.); } | |
9e1c2f31 | 72 | /* inline */ static Double_t ChiSquarePDF(Int_t ndf, Double_t x) { |
eae37c5c | 73 | Double_t n(ndf/2.), denom(TMath::Power(2, n)*TMath::Gamma(n)); |
74 | if (denom!=0) return ((1./denom)*TMath::Power(x, n-1)*TMath::Exp(-x/2.)); | |
75 | return -999; } | |
76 | // note that the cdf of the chisquare distribution is the normalized lower incomplete gamma function | |
9e1c2f31 | 77 | /* inline */ static Double_t ChiSquareCDF(Int_t ndf, Double_t x) { return TMath::Gamma(ndf/2., x/2.); } |
78 | /* inline */ static Double_t ChiSquare(TH1& histo, TF1* func) { | |
eae37c5c | 79 | // evaluate the chi2 using a poissonian error estimate on bins |
80 | Double_t chi2(0.); | |
81 | for(Int_t i(0); i < histo.GetXaxis()->GetNbins(); i++) { | |
82 | if(histo.GetBinContent(i+1) <= 0.) continue; | |
83 | chi2 += TMath::Power((histo.GetBinContent(i+1)-func->Eval(histo.GetXaxis()->GetBinCenter(1+i))), 2)/histo.GetBinContent(i+1); | |
84 | } | |
85 | return chi2; | |
86 | } | |
9e1c2f31 | 87 | /* inline */ Double_t KolmogorovTest(TH1F& histo, TF1* func) const { |
eae37c5c | 88 | // return the probability from a Kolmogorov test |
6c3fa11d | 89 | return .5; |
23503789 | 90 | /* this test is disabeled as it eats a lot of resources but kept as a dummty to |
91 | * ensure compatibility of the output with offline macros | |
eae37c5c | 92 | TH1F test(histo); // stack copy of test statistic |
93 | for(Int_t i(0); i < test.GetXaxis()->GetNbins(); i++) test.SetBinContent(i+1, func->Eval(test.GetXaxis()->GetBinCenter(1+i))); | |
94 | if(fFitGoodnessTest == kKolmogorovTOY) return histo.TH1::KolmogorovTest((&test), "X"); | |
95 | return histo.TH1::KolmogorovTest((&test)); | |
23503789 | 96 | */ |
eae37c5c | 97 | } |
9e1c2f31 | 98 | |
eae37c5c | 99 | // setters - analysis setup |
eae37c5c | 100 | void SetRunToyMC(Bool_t t) {fRunToyMC = t; } |
101 | void SetAttachToEvent(Bool_t b) {fAttachToEvent = b;} | |
102 | void SetFillHistograms(Bool_t b) {fFillHistograms = b;} | |
103 | void SetFillQAHistograms(Bool_t qa) {fFillQAHistograms = qa;} | |
104 | void SetReduceBinsXYByFactor(Float_t x, Float_t y) {fReduceBinsXByFactor = x; | |
105 | fReduceBinsYByFactor = y;} | |
106 | void SetNoEventWeightsForQC(Bool_t e) {fNoEventWeightsForQC = e;} | |
107 | void SetCentralityClasses(TArrayD* c) {fCentralityClasses = c;} | |
108 | void SetExpectedRuns(TArrayI* r) {fExpectedRuns = r;} | |
109 | void SetExpectedSemiGoodRuns(TArrayI* r) {fExpectedSemiGoodRuns = r;} | |
110 | void SetIntegratedFlow(TH1F* i, TH1F* j) {fUserSuppliedV2 = i; | |
111 | fUserSuppliedV3 = j; } | |
112 | void SetOnTheFlyResCorrection(TH1F* r2, TH1F* r3) {fUserSuppliedR2 = r2; | |
113 | fUserSuppliedR3 = r3; } | |
8ee63b73 | 114 | void SetEventPlaneWeights(TH1F* ep) {fEventPlaneWeights = ep; } |
433ad2be | 115 | void SetAcceptanceWeights(Bool_t w) {fAcceptanceWeights = w; } |
eae37c5c | 116 | void SetNameRhoSmall(TString name) {fNameSmallRho = name; } |
117 | void SetRandomSeed(TRandom3* r) {if (fRandom) delete fRandom; fRandom = r; } | |
118 | void SetModulationFit(TF1* fit); | |
119 | void SetUseControlFit(Bool_t c); | |
120 | void SetModulationFitMinMaxP(Float_t m, Float_t n) {fMinPvalue = m; fMaxPvalue = n; } | |
121 | void SetModulationFitType(fitModulationType type) {fFitModulationType = type; } | |
122 | void SetGoodnessTest(fitGoodnessTest test) {fFitGoodnessTest = test; } | |
123 | void SetQCnRecoveryType(qcRecovery type) {fQCRecovery = type; } | |
124 | void SetModulationFitOptions(TString opt) {fFitModulationOptions = opt; } | |
125 | void SetReferenceDetector(detectorType type) {fDetectorType = type; } | |
126 | void SetAnalysisType(analysisType type) {fAnalysisType = type; } | |
127 | void SetCollisionType(collisionType type) {fCollisionType = type; } | |
128 | void SetUsePtWeight(Bool_t w) { | |
129 | fUsePtWeight = w; | |
130 | if(!fUsePtWeight) fUsePtWeightErrorPropagation = kFALSE; } | |
131 | void SetUsePtWeightErrorPropagation(Bool_t w) {fUsePtWeightErrorPropagation = w; } | |
132 | void SetRunModeType(runModeType type) {fRunModeType = type; } | |
133 | void SetAbsVertexZ(Float_t v) {fAbsVertexZ = v; } | |
134 | void SetMinDistanceRctoLJ(Float_t m) {fMinDisanceRCtoLJ = m; } | |
135 | void SetMaxNoRandomCones(Int_t m) {fMaxCones = m; } | |
136 | void SetExcludeLeadingJetsFromFit(Float_t n) {fExcludeLeadingJetsFromFit = n; } | |
137 | void SetRebinSwapHistoOnTheFly(Bool_t r) {fRebinSwapHistoOnTheFly = r; } | |
138 | void SetSaveThisPercentageOfFits(Float_t p) {fPercentageOfFits = p; } | |
9e1c2f31 | 139 | // setters specific to the vzero calibration for 10h data |
140 | void SetVZEROApol(Int_t ring, Float_t f) {fVZEROApol[ring]=f;} | |
141 | void SetVZEROCpol(Int_t ring, Float_t f) {fVZEROCpol[ring]=f;} | |
142 | void SetVZEROgainEqualizationPerRing(Bool_t s) {fVZEROgainEqualizationPerRing = s;} | |
143 | void SetUseVZERORing(Int_t i, Bool_t u) { | |
144 | // exclude vzero rings: 0 through 7 can be excluded by calling this setter multiple times | |
145 | // 0 corresponds to segment ID 0 through 7, etc | |
146 | fUseVZERORing[i] = u; | |
147 | fVZEROgainEqualizationPerRing = kTRUE; // must be true for this option | |
148 | } | |
149 | ||
150 | void SetChi2VZEROA(TArrayD* a) { fChi2A = a;} | |
151 | void SetChi2VZEROC(TArrayD* a) { fChi2C = a;} | |
152 | void SetChi3VZEROA(TArrayD* a) { fChi3A = a;} | |
153 | void SetChi3VZEROC(TArrayD* a) { fChi3C = a;} | |
154 | ||
155 | // getters | |
eae37c5c | 156 | TString GetJetsName() const {return GetJetContainer()->GetArrayName(); } |
157 | TString GetTracksName() const {return GetParticleContainer()->GetArrayName(); } | |
158 | TString GetLocalRhoName() const {return fLocalRhoName; } | |
159 | TArrayD* GetCentralityClasses() const {return fCentralityClasses;} | |
160 | TProfile* GetResolutionParameters(Int_t h, Int_t c) const {return (h==2) ? fProfV2Resolution[c] : fProfV3Resolution[c];} | |
161 | TList* GetOutputList() const {return fOutputList;} | |
162 | AliLocalRhoParameter* GetLocalRhoParameter() const {return fLocalRho;} | |
163 | Double_t GetJetRadius() const {return GetJetContainer()->GetJetRadius();} | |
41e50b0d | 164 | AliEmcalJet* GetLeadingJet(AliLocalRhoParameter* localRho = 0x0); |
cf65e67c | 165 | static TH1F* GetEventPlaneWeights(TH1F* hist); |
f9649078 | 166 | static void PrintTriggerSummary(UInt_t trigger); |
41e50b0d | 167 | void ExecMe() {ExecOnce();} |
41e50b0d | 168 | AliAnalysisTaskJetV2* ReturnMe() {return this;} |
eae37c5c | 169 | // local cuts |
170 | void SetSoftTrackMinMaxPt(Float_t min, Float_t max) {fSoftTrackMinPt = min; fSoftTrackMaxPt = max;} | |
171 | void SetSemiGoodJetMinMaxPhi(Double_t a, Double_t b) {fSemiGoodJetMinPhi = a; fSemiGoodJetMaxPhi = b;} | |
172 | void SetSemiGoodTrackMinMaxPhi(Double_t a, Double_t b) {fSemiGoodTrackMinPhi = a; fSemiGoodTrackMaxPhi = b;} | |
173 | // numerical evaluations | |
433ad2be | 174 | static void NumericalOverlap(Double_t x1, Double_t x2, Double_t psi2, Double_t &percIn, Double_t &percOut, Double_t &percLost); |
175 | static Int_t OverlapsWithPlane(Double_t x1, Double_t x2, | |
176 | Double_t a, Double_t b, Double_t c, Double_t d, Double_t e, Double_t phi); | |
9e1c2f31 | 177 | static Double_t CalculateEventPlaneChi(Double_t res); |
eae37c5c | 178 | void CalculateEventPlaneVZERO(Double_t vzero[2][2]) const; |
eae37c5c | 179 | void CalculateEventPlaneCombinedVZERO(Double_t* comb) const; |
9e1c2f31 | 180 | void CalculateEventPlaneTPC(Double_t* tpc); |
eae37c5c | 181 | void CalculateEventPlaneResolution(Double_t vzero[2][2], Double_t* vzeroComb, Double_t* tpc); |
9e1c2f31 | 182 | void CalculateQvectorVZERO(Double_t Qa2[2], Double_t Qc2[2], Double_t Qa3[2], Double_t Qc3[2]) const; |
183 | void CalculateQvectorCombinedVZERO(Double_t Q2[2], Double_t Q3[2]) const; | |
eae37c5c | 184 | void CalculateRandomCone( |
185 | Float_t &pt, | |
186 | Float_t &eta, | |
187 | Float_t &phi, | |
188 | AliParticleContainer* tracksCont, | |
189 | AliClusterContainer* clusterCont = 0x0, | |
190 | AliEmcalJet* jet = 0x0 | |
191 | ) const; | |
192 | Double_t CalculateQC2(Int_t harm); | |
193 | Double_t CalculateQC4(Int_t harm); | |
9e1c2f31 | 194 | // helper calculations for the q-cumulant analysis |
eae37c5c | 195 | void QCnQnk(Int_t n, Int_t k, Double_t &reQ, Double_t &imQ); |
196 | void QCnDiffentialFlowVectors( | |
197 | TClonesArray* pois, TArrayD* ptBins, Bool_t vpart, Double_t* repn, Double_t* impn, | |
198 | Double_t *mp, Double_t *reqn, Double_t *imqn, Double_t* mq, Int_t n); | |
199 | Double_t QCnS(Int_t i, Int_t j); | |
200 | Double_t QCnM(); | |
201 | Double_t QCnM11(); | |
202 | Double_t QCnM1111(); | |
203 | Bool_t QCnRecovery(Double_t psi2, Double_t psi3); | |
204 | // analysis details | |
205 | Bool_t CorrectRho(Double_t psi2, Double_t psi3); | |
9e1c2f31 | 206 | // event and track selection |
eae37c5c | 207 | /* inline */ Bool_t PassesCuts(AliVParticle* track) const { return AcceptTrack(track, 0); } |
208 | /* inline */ Bool_t PassesCuts(AliEmcalJet* jet) { return AcceptJet(jet, 0); } | |
209 | /* inline */ Bool_t PassesCuts(AliVCluster* clus) const { return AcceptCluster(clus, 0); } | |
210 | /* inline */ Bool_t PassesSimpleCuts(AliEmcalJet* jet) { | |
211 | Float_t minPhi(GetJetContainer()->GetJetPhiMin()), maxPhi(GetJetContainer()->GetJetPhiMax()); | |
212 | Float_t minEta(GetJetContainer()->GetJetEtaMin()), maxEta(GetJetContainer()->GetJetEtaMax()); | |
9aa4c594 | 213 | return (jet/* && jet->Pt() > 1.*/ && jet->Eta() > minEta && jet->Eta() < maxEta && jet->Phi() > minPhi && jet->Phi() < maxPhi && jet->Area() > .557*GetJetRadius()*GetJetRadius()*TMath::Pi()); |
eae37c5c | 214 | } |
215 | Bool_t PassesCuts(AliVEvent* event); | |
eae37c5c | 216 | Bool_t PassesCuts(const AliVCluster* track) const; |
217 | // filling histograms | |
218 | void FillHistogramsAfterSubtraction(Double_t psi2, Double_t vzero[2][2], Double_t* vzeroComb, Double_t* tpc); | |
eae37c5c | 219 | void FillQAHistograms(AliVTrack* vtrack) const; |
220 | void FillQAHistograms(AliVEvent* vevent); | |
8ee63b73 | 221 | void FillWeightedTrackHistograms() const; |
222 | void FillWeightedClusterHistograms() const; | |
223 | void FillWeightedEventPlaneHistograms(Double_t vzero[2][2], Double_t* vzeroComb, Double_t* tpc) const; | |
224 | void FillWeightedRhoHistograms(); | |
225 | void FillWeightedDeltaPtHistograms(Double_t psi2) const; | |
226 | void FillWeightedJetHistograms(Double_t psi2); | |
227 | void FillWeightedQAHistograms(AliVTrack* vtrack) const; | |
228 | void FillWeightedQAHistograms(AliVEvent* vevent); | |
b767e4bb | 229 | void FillWeightedTriggerQA(Double_t dPhi, Double_t pt, UInt_t trigger); |
eae37c5c | 230 | void FillAnalysisSummaryHistogram() const; |
231 | virtual void Terminate(Option_t* option); | |
232 | // interface methods for the output file | |
233 | void SetOutputList(TList* l) {fOutputList = l;} | |
234 | TH1F* GetResolutionFromOuptutFile(detectorType detector, Int_t h = 2, TArrayD* c = 0x0); | |
235 | TH1F* CorrectForResolutionDiff(TH1F* v, detectorType detector, TArrayD* cen, Int_t c, Int_t h = 2); | |
236 | TH1F* CorrectForResolutionInt(TH1F* v, detectorType detector, TArrayD* cen, Int_t h = 2); | |
237 | TH1F* GetDifferentialQC(TProfile* refCumulants, TProfile* diffCumlants, TArrayD* ptBins, Int_t h); | |
9e1c2f31 | 238 | void ReadVZEROCalibration2010h(); |
239 | Int_t GetVZEROCentralityBin() const; | |
eae37c5c | 240 | private: |
241 | // analysis flags and settings | |
eae37c5c | 242 | Bool_t fRunToyMC; // run toy mc for fit routine |
243 | Bool_t fLocalInit; //! is the analysis initialized? | |
244 | Bool_t fAttachToEvent; // attach local rho to the event | |
245 | Bool_t fFillHistograms; // fill histograms | |
246 | Bool_t fFillQAHistograms; // fill qa histograms | |
247 | Float_t fReduceBinsXByFactor; // reduce the bins on x-axis of histo's by this much | |
248 | Float_t fReduceBinsYByFactor; // reduce the bins on y-axis of histo's by this much | |
249 | Bool_t fNoEventWeightsForQC; // don't store event weights for qc analysis | |
250 | TArrayD* fCentralityClasses; //-> centrality classes (maximum 10) | |
251 | TArrayI* fExpectedRuns; //-> array of expected run numbers, used for QA | |
252 | TArrayI* fExpectedSemiGoodRuns; //-> array of expected semi-good runs, used for cuts and QA | |
253 | TH1F* fUserSuppliedV2; // histo with integrated v2 | |
254 | TH1F* fUserSuppliedV3; // histo with integrated v3 | |
255 | TH1F* fUserSuppliedR2; // correct the extracted v2 with this r | |
256 | TH1F* fUserSuppliedR3; // correct the extracted v3 with this r | |
8ee63b73 | 257 | TH1F* fEventPlaneWeights; // weight histo for the event plane |
433ad2be | 258 | Bool_t fAcceptanceWeights; // store centrality dependent acceptance weights |
8ee63b73 | 259 | Float_t fEventPlaneWeight; //! the actual weight of an event |
eae37c5c | 260 | AliParticleContainer* fTracksCont; //! tracks |
261 | AliClusterContainer* fClusterCont; //! cluster container | |
262 | AliJetContainer* fJetsCont; //! jets | |
263 | AliEmcalJet* fLeadingJet; //! leading jet | |
41e50b0d | 264 | AliEmcalJet* fLeadingJetAfterSub; //! leading jet after background subtraction |
eae37c5c | 265 | // members |
266 | Int_t fNAcceptedTracks; //! number of accepted tracks | |
267 | Int_t fNAcceptedTracksQCn; //! accepted tracks for QCn | |
268 | fitModulationType fFitModulationType; // fit modulation type | |
269 | fitGoodnessTest fFitGoodnessTest; // fit goodness test type | |
270 | qcRecovery fQCRecovery; // recovery type for e-by-e qc method | |
271 | Bool_t fUsePtWeight; // use dptdphi instead of dndphi | |
272 | Bool_t fUsePtWeightErrorPropagation; // recalculate the bin errors in case of pt weighting | |
273 | detectorType fDetectorType; // type of detector used for modulation fit | |
274 | analysisType fAnalysisType; // analysis type (full or charged jets) | |
275 | TString fFitModulationOptions; // fit options for modulation fit | |
276 | runModeType fRunModeType; // run mode type | |
277 | dataType fDataType; // datatype | |
278 | collisionType fCollisionType; // collision type | |
279 | TRandom3* fRandom; //-> dont use gRandom to not interfere with other tasks | |
280 | Int_t fRunNumber; //! current runnumber (for QA and jet, track selection) | |
281 | Int_t fMappedRunNumber; //! mapped runnumer (for QA) | |
282 | Int_t fInCentralitySelection; //! centrality bin | |
283 | TF1* fFitModulation; //-> modulation fit for rho | |
284 | TF1* fFitControl; //-> control fit | |
285 | Float_t fMinPvalue; // minimum value of p | |
286 | Float_t fMaxPvalue; // maximum value of p | |
287 | TString fNameSmallRho; // name of small rho | |
288 | AliRhoParameter* fCachedRho; //! temp cache for rho pointer | |
289 | // additional jet cuts (most are inherited) | |
290 | Float_t fSoftTrackMinPt; // min pt for soft tracks | |
291 | Float_t fSoftTrackMaxPt; // max pt for soft tracks | |
292 | Double_t fSemiGoodJetMinPhi; // min phi for semi good tpc runs | |
293 | Double_t fSemiGoodJetMaxPhi; // max phi for semi good tpc runs | |
294 | Double_t fSemiGoodTrackMinPhi; // min phi for semi good tpc runs | |
295 | Double_t fSemiGoodTrackMaxPhi; // max phi for semi good tpc runs | |
296 | // event cuts | |
297 | Float_t fAbsVertexZ; // cut on zvertex | |
298 | // general qa histograms | |
299 | TH1F* fHistCentrality; //! accepted centrality | |
433ad2be | 300 | TProfile* fHistCentralityPercIn; //! centrality versus perc in |
301 | TProfile* fHistCentralityPercOut; //! centrality versus perc out | |
302 | TProfile* fHistCentralityPercLost;//! centrality versus perc lost | |
eae37c5c | 303 | TH1F* fHistVertexz; //! accepted verte |
304 | TH2F* fHistRunnumbersPhi; //! run numbers averaged phi | |
305 | TH2F* fHistRunnumbersEta; //! run numbers averaged eta | |
306 | TH1F* fHistPvalueCDFROOT; //! pdf value of chisquare p | |
307 | TH2F* fHistPvalueCDFROOTCent; //! p value versus centrlaity from root | |
308 | TH2F* fHistChi2ROOTCent; //! reduced chi2 from ROOT, centrality correlation | |
309 | TH2F* fHistPChi2Root; //! correlation p value and reduced chi2 | |
310 | TH1F* fHistPvalueCDF; //! cdf value of chisquare p | |
311 | TH2F* fHistPvalueCDFCent; //! p value vs centrality | |
312 | TH2F* fHistChi2Cent; //! reduced chi2, centrlaity correlation | |
313 | TH2F* fHistPChi2; //! correlation p value and reduced chi2 | |
314 | TH1F* fHistKolmogorovTest; //! KolmogorovTest value | |
315 | TH2F* fHistKolmogorovTestCent;//! KolmogorovTest value, centrality correlation | |
316 | TH2F* fHistPKolmogorov; //! p value vs kolmogorov value | |
317 | TH2F* fHistRhoStatusCent; //! status of rho as function of centrality | |
318 | TH1F* fHistUndeterminedRunQA; //! undetermined run QA | |
319 | // general settings | |
320 | Float_t fMinDisanceRCtoLJ; // min distance between rc and leading jet | |
321 | Int_t fMaxCones; // max number of random cones | |
322 | Float_t fExcludeLeadingJetsFromFit; // exclude n leading jets from fit | |
323 | Bool_t fRebinSwapHistoOnTheFly; // rebin swap histo on the fly | |
324 | Float_t fPercentageOfFits; // save this percentage of fits | |
eae37c5c | 325 | // transient object pointers |
326 | TList* fOutputList; //! output list | |
327 | TList* fOutputListGood; //! output list for local analysis | |
328 | TList* fOutputListBad; //! output list for local analysis | |
329 | TH1F* fHistAnalysisSummary; //! analysis summary | |
330 | TH1F* fHistSwap; //! swap histogram | |
331 | TProfile* fProfV2; //! extracted v2 | |
332 | TProfile* fProfV2Cumulant; //! v2 cumulant | |
333 | TProfile* fProfV2Resolution[10]; //! resolution parameters for v2 | |
334 | TProfile* fProfV3; //! extracted v3 | |
335 | TProfile* fProfV3Cumulant; //! v3 cumulant | |
336 | TProfile* fProfV3Resolution[10]; //! resolution parameters for v3 | |
337 | // qa histograms for accepted pico tracks | |
338 | TH1F* fHistPicoTrackPt[10]; //! pt of all charged tracks | |
339 | TH1F* fHistPicoTrackMult[10]; //! multiplicity of accepted pico tracks | |
340 | TH2F* fHistPicoCat1[10]; //! pico tracks spd hit and refit | |
341 | TH2F* fHistPicoCat2[10]; //! pico tracks wo spd hit w refit, constrained | |
342 | TH2F* fHistPicoCat3[10]; //! pico tracks wo spd hit wo refit, constrained | |
343 | // qa histograms for accepted emcal clusters | |
344 | TH1F* fHistClusterPt[10]; //! pt emcal clusters | |
345 | TH2F* fHistClusterEtaPhi[10]; //! eta phi emcal clusters | |
346 | TH2F* fHistClusterEtaPhiWeighted[10]; //! eta phi emcal clusters, pt weighted | |
99c4da7e | 347 | // qa histograms for triggers |
348 | TH2F* fHistTriggerQAIn[10]; //! trigger qa in plane | |
349 | TH2F* fHistTriggerQAOut[10]; //! trigger qa out of plane | |
eae37c5c | 350 | // qa event planes |
351 | TProfile* fHistPsiControl; //! event plane control histogram | |
352 | TProfile* fHistPsiSpread; //! event plane spread histogram | |
353 | TH1F* fHistPsiVZEROA; //! psi 2 from vzero a | |
354 | TH1F* fHistPsiVZEROC; //! psi 2 from vzero c | |
355 | TH1F* fHistPsiVZERO; //! psi 2 from combined vzero | |
356 | TH1F* fHistPsiTPC; //! psi 2 from tpc | |
357 | TH2F* fHistPsiVZEROAV0M; //! psi 2 from vzero a | |
358 | TH2F* fHistPsiVZEROCV0M; //! psi 2 from vzero c | |
359 | TH2F* fHistPsiVZEROVV0M; //! psi 2 from combined vzero | |
9aa4c594 | 360 | TH2F* fHistPsiTPCV0M; //! psi 2 from tpc |
eae37c5c | 361 | TH2F* fHistPsiVZEROATRK; //! psi 2 from vzero a |
362 | TH2F* fHistPsiVZEROCTRK; //! psi 2 from vzero c | |
363 | TH2F* fHistPsiVZEROTRK; //! psi 2 from combined vzero | |
364 | TH2F* fHistPsiTPCTRK; //! psi 2 from tpc | |
94b007e2 | 365 | TH3F* fHistPsiTPCLeadingJet[10]; //! correlation tpc EP, LJ pt |
366 | TH3F* fHistPsiVZEROALeadingJet[10]; //! correlation vzeroa EP, LJ pt | |
367 | TH3F* fHistPsiVZEROCLeadingJet[10]; //! correlation vzeroc EP, LJ pt | |
368 | TH3F* fHistPsiVZEROCombLeadingJet[10];//! correlation vzerocomb EP, LJ pt | |
3e6806b3 | 369 | TH3F* fHistPsi2Correlation[10]; //! correlation of event planes |
41e50b0d | 370 | TH2F* fHistLeadingJetBackground[10]; //! geometric correlation of leading jet w/wo bkg subtraction |
eae37c5c | 371 | // background |
372 | TH1F* fHistRhoPackage[10]; //! rho as estimated by emcal jet package | |
373 | TH1F* fHistRho[10]; //! background | |
374 | TH2F* fHistRhoVsMult; //! rho versus multiplicity | |
375 | TH2F* fHistRhoVsCent; //! rho veruss centrality | |
376 | TH2F* fHistRhoAVsMult; //! rho * A vs multiplicity for all jets | |
377 | TH2F* fHistRhoAVsCent; //! rho * A vs centrality for all jets | |
378 | // delta pt distributions | |
379 | TH2F* fHistRCPhiEta[10]; //! random cone eta and phi | |
380 | TH2F* fHistRhoVsRCPt[10]; //! rho * A vs rcpt | |
381 | TH1F* fHistRCPt[10]; //! rcpt | |
382 | TH2F* fHistDeltaPtDeltaPhi2[10]; //! dpt vs dphi (psi2 - phi) | |
383 | TH2F* fHistDeltaPtDeltaPhi2Rho0[10]; //! dpt vs dphi, rho_0 | |
384 | TH2F* fHistRCPhiEtaExLJ[10]; //! random cone eta and phi, excl leading jet | |
385 | TH2F* fHistRhoVsRCPtExLJ[10]; //! rho * A vs rcpt, excl leading jet | |
386 | TH1F* fHistRCPtExLJ[10]; //! rcpt, excl leading jet | |
387 | TH2F* fHistDeltaPtDeltaPhi2ExLJ[10]; //! dpt vs dphi, excl leading jet | |
388 | TH2F* fHistDeltaPtDeltaPhi2ExLJRho0[10]; //! dpt vs dphi, excl leading jet, rho_0 | |
389 | // jet histograms (after kinematic cuts) | |
390 | TH1F* fHistJetPtRaw[10]; //! jet pt - no background subtraction | |
391 | TH1F* fHistJetPt[10]; //! pt of found jets (background subtracted) | |
392 | TH2F* fHistJetEtaPhi[10]; //! eta and phi correlation | |
393 | TH2F* fHistJetPtArea[10]; //! jet pt versus area | |
394 | TH2F* fHistJetPtEta[10]; //! jet pt versus eta (temp control) | |
395 | TH2F* fHistJetPtConstituents[10]; //! jet pt versus number of constituents | |
396 | TH2F* fHistJetEtaRho[10]; //! jet eta versus rho | |
397 | // in plane, out of plane jet spectra | |
398 | TH2F* fHistJetPsi2Pt[10]; //! event plane dependence of jet pt | |
399 | TH2F* fHistJetPsi2PtRho0[10]; //! event plane dependence of jet pt vs rho_0 | |
9e1c2f31 | 400 | // vzero event plane calibration cache for 10h data |
401 | Float_t fMeanQ[9][2][2]; //! recentering | |
402 | Float_t fWidthQ[9][2][2]; //! recentering | |
403 | Float_t fMeanQv3[9][2][2]; //! recentering | |
404 | Float_t fWidthQv3[9][2][2]; //! recentering | |
405 | TH1* fVZEROgainEqualization; //! equalization histo | |
406 | Bool_t fVZEROgainEqualizationPerRing; // per ring vzero gain calibration | |
407 | Float_t fVZEROApol[4]; //! calibration info per ring | |
408 | Float_t fVZEROCpol[4]; //! calibration info per ring | |
409 | Bool_t fUseVZERORing[8]; // kTRUE means the ring is included | |
410 | TArrayD* fChi2A; // chi vs cent for vzero A ep_2 | |
411 | TArrayD* fChi2C; // chi vs cent for vzero C ep_2 | |
412 | TArrayD* fChi3A; // chi vs cent for vzero A ep_3 | |
413 | TArrayD* fChi3C; // chi vs cent for vzero C ep_3 | |
414 | TFile* fOADB; //! fOADB | |
415 | ||
eae37c5c | 416 | |
417 | AliAnalysisTaskJetV2(const AliAnalysisTaskJetV2&); // not implemented | |
418 | AliAnalysisTaskJetV2& operator=(const AliAnalysisTaskJetV2&); // not implemented | |
419 | ||
433ad2be | 420 | ClassDef(AliAnalysisTaskJetV2, 4); |
eae37c5c | 421 | }; |
422 | ||
423 | #endif |