]>
Commit | Line | Data |
---|---|---|
38d2189d | 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 ALIANALYSISTASKRHOVNMODULATION_H | |
6 | #define ALIANALYSISTASKRHOVNMODULATION_H | |
7 | ||
9239b066 | 8 | #include <AliAnalysisTaskEmcalJet.h> |
38d2189d | 9 | #include <AliEmcalJet.h> |
10 | #include <AliVEvent.h> | |
11 | #include <AliVTrack.h> | |
12 | #include <AliVCluster.h> | |
13 | #include <TClonesArray.h> | |
14 | #include <TMath.h> | |
44961528 | 15 | #include <TArrayD.h> |
847e45e0 | 16 | #include <TRandom3.h> |
9e5eee5d | 17 | #include <AliJetContainer.h> |
f6d1b1a7 | 18 | #include <AliParticleContainer.h> |
38d2189d | 19 | |
20 | class TF1; | |
21 | class THF1; | |
22 | class THF2; | |
23 | class TProfile; | |
51e48ddc | 24 | class AliLocalRhoParameter; |
38d2189d | 25 | |
9239b066 | 26 | class AliAnalysisTaskRhoVnModulation : public AliAnalysisTaskEmcalJet { |
38d2189d | 27 | public: |
28 | // enumerators | |
e2fde0c9 | 29 | enum fitModulationType { kNoFit, kV2, kV3, kCombined, kFourierSeries, kIntegratedFlow, kQC2, kQC4 }; // fit type |
f59c58a1 | 30 | enum fitGoodnessTest { kChi2ROOT, kChi2Poisson, kKolmogorov, kKolmogorovTOY, kLinearFit }; |
69fa9ebe | 31 | enum collisionType { kPbPb, kPythia }; // collision type |
532186b5 | 32 | enum qcRecovery { kFixedRho, kNegativeVn, kTryFit }; // how to deal with negative cn value for qcn value |
38d2189d | 33 | enum runModeType { kLocal, kGrid }; // run mode type |
34 | enum dataType { kESD, kAOD, kESDMC, kAODMC }; // data type | |
51e48ddc | 35 | enum detectorType { kTPC, kVZEROA, kVZEROC, kVZEROComb}; // detector that was used |
38d2189d | 36 | // constructors, destructor |
37 | AliAnalysisTaskRhoVnModulation(); | |
38 | AliAnalysisTaskRhoVnModulation(const char *name, runModeType type); | |
39 | virtual ~AliAnalysisTaskRhoVnModulation(); | |
38d2189d | 40 | // setting up the task and technical aspects |
7dd1eeea | 41 | void ExecOnce(); |
38d2189d | 42 | Bool_t InitializeAnalysis(); |
43 | virtual void UserCreateOutputObjects(); | |
44 | virtual Bool_t Run(); | |
847e45e0 | 45 | 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); |
46 | 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); | |
38d2189d | 47 | /* inline */ Double_t PhaseShift(Double_t x) const { |
48 | while (x>=TMath::TwoPi())x-=TMath::TwoPi(); | |
49 | while (x<0.)x+=TMath::TwoPi(); | |
50 | return x; } | |
406b7c22 | 51 | /* inline */ Double_t PhaseShift(Double_t x, Double_t n) const { |
52 | x = PhaseShift(x); | |
1460d7da | 53 | if(TMath::Nint(n)==2) while (x>TMath::Pi()) x-=TMath::Pi(); |
406b7c22 | 54 | if(TMath::Nint(n)==3) { |
55 | if(x>2.*TMath::TwoPi()/n) x = TMath::TwoPi() - x; | |
56 | if(x>TMath::TwoPi()/n) x = TMath::TwoPi()-(x+TMath::TwoPi()/n); | |
57 | } | |
58 | return x; } | |
847e45e0 | 59 | /* inline */ Double_t ChiSquarePDF(Int_t ndf, Double_t x) const { |
38d2189d | 60 | Double_t n(ndf/2.), denom(TMath::Power(2, n)*TMath::Gamma(n)); |
61 | if (denom!=0) return ((1./denom)*TMath::Power(x, n-1)*TMath::Exp(-x/2.)); | |
62 | return -999; } | |
847e45e0 | 63 | // note that the cdf of the chisquare distribution is the normalized lower incomplete gamma function |
64 | /* inline */ Double_t ChiSquareCDF(Int_t ndf, Double_t x) const { return TMath::Gamma(ndf/2., x/2.); } | |
f59c58a1 | 65 | /* inline */ Double_t ChiSquare(TH1& histo, TF1* func) const { |
66 | // evaluate the chi2 using a poissonian error estimate on bins | |
67 | Double_t chi2(0.); | |
68 | for(Int_t i(0); i < histo.GetXaxis()->GetNbins(); i++) { | |
69 | if(histo.GetBinContent(i+1) <= 0.) continue; | |
70 | chi2 += TMath::Power((histo.GetBinContent(i+1)-func->Eval(histo.GetXaxis()->GetBinCenter(1+i))), 2)/histo.GetBinContent(i+1); | |
71 | } | |
72 | return chi2; | |
73 | } | |
74 | /* inline*/ Double_t KolmogorovTest(TH1F& histo, TF1* func) const { | |
75 | // return the probability from a Kolmogorov test | |
76 | TH1F test(histo); // stack copy of test statistic | |
77 | for(Int_t i(0); i < test.GetXaxis()->GetNbins(); i++) test.SetBinContent(i+1, func->Eval(test.GetXaxis()->GetBinCenter(1+i))); | |
78 | if(fFitGoodnessTest == kKolmogorovTOY) return histo.TH1::KolmogorovTest((&test), "X"); | |
79 | return histo.TH1::KolmogorovTest((&test)); | |
80 | } | |
81 | ||
38d2189d | 82 | // setters - analysis setup |
3531e13d | 83 | void SetDebugMode(Int_t d) {fDebug = d;} |
f59c58a1 | 84 | void SetRunToyMC(Bool_t t) {fRunToyMC = t; } |
eb18d0bf | 85 | void SetAttachToEvent(Bool_t b) {fAttachToEvent = b;} |
87233f72 | 86 | void SetSemiCentralInclusive(Bool_t b) {fSemiCentralInclusive = b;} |
eb18d0bf | 87 | void SetFillHistograms(Bool_t b) {fFillHistograms = b;} |
3531e13d | 88 | void SetFillQAHistograms(Bool_t qa) {fFillQAHistograms = qa;} |
9d202ae1 | 89 | void SetReduceBinsXYByFactor(Float_t x, Float_t y) {fReduceBinsXByFactor = x; |
258033f5 | 90 | fReduceBinsYByFactor = y;} |
532186b5 | 91 | void SetNoEventWeightsForQC(Bool_t e) {fNoEventWeightsForQC = e;} |
44961528 | 92 | void SetCentralityClasses(TArrayD* c) {fCentralityClasses = c;} |
258033f5 | 93 | void SetPtBinsHybrids(TArrayD* p) {fPtBinsHybrids = p;} |
94 | void SetPtBinsJets(TArrayD* p) {fPtBinsJets = p;} | |
9ad3a4e7 | 95 | void SetIntegratedFlow(TH1F* i, TH1F* j) {fUserSuppliedV2 = i; |
96 | fUserSuppliedV3 = j; } | |
60ad809f | 97 | void SetOnTheFlyResCorrection(TH1F* r2, TH1F* r3) {fUserSuppliedR2 = r2; |
98 | fUserSuppliedR3 = r3; } | |
38d2189d | 99 | void SetNameJetClones(const char* name) {fNameJetClones = name; } |
100 | void SetNamePicoTrackClones(const char* name) {fNamePicoTrackClones = name; } | |
101 | void SetNameRho(const char* name) {fNameRho = name; } | |
20ace3c2 | 102 | void SetUseScaledRho(Bool_t s) {fUseScaledRho = s; } |
38d2189d | 103 | void SetRandomSeed(TRandom3* r) {if (fRandom) delete fRandom; fRandom = r; } |
eda4f655 | 104 | void SetModulationFit(TF1* fit); |
fcc9bd37 | 105 | void SetUseControlFit(Bool_t c); |
847e45e0 | 106 | void SetModulationFitMinMaxP(Float_t m, Float_t n) {fMinPvalue = m; fMaxPvalue = n; } |
38d2189d | 107 | void SetModulationFitType(fitModulationType type) {fFitModulationType = type; } |
f59c58a1 | 108 | void SetGoodnessTest(fitGoodnessTest test) {fFitGoodnessTest = test; } |
532186b5 | 109 | void SetQCnRecoveryType(qcRecovery type) {fQCRecovery = type; } |
38d2189d | 110 | void SetModulationFitOptions(TString opt) {fFitModulationOptions = opt; } |
fe4a8ccf | 111 | void SetReferenceDetector(detectorType type) {fDetectorType = type; } |
69fa9ebe | 112 | void SetCollisionType(collisionType type) {fCollisionType = type; } |
f59c58a1 | 113 | void SetUsePtWeight(Bool_t w) { |
114 | fUsePtWeight = w; | |
115 | if(!fUsePtWeight) fUsePtWeightErrorPropagation = kFALSE; } | |
e64ad794 | 116 | void SetUsePtWeightErrorPropagation(Bool_t w) {fUsePtWeightErrorPropagation = w; } |
38d2189d | 117 | void SetRunModeType(runModeType type) {fRunModeType = type; } |
118 | void SetAbsVertexZ(Float_t v) {fAbsVertexZ = v; } | |
119 | void SetMinDistanceRctoLJ(Float_t m) {fMinDisanceRCtoLJ = m; } | |
120 | void SetRandomConeRadius(Float_t r) {fRandomConeRadius = r; } | |
af733b78 | 121 | void SetMaxNoRandomCones(Int_t m) {fMaxCones = m; } |
b7453b38 | 122 | void SetMinLeadingHadronPt(Double_t m) {fMinLeadingHadronPt = m; } |
51e48ddc | 123 | void SetSetPtSub(Bool_t s) {fSubtractJetPt = s;} |
fe4a8ccf | 124 | void SetForceAbsVnHarmonics(Bool_t f) {fAbsVnHarmonics = f; } |
847e45e0 | 125 | void SetExcludeLeadingJetsFromFit(Float_t n) {fExcludeLeadingJetsFromFit = n; } |
126 | void SetRebinSwapHistoOnTheFly(Bool_t r) {fRebinSwapHistoOnTheFly = r; } | |
127 | void SetSaveThisPercentageOfFits(Float_t p) {fPercentageOfFits = p; } | |
5d33e40a | 128 | void SetUseV0EventPlaneFromHeader(Bool_t h) {fUseV0EventPlaneFromHeader = h;} |
b7453b38 | 129 | void SetExplicitOutlierCutForYear(Int_t y) {fExplicitOutlierCut = y;} |
fb10bebd | 130 | // getters - these are used as well by AliAnalyisTaskJetFlow, so be careful when changing them |
9e5eee5d | 131 | TString GetJetsName() const {return GetJetContainer()->GetArrayName(); } |
f6d1b1a7 | 132 | TString GetTracksName() const {return GetParticleContainer()->GetArrayName(); } |
eb18d0bf | 133 | TString GetLocalRhoName() const {return fLocalRhoName; } |
44961528 | 134 | TArrayD* GetCentralityClasses() const {return fCentralityClasses;} |
258033f5 | 135 | TArrayD* GetPtBinsHybrids() const {return fPtBinsHybrids; } |
136 | TArrayD* GetPtBinsJets() const {return fPtBinsJets; } | |
137 | TProfile* GetResolutionParameters(Int_t h, Int_t c) const {return (h==2) ? fProfV2Resolution[c] : fProfV3Resolution[c];} | |
138 | TList* GetOutputList() const {return fOutputList;} | |
51e48ddc | 139 | AliLocalRhoParameter* GetLocalRhoParameter() const {return fLocalRho;} |
9e5eee5d | 140 | Double_t GetJetRadius() const {return GetJetContainer()->GetJetRadius();} |
fb10bebd | 141 | void ExecMe() {ExecOnce();} |
532186b5 | 142 | AliAnalysisTaskRhoVnModulation* ReturnMe() {return this;} |
5bd4db5f | 143 | // local cuts |
144 | void SetLocalJetMinMaxEta(Float_t min, Float_t max) {fLocalJetMinEta = min; fLocalJetMaxEta = max;} | |
145 | void SetLocalJetMinMaxEta(Float_t R) {fLocalJetMinEta = - 0.9 + R; fLocalJetMaxEta = 0.9 - R; } | |
146 | void SetLocalJetMinMaxPhi(Float_t min, Float_t max) {fLocalJetMinPhi = min; fLocalJetMaxEta = max;} | |
e2fde0c9 | 147 | void SetSoftTrackMinMaxPt(Float_t min, Float_t max) {fSoftTrackMinPt = min; fSoftTrackMaxPt = max;} |
a12e0247 | 148 | void SetSemiGoodJetMinMaxPhi(Double_t a, Double_t b) {fSemiGoodJetMinPhi = a; fSemiGoodJetMaxPhi = b;} |
149 | void SetSemiGoodTrackMinMaxPhi(Double_t a, Double_t b) {fSemiGoodTrackMinPhi = a; fSemiGoodTrackMaxPhi = b;} | |
e2fde0c9 | 150 | // numerical evaluations |
38d2189d | 151 | void CalculateEventPlaneVZERO(Double_t vzero[2][2]) const; |
847e45e0 | 152 | void CalculateEventPlaneTPC(Double_t* tpc); |
51e48ddc | 153 | void CalculateEventPlaneCombinedVZERO(Double_t* comb) const; |
a3e16fac | 154 | void CalculateEventPlaneResolution(Double_t vzero[2][2], Double_t* vzeroComb, Double_t* tpc); |
51e48ddc | 155 | Double_t CalculateEventPlaneChi(Double_t resEP) const; |
9e5eee5d | 156 | void CalculateRandomCone(Float_t &pt, Float_t &eta, Float_t &phi, AliEmcalJet* jet = 0x0) const; |
e2fde0c9 | 157 | Double_t CalculateQC2(Int_t harm); |
158 | Double_t CalculateQC4(Int_t harm); | |
258033f5 | 159 | // helper calculations for the q-cumulant analysis, also used by AliAnalyisTaskJetFlow |
e2fde0c9 | 160 | void QCnQnk(Int_t n, Int_t k, Double_t &reQ, Double_t &imQ); |
258033f5 | 161 | void QCnDiffentialFlowVectors( |
162 | TClonesArray* pois, TArrayD* ptBins, Bool_t vpart, Double_t* repn, Double_t* impn, | |
163 | Double_t *mp, Double_t *reqn, Double_t *imqn, Double_t* mq, Int_t n); | |
e2fde0c9 | 164 | Double_t QCnS(Int_t i, Int_t j); |
165 | Double_t QCnM(); | |
166 | Double_t QCnM11(); | |
167 | Double_t QCnM1111(); | |
532186b5 | 168 | Bool_t QCnRecovery(Double_t psi2, Double_t psi3); |
38d2189d | 169 | // analysis details |
1460d7da | 170 | Bool_t CorrectRho(Double_t psi2, Double_t psi3); |
258033f5 | 171 | // event and track selection, also used by AliAnalyisTaskJetFlow |
9e5eee5d | 172 | /* inline */ Bool_t PassesCuts(AliVTrack* track) const { return AcceptTrack(track, 0); } |
173 | /* inline */ Bool_t PassesCuts(AliEmcalJet* jet) { return AcceptJet(jet, 0); } | |
38d2189d | 174 | Bool_t PassesCuts(AliVEvent* event); |
b7453b38 | 175 | Bool_t PassesCuts(Int_t year); |
38d2189d | 176 | Bool_t PassesCuts(const AliVCluster* track) const; |
38d2189d | 177 | // filling histograms |
9e5eee5d | 178 | void FillHistogramsAfterSubtraction(Double_t psi2, Double_t psi3, Double_t vzero[2][2], Double_t* vzeroComb, Double_t* tpc); |
38d2189d | 179 | void FillTrackHistograms() const; |
180 | void FillClusterHistograms() const; | |
181 | void FillCorrectedClusterHistograms() const; | |
9d202ae1 | 182 | void FillEventPlaneHistograms(Double_t vzero[2][2], Double_t* vzeroComb, Double_t* tpc) const; |
9e5eee5d | 183 | void FillRhoHistograms(); |
9d202ae1 | 184 | void FillDeltaPtHistograms(Double_t psi2, Double_t psi3) const; |
9e5eee5d | 185 | void FillJetHistograms(Double_t psi2, Double_t psi3); |
38d2189d | 186 | void FillQAHistograms(AliVTrack* vtrack) const; |
187 | void FillQAHistograms(AliVEvent* vevent); | |
5bd4db5f | 188 | void FillAnalysisSummaryHistogram() const; |
38d2189d | 189 | virtual void Terminate(Option_t* option); |
1460d7da | 190 | // interface methods for the output file |
191 | void SetOutputList(TList* l) {fOutputList = l;} | |
192 | TH1F* GetResolutionFromOuptutFile(detectorType detector, Int_t h = 2, TArrayD* c = 0x0); | |
193 | TH1F* CorrectForResolutionDiff(TH1F* v, detectorType detector, TArrayD* cen, Int_t c, Int_t h = 2); | |
194 | TH1F* CorrectForResolutionInt(TH1F* v, detectorType detector, TArrayD* cen, Int_t h = 2); | |
532186b5 | 195 | TH1F* GetDifferentialQC(TProfile* refCumulants, TProfile* diffCumlants, TArrayD* ptBins, Int_t h); |
38d2189d | 196 | private: |
3531e13d | 197 | // analysis flags and settings |
38d2189d | 198 | Int_t fDebug; // debug level (0 none, 1 fcn calls, 2 verbose) |
f59c58a1 | 199 | Bool_t fRunToyMC; // run toy mc for fit routine |
a3e16fac | 200 | Bool_t fLocalInit; //! is the analysis initialized? |
eb18d0bf | 201 | Bool_t fAttachToEvent; // attach local rho to the event |
87233f72 | 202 | Bool_t fSemiCentralInclusive; // semi central inclusive event selection |
eb18d0bf | 203 | Bool_t fFillHistograms; // fill histograms |
38d2189d | 204 | Bool_t fFillQAHistograms; // fill qa histograms |
9d202ae1 | 205 | Float_t fReduceBinsXByFactor; // reduce the bins on x-axis of histo's by this much |
206 | Float_t fReduceBinsYByFactor; // reduce the bins on y-axis of histo's by this much | |
532186b5 | 207 | Bool_t fNoEventWeightsForQC; // don't store event weights for qc analysis |
44961528 | 208 | TArrayD* fCentralityClasses; //-> centrality classes (maximum 10) |
258033f5 | 209 | TArrayD* fPtBinsHybrids; //-> pt bins for hybrid track vn anaysis |
210 | TArrayD* fPtBinsJets; //-> pt bins for jet vn analysis | |
9ad3a4e7 | 211 | TH1F* fUserSuppliedV2; // histo with integrated v2 |
212 | TH1F* fUserSuppliedV3; // histo with integrated v3 | |
60ad809f | 213 | TH1F* fUserSuppliedR2; // correct the extracted v2 with this r |
214 | TH1F* fUserSuppliedR3; // correct the extracted v3 with this r | |
3261628e | 215 | AliParticleContainer* fTracksCont; //!tracks |
216 | AliJetContainer* fJetsCont; //!jets | |
38d2189d | 217 | // members |
20ace3c2 | 218 | Bool_t fUseScaledRho; // use scaled rho |
847e45e0 | 219 | Int_t fNAcceptedTracks; //! number of accepted tracks |
e2fde0c9 | 220 | Int_t fNAcceptedTracksQCn; //! accepted tracks for QCn |
38d2189d | 221 | fitModulationType fFitModulationType; // fit modulation type |
f59c58a1 | 222 | fitGoodnessTest fFitGoodnessTest; // fit goodness test type |
532186b5 | 223 | qcRecovery fQCRecovery; // recovery type for e-by-e qc method |
b43cf414 | 224 | Bool_t fUsePtWeight; // use dptdphi instead of dndphi |
e64ad794 | 225 | Bool_t fUsePtWeightErrorPropagation; // recalculate the bin errors in case of pt weighting |
38d2189d | 226 | detectorType fDetectorType; // type of detector used for modulation fit |
227 | TString fFitModulationOptions; // fit options for modulation fit | |
228 | runModeType fRunModeType; // run mode type | |
229 | dataType fDataType; // datatype | |
69fa9ebe | 230 | collisionType fCollisionType; // collision type |
38d2189d | 231 | TRandom3* fRandom; //-> dont use gRandom to not interfere with other tasks |
738a3b4b | 232 | Int_t fRunNumber; //! current runnumber (for QA and jet, track selection) |
38d2189d | 233 | Int_t fMappedRunNumber; //! mapped runnumer (for QA) |
234 | Int_t fInCentralitySelection; //! centrality bin | |
235 | TF1* fFitModulation; //-> modulation fit for rho | |
fcc9bd37 | 236 | TF1* fFitControl; //-> control fit |
3531e13d | 237 | Float_t fMinPvalue; // minimum value of p |
847e45e0 | 238 | Float_t fMaxPvalue; // maximum value of p |
38d2189d | 239 | const char* fNameJetClones; //! collection of tclones array with jets |
240 | const char* fNamePicoTrackClones; //! collection of tclones with pico tracks | |
241 | const char* fNameRho; //! name of rho | |
5bd4db5f | 242 | // additional jet cuts (most are inherited) |
243 | Float_t fLocalJetMinEta; // local eta cut for jets | |
244 | Float_t fLocalJetMaxEta; // local eta cut for jets | |
245 | Float_t fLocalJetMinPhi; // local phi cut for jets | |
246 | Float_t fLocalJetMaxPhi; // local phi cut for jets | |
e2fde0c9 | 247 | Float_t fSoftTrackMinPt; // min pt for soft tracks |
248 | Float_t fSoftTrackMaxPt; // max pt for soft tracks | |
a12e0247 | 249 | Double_t fSemiGoodJetMinPhi; // min phi for semi good tpc runs |
250 | Double_t fSemiGoodJetMaxPhi; // max phi for semi good tpc runs | |
251 | Double_t fSemiGoodTrackMinPhi; // min phi for semi good tpc runs | |
252 | Double_t fSemiGoodTrackMaxPhi; // max phi for semi good tpc runs | |
38d2189d | 253 | // event cuts |
254 | Float_t fAbsVertexZ; // cut on zvertex | |
255 | // general qa histograms | |
256 | TH1F* fHistCentrality; //! accepted centrality | |
257 | TH1F* fHistVertexz; //! accepted verte | |
258 | TH2F* fHistRunnumbersPhi; //! run numbers averaged phi | |
259 | TH2F* fHistRunnumbersEta; //! run numbers averaged eta | |
f59c58a1 | 260 | TH1F* fHistPvalueCDFROOT; //! pdf value of chisquare p |
83c44dac | 261 | TH2F* fHistPvalueCDFROOTCent; //! p value versus centrlaity from root |
262 | TH2F* fHistChi2ROOTCent; //! reduced chi2 from ROOT, centrality correlation | |
dbdb284e | 263 | TH2F* fHistPChi2Root; //! correlation p value and reduced chi2 |
847e45e0 | 264 | TH1F* fHistPvalueCDF; //! cdf value of chisquare p |
83c44dac | 265 | TH2F* fHistPvalueCDFCent; //! p value vs centrality |
266 | TH2F* fHistChi2Cent; //! reduced chi2, centrlaity correlation | |
dbdb284e | 267 | TH2F* fHistPChi2; //! correlation p value and reduced chi2 |
f59c58a1 | 268 | TH1F* fHistKolmogorovTest; //! KolmogorovTest value |
83c44dac | 269 | TH2F* fHistKolmogorovTestCent;//! KolmogorovTest value, centrality correlation |
dbdb284e | 270 | TH2F* fHistPKolmogorov; //! p value vs kolmogorov value |
e64ad794 | 271 | TH2F* fHistRhoStatusCent; //! status of rho as function of centrality |
38d2189d | 272 | // general settings |
847e45e0 | 273 | Float_t fMinDisanceRCtoLJ; // min distance between rc and leading jet |
274 | Float_t fRandomConeRadius; // radius of random cone | |
af733b78 | 275 | Int_t fMaxCones; // max number of random cones |
847e45e0 | 276 | Bool_t fAbsVnHarmonics; // force postive local rho |
277 | Float_t fExcludeLeadingJetsFromFit; // exclude n leading jets from fit | |
278 | Bool_t fRebinSwapHistoOnTheFly; // rebin swap histo on the fly | |
279 | Float_t fPercentageOfFits; // save this percentage of fits | |
51e48ddc | 280 | Bool_t fUseV0EventPlaneFromHeader; // use the vzero event plane from the header |
b7453b38 | 281 | Int_t fExplicitOutlierCut; // cut on correlation of tpc and global multiplicity |
282 | Double_t fMinLeadingHadronPt; // minimum pt for leading hadron | |
51e48ddc | 283 | Bool_t fSubtractJetPt; // save subtracted jet pt by calling SetPtSub |
38d2189d | 284 | // transient object pointers |
285 | TList* fOutputList; //! output list | |
286 | TList* fOutputListGood; //! output list for local analysis | |
287 | TList* fOutputListBad; //! output list for local analysis | |
288 | TH1F* fHistAnalysisSummary; //! analysis summary | |
289 | TH1F* fHistSwap; //! swap histogram | |
847e45e0 | 290 | TProfile* fProfV2; //! extracted v2 |
e2fde0c9 | 291 | TProfile* fProfV2Cumulant; //! v2 cumulant |
847e45e0 | 292 | TProfile* fProfV2Resolution[10]; //! resolution parameters for v2 |
293 | TProfile* fProfV3; //! extracted v3 | |
e2fde0c9 | 294 | TProfile* fProfV3Cumulant; //! v3 cumulant |
847e45e0 | 295 | TProfile* fProfV3Resolution[10]; //! resolution parameters for v3 |
38d2189d | 296 | // qa histograms for accepted pico tracks |
297 | TH1F* fHistPicoTrackPt[10]; //! pt of all charged tracks | |
532186b5 | 298 | TH1F* fHistPicoTrackMult[10]; //! multiplicity of accepted pico tracks |
38d2189d | 299 | TH2F* fHistPicoCat1[10]; //! pico tracks spd hit and refit |
300 | TH2F* fHistPicoCat2[10]; //! pico tracks wo spd hit w refit, constrained | |
301 | TH2F* fHistPicoCat3[10]; //! pico tracks wo spd hit wo refit, constrained | |
302 | // qa histograms for accepted emcal clusters | |
303 | /* TH1F* fHistClusterPt[10]; //! pt uncorrected emcal clusters */ | |
304 | /* TH1F* fHistClusterPhi[10]; //! phi uncorrected emcal clusters */ | |
305 | /* TH1F* fHistClusterEta[10]; //! eta uncorrected emcal clusters */ | |
b43cf414 | 306 | // qa histograms for accepted emcal clusters aftehadronic correction |
38d2189d | 307 | /* TH1F* fHistClusterCorrPt[10]; //! pt corrected emcal clusters */ |
308 | /* TH1F* fHistClusterCorrPhi[10]; //! phi corrected emcal clusters */ | |
309 | /* TH1F* fHistClusterCorrEta[10]; //! eta corrected emcal clusters */ | |
310 | // qa event planes | |
847e45e0 | 311 | TProfile* fHistPsiControl; //! event plane control histogram |
312 | TProfile* fHistPsiSpread; //! event plane spread histogram | |
38d2189d | 313 | TH1F* fHistPsiVZEROA; //! psi 2 from vzero a |
314 | TH1F* fHistPsiVZEROC; //! psi 2 from vzero c | |
9d202ae1 | 315 | TH1F* fHistPsiVZERO; //! psi 2 from combined vzero |
38d2189d | 316 | TH1F* fHistPsiTPC; //! psi 2 from tpc |
7d876e3e | 317 | TH2F* fHistPsiVZEROAV0M; //! psi 2 from vzero a |
318 | TH2F* fHistPsiVZEROCV0M; //! psi 2 from vzero c | |
319 | TH2F* fHistPsiVZEROVV0M; //! psi 2 from combined vzero | |
320 | TH2F* fHistPsiTPCiV0M; //! psi 2 from tpc | |
321 | TH2F* fHistPsiVZEROATRK; //! psi 2 from vzero a | |
322 | TH2F* fHistPsiVZEROCTRK; //! psi 2 from vzero c | |
323 | TH2F* fHistPsiVZEROTRK; //! psi 2 from combined vzero | |
324 | TH2F* fHistPsiTPCTRK; //! psi 2 from tpc | |
38d2189d | 325 | // background |
326 | TH1F* fHistRhoPackage[10]; //! rho as estimated by emcal jet package | |
327 | TH1F* fHistRho[10]; //! background | |
328 | TH2F* fHistRhoVsMult; //! rho versus multiplicity | |
329 | TH2F* fHistRhoVsCent; //! rho veruss centrality | |
330 | TH2F* fHistRhoAVsMult; //! rho * A vs multiplicity for all jets | |
331 | TH2F* fHistRhoAVsCent; //! rho * A vs centrality for all jets | |
332 | // delta pt distributions | |
3531e13d | 333 | TH2F* fHistRCPhiEta[10]; //! random cone eta and phi |
334 | TH2F* fHistRhoVsRCPt[10]; //! rho * A vs rcpt | |
335 | TH1F* fHistRCPt[10]; //! rcpt | |
9d202ae1 | 336 | TH2F* fHistDeltaPtDeltaPhi2[10]; //! dpt vs dphi (psi2 - phi) |
337 | TH2F* fHistDeltaPtDeltaPhi3[10]; //! dpt vs dphi (psi3 - phi) | |
3531e13d | 338 | TH2F* fHistRCPhiEtaExLJ[10]; //! random cone eta and phi, excl leading jet |
339 | TH2F* fHistRhoVsRCPtExLJ[10]; //! rho * A vs rcpt, excl leading jet | |
340 | TH1F* fHistRCPtExLJ[10]; //! rcpt, excl leading jet | |
9d202ae1 | 341 | TH2F* fHistDeltaPtDeltaPhi2ExLJ[10]; //! dpt vs dphi, excl leading jet |
342 | TH2F* fHistDeltaPtDeltaPhi3ExLJ[10]; //! dpt vs dphi, excl leading jet | |
406b7c22 | 343 | /* TH2F* fHistRCPhiEtaRand[10]; //! random cone eta and phi, randomized */ |
344 | /* TH2F* fHistRhoVsRCPtRand[10]; //! rho * A vs rcpt, randomized */ | |
345 | /* TH1F* fHistRCPtRand[10]; //! rcpt, randomized */ | |
346 | /* TH2F* fHistDeltaPtDeltaPhi2Rand[10]; //! dpt vs dphi, randomized */ | |
347 | /* TH2F* fHistDeltaPtDeltaPhi3Rand[10]; //! dpt vs dphi, randomized */ | |
38d2189d | 348 | // jet histograms (after kinematic cuts) |
349 | TH1F* fHistJetPtRaw[10]; //! jet pt - no background subtraction | |
350 | TH1F* fHistJetPt[10]; //! pt of found jets (background subtracted) | |
351 | TH2F* fHistJetEtaPhi[10]; //! eta and phi correlation | |
352 | TH2F* fHistJetPtArea[10]; //! jet pt versus area | |
353 | TH2F* fHistJetPtConstituents[10]; //! jet pt versus number of constituents | |
b43cf414 | 354 | TH2F* fHistJetEtaRho[10]; //! jet eta versus jet rho |
38d2189d | 355 | // in plane, out of plane jet spectra |
9d202ae1 | 356 | TH2F* fHistJetPsi2Pt[10]; //! psi tpc versus pt |
357 | TH2F* fHistJetPsi3Pt[10]; //! psi vzeroc versus pt | |
38d2189d | 358 | |
38d2189d | 359 | AliAnalysisTaskRhoVnModulation(const AliAnalysisTaskRhoVnModulation&); // not implemented |
360 | AliAnalysisTaskRhoVnModulation& operator=(const AliAnalysisTaskRhoVnModulation&); // not implemented | |
361 | ||
83c44dac | 362 | ClassDef(AliAnalysisTaskRhoVnModulation, 22); |
38d2189d | 363 | }; |
364 | ||
365 | #endif |