]>
Commit | Line | Data |
---|---|---|
d7238ca3 | 1 | /************************************************************************* |
2 | * Task for Fragmentation Function Analysis in PWG4 Jet Task Force Train * | |
3 | *************************************************************************/ | |
4 | ||
6bec8236 | 5 | #ifndef ALIANALYSISTASKFRAGMENTATIONFUNCTION_H |
6 | #define ALIANALYSISTASKFRAGMENTATIONFUNCTION_H | |
d7238ca3 | 7 | |
6bec8236 | 8 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
9 | * See cxx source for full Copyright notice */ | |
f32b5a77 | 10 | |
d7238ca3 | 11 | /* $Id$ */ |
6bec8236 | 12 | |
d7238ca3 | 13 | class AliESDEvent; |
14 | class AliAODEvent; | |
15 | class TList; | |
6bec8236 | 16 | class TH1F; |
d7238ca3 | 17 | class TH2F; |
67e37e80 | 18 | class TH3F; |
ac017ff3 | 19 | class TProfile; |
67e37e80 | 20 | //class THnSparse; |
21 | class TRandom3; | |
d7238ca3 | 22 | |
d7238ca3 | 23 | #include "AliAnalysisTaskSE.h" |
24 | ||
25 | class AliAnalysisTaskFragmentationFunction : public AliAnalysisTaskSE { | |
6bec8236 | 26 | |
6bec8236 | 27 | public: |
656dc810 | 28 | |
29 | //---------------------------------------- | |
d7238ca3 | 30 | class AliFragFuncHistos : public TObject |
31 | { | |
656dc810 | 32 | |
33 | public: | |
d7238ca3 | 34 | |
35 | AliFragFuncHistos(const char* name = "FFhistos", | |
36 | Int_t nJetPt = 0, Float_t jetPtMin = 0, Float_t jetPtMax = 0, | |
37 | Int_t nPt = 0, Float_t ptMin = 0, Float_t ptMax = 0, | |
38 | Int_t nXi = 0, Float_t xiMin = 0, Float_t xiMax = 0, | |
39 | Int_t nZ = 0, Float_t zMin = 0, Float_t zMax = 0); | |
40 | AliFragFuncHistos(const AliFragFuncHistos& copy); | |
41 | AliFragFuncHistos& operator=(const AliFragFuncHistos &o); | |
42 | virtual ~AliFragFuncHistos(); | |
43 | ||
44 | virtual void DefineHistos(); | |
cb76764e | 45 | virtual void FillFF(Float_t trackPt, Float_t jetPt,Bool_t incrementJetPt, Float_t norm = 0); |
d7238ca3 | 46 | virtual void AddToOutput(TList* list) const; |
47 | ||
48 | private: | |
49 | ||
50 | Int_t fNBinsJetPt; // FF histos bins | |
51 | Float_t fJetPtMin; // FF histos limits | |
52 | Float_t fJetPtMax; // FF histos limits | |
53 | Int_t fNBinsPt; // FF histos bins | |
54 | Float_t fPtMin; // FF histos limits | |
55 | Float_t fPtMax; // FF histos limits | |
56 | Int_t fNBinsXi; // FF histos bins | |
57 | Float_t fXiMin; // FF histos limits | |
58 | Float_t fXiMax; // FF histos limits | |
59 | Int_t fNBinsZ; // FF histos bins | |
60 | Float_t fZMin; // FF histos limits | |
61 | Float_t fZMax; // FF histos limits | |
6bec8236 | 62 | |
656dc810 | 63 | TH2F* fh2TrackPt; //! FF: track transverse momentum |
64 | TH2F* fh2Xi; //! FF: xi | |
65 | TH2F* fh2Z; //! FF: z | |
66 | TH1F* fh1JetPt; //! jet pt | |
d7238ca3 | 67 | |
65b4c265 | 68 | TString fNameFF; // histo names prefix |
d7238ca3 | 69 | |
70 | ClassDef(AliFragFuncHistos, 1); | |
71 | }; | |
72 | ||
656dc810 | 73 | //---------------------------------------- |
d7238ca3 | 74 | class AliFragFuncQAJetHistos : public TObject |
75 | { | |
76 | ||
77 | public: | |
6bec8236 | 78 | |
d7238ca3 | 79 | AliFragFuncQAJetHistos(const char* name = "QAJethistos", |
80 | Int_t nPt = 0, Float_t ptMin = 0, Float_t ptMax = 0, | |
81 | Int_t nEta = 0, Float_t etaMin = 0, Float_t etaMax = 0, | |
82 | Int_t nPhi = 0, Float_t phiMin = 0, Float_t phiMax = 0); | |
83 | ||
84 | AliFragFuncQAJetHistos(const AliFragFuncQAJetHistos& copy); | |
85 | AliFragFuncQAJetHistos& operator=(const AliFragFuncQAJetHistos &o); | |
86 | virtual ~AliFragFuncQAJetHistos(); | |
87 | virtual void DefineHistos(); | |
88 | virtual void FillJetQA(Float_t eta, Float_t phi, Float_t pt); | |
89 | virtual void AddToOutput(TList* list) const; | |
90 | ||
91 | private: | |
92 | ||
93 | Int_t fNBinsPt; // jet QA histos bins | |
94 | Float_t fPtMin; // jet QA histos limits | |
95 | Float_t fPtMax; // jet QA histos limits | |
96 | Int_t fNBinsEta; // jet QA histos bins | |
97 | Float_t fEtaMin; // jet QA histos limits | |
98 | Float_t fEtaMax; // jet QA histos limits | |
99 | Int_t fNBinsPhi; // jet QA histos bins | |
100 | Float_t fPhiMin; // jet QA histos limits | |
101 | Float_t fPhiMax; // jet QA histos limits | |
102 | ||
103 | TH2F* fh2EtaPhi; //! jet phi vs eta | |
104 | TH1F* fh1Pt; //! jet transverse momentum | |
65b4c265 | 105 | TString fNameQAJ; // histo names prefix |
d7238ca3 | 106 | |
107 | ClassDef(AliFragFuncQAJetHistos, 1); | |
108 | }; | |
109 | ||
656dc810 | 110 | //---------------------------------------- |
d7238ca3 | 111 | class AliFragFuncQATrackHistos : public TObject |
112 | { | |
113 | ||
114 | public: | |
115 | ||
116 | AliFragFuncQATrackHistos(const char* name = "QATrackhistos", | |
117 | Int_t nPt = 0, Float_t ptMin = 0, Float_t ptMax = 0, | |
118 | Int_t nEta = 0, Float_t etaMin = 0, Float_t etaMax = 0, | |
119 | Int_t nPhi = 0, Float_t phiMin = 0, Float_t phiMax = 0, | |
120 | Float_t ptThresh = 0); | |
121 | ||
122 | AliFragFuncQATrackHistos(const AliFragFuncQATrackHistos& copy); | |
123 | AliFragFuncQATrackHistos& operator=(const AliFragFuncQATrackHistos &o); | |
124 | virtual ~AliFragFuncQATrackHistos(); | |
125 | virtual void DefineHistos(); | |
126 | virtual void FillTrackQA(Float_t eta, Float_t phi, Float_t pt); | |
127 | virtual void AddToOutput(TList* list) const; | |
128 | ||
129 | private: | |
130 | ||
656dc810 | 131 | Int_t fNBinsPt; // track QA histos bins in pt |
132 | Float_t fPtMin; // track QA histos limits in pt | |
133 | Float_t fPtMax; // track QA histos limits in pt | |
134 | Int_t fNBinsEta; // track QA histos bins in eta | |
135 | Float_t fEtaMin; // track QA histos limits in eta | |
136 | Float_t fEtaMax; // track QA histos limits in eta | |
137 | Int_t fNBinsPhi; // track QA histos bins in phi | |
138 | Float_t fPhiMin; // track QA histos limits in phi | |
139 | Float_t fPhiMax; // track QA histos limits in phi | |
d7238ca3 | 140 | |
141 | Float_t fHighPtThreshold; // high pt track phi vs eta distribution | |
142 | ||
656dc810 | 143 | TH2F* fh2EtaPhi; //! track phi vs eta |
144 | TH1F* fh1Pt; //! track transverse momentum | |
145 | TH2F* fh2HighPtEtaPhi; //! phi vs eta for high pt (>fgHighPtThreshold) tracks | |
d7238ca3 | 146 | |
65b4c265 | 147 | TString fNameQAT; // histo names prefix |
d7238ca3 | 148 | |
149 | ClassDef(AliFragFuncQATrackHistos, 1); | |
150 | }; | |
151 | ||
656dc810 | 152 | //---------------------------------------- |
153 | class AliFragFuncIntraJetHistos : public TObject | |
154 | { | |
155 | ||
156 | public: | |
157 | ||
158 | AliFragFuncIntraJetHistos(const char* name = "IntraJethistos", | |
159 | Int_t nJetPt = 0, Float_t jetPtMin = 0, Float_t jetPtMax = 0, | |
160 | Int_t nPt = 0, Float_t ptMin = 0, Float_t ptMax = 0, | |
161 | Int_t nZ = 0, Float_t zMin = 0, Float_t zMax = 0, | |
162 | Int_t nCosTheta = 0, Float_t costhetaMin = 0, Float_t costhetaMax = 0, | |
163 | Int_t nTheta = 0, Float_t thetaMin = 0, Float_t thetaMax = 0, | |
164 | Int_t nJt = 0, Float_t jtMin = 0, Float_t jtMax = 0); | |
165 | AliFragFuncIntraJetHistos(const AliFragFuncIntraJetHistos& copy); | |
166 | AliFragFuncIntraJetHistos& operator=(const AliFragFuncIntraJetHistos &o); | |
167 | virtual ~AliFragFuncIntraJetHistos(); | |
168 | ||
169 | virtual void DefineHistos(); | |
cb76764e | 170 | virtual void FillIntraJet(const TLorentzVector* trackV, const TLorentzVector* jetV, Float_t norm = 0); |
656dc810 | 171 | virtual void AddToOutput(TList* list) const; |
172 | ||
173 | private: | |
174 | ||
175 | Int_t fNBinsJetPt; // IntraJet histos bins in jet pt | |
176 | Float_t fJetPtMin; // IntraJet histos limits in jet pt | |
177 | Float_t fJetPtMax; // IntraJet histos limits in jet pt | |
178 | Int_t fNBinsPt; // IntraJet histos bins in pt | |
179 | Float_t fPtMin; // IntraJet histos limits in pt | |
180 | Float_t fPtMax; // IntraJet histos limits in pt | |
181 | Int_t fNBinsZ; // IntraJet histos bins in z | |
182 | Float_t fZMin; // IntraJet histos limits in z | |
183 | Float_t fZMax; // IntraJet histos limits in z | |
184 | Int_t fNBinsJt; // IntraJet histos bins in jt | |
185 | Float_t fJtMin; // IntraJet histos limits in jt | |
186 | Float_t fJtMax; // IntraJet histos limits in jt | |
187 | Int_t fNBinsTheta; // IntraJet histos bins in theta | |
188 | Float_t fThetaMin; // IntraJet histos limits in theta | |
189 | Float_t fThetaMax; // IntraJet histos limits in theta | |
190 | Int_t fNBinsCosTheta; // IntraJet histos bins in cos(theta) | |
191 | Float_t fCosThetaMin; // IntraJet histos limits in cos(theta) | |
192 | Float_t fCosThetaMax; // IntraJet histos limits in cos(theta) | |
193 | ||
67e37e80 | 194 | TH2F* fh2CosTheta; //! IntraJet: cos(theta) distribution |
195 | TH2F* fh2PtZ; //! IntraJet: pt vs z distribution | |
656dc810 | 196 | |
67e37e80 | 197 | TH3F* fh3ThetaZ; //! IntraJet: theta, z, jet pt |
198 | TH3F* fh3JtTheta; //! IntraJet: jt, theta, jet pt | |
199 | TH3F* fh3JtZ; //! IntraJet: jt, z, jet pt | |
656dc810 | 200 | |
65b4c265 | 201 | TString fNameIJ; // histo names prefix |
656dc810 | 202 | |
203 | ClassDef(AliFragFuncIntraJetHistos, 1); | |
204 | }; | |
205 | ||
206 | //---------------------------------------- | |
207 | class AliFragFuncDiJetHistos : public TObject | |
208 | { | |
209 | ||
210 | public: | |
211 | ||
212 | AliFragFuncDiJetHistos(const char* name = "DiJetHistos", Int_t kindSlices = 0, | |
213 | Int_t nJetinvMass = 0, Float_t jetInvMassMin = 0, Float_t jetInvMassMax = 0, | |
214 | Int_t nJetPt = 0, Float_t jetPtMin = 0, Float_t jetPtMax = 0, | |
215 | Int_t nPt = 0, Float_t ptMin = 0, Float_t ptMax = 0, | |
216 | Int_t nXi = 0, Float_t xiMin = 0, Float_t xiMax = 0, | |
217 | Int_t nZ = 0, Float_t zMin = 0, Float_t zMax = 0); | |
218 | AliFragFuncDiJetHistos(const AliFragFuncDiJetHistos& copy); | |
219 | AliFragFuncDiJetHistos& operator=(const AliFragFuncDiJetHistos &o); | |
220 | virtual ~AliFragFuncDiJetHistos(); | |
221 | ||
222 | virtual void DefineDiJetHistos(); | |
223 | virtual void FillDiJetFF(Int_t jetType, Float_t trackPt, Float_t jetPt, Double_t jetBin, Bool_t incrementJetPt); | |
224 | virtual void AddToOutput(TList* list) const; | |
225 | ||
226 | private: | |
227 | ||
65b4c265 | 228 | Int_t fKindSlices; // DJ kind of slices |
656dc810 | 229 | Int_t fNBinsJetInvMass; // FF histos bins |
230 | Float_t fJetInvMassMin; // FF histos limits | |
231 | Float_t fJetInvMassMax; // FF histos limits | |
232 | Int_t fNBinsJetPt; // FF histos bins | |
233 | Float_t fJetPtMin; // FF histos limits | |
234 | Float_t fJetPtMax; // FF histos limits | |
235 | Int_t fNBinsPt; // FF histos bins | |
236 | Float_t fPtMin; // FF histos limits | |
237 | Float_t fPtMax; // FF histos limits | |
238 | Int_t fNBinsXi; // FF histos bins | |
239 | Float_t fXiMin; // FF histos limits | |
240 | Float_t fXiMax; // FF histos limits | |
241 | Int_t fNBinsZ; // FF histos bins | |
242 | Float_t fZMin; // FF histos limits | |
243 | Float_t fZMax; // FF histos limits | |
244 | ||
245 | TH2F* fh2TrackPtJet1; //! FF dijet : track transverse momentum of jet 1 | |
246 | TH2F* fh2TrackPtJet2; //! FF dijet : track transverse momentum of jet 2 | |
247 | TH2F* fh2TrackPtJet; //! FF dijet : track transverse momentum of jets 1 and 2 | |
248 | TH1F* fh1Jet1Pt; //! jet 1 pt | |
249 | TH1F* fh1Jet2Pt; //! jet 2 pt | |
250 | TH1F* fh1JetPt; //! jet 1 and 2 pt | |
251 | TH2F* fh2Xi1; //! FF dijet : xi of jet 1 | |
252 | TH2F* fh2Xi2; //! FF dijet : xi of jet 2 | |
253 | TH2F* fh2Xi; //! FF dijet : xi of jet 1 and 2 | |
254 | TH2F* fh2Z1; //! FF dijet : z of jet 1 | |
255 | TH2F* fh2Z2; //! FF dijet : z of jet 2 | |
256 | TH2F* fh2Z; //! FF dijet : z of jet 1 and 2 | |
257 | TH2F* fh2Pt1; //! FF dijet : z of jet 1 | |
258 | TH2F* fh2Pt2; //! FF dijet : z of jet 2 | |
259 | TH2F* fh2Pt; //! FF dijet : z of jet 1 and 2 | |
260 | ||
65b4c265 | 261 | TString fNameDJ; // histo names prefix |
656dc810 | 262 | |
263 | ClassDef(AliFragFuncDiJetHistos, 1); | |
264 | }; | |
265 | ||
266 | //---------------------------------------- | |
267 | class AliFragFuncQADiJetHistos : public TObject | |
268 | { | |
269 | public: | |
270 | AliFragFuncQADiJetHistos(const char* name = "QADiJetHistos", Int_t kindSlices = 0, | |
271 | Int_t nInvMass = 0, Float_t invMassMin = 0, Float_t invMassMax = 0, | |
272 | Int_t nJetPt = 0, Float_t jetPtMin = 0, Float_t jetPtMax = 0, | |
273 | Int_t nDeltaPhi = 0, Float_t deltaPhiMin = 0, Float_t deltaPhiMax = 0, | |
274 | Int_t nDeltaEta = 0, Float_t deltaEtaMin = 0, Float_t deltaEtaMax = 0, | |
275 | Int_t nDeltaPt = 0, Float_t deltaPtMin = 0, Float_t deltaPtMax = 0); | |
276 | AliFragFuncQADiJetHistos(const AliFragFuncQADiJetHistos& copy); | |
277 | AliFragFuncQADiJetHistos& operator=(const AliFragFuncQADiJetHistos &o); | |
278 | virtual ~AliFragFuncQADiJetHistos(); | |
279 | ||
280 | virtual void DefineQADiJetHistos(); | |
281 | virtual void FillDiJetQA(Double_t invMass, Double_t deltaPhi, Double_t deltaEta, Double_t deltaPt, Double_t jetBin); | |
282 | virtual void AddToOutput(TList* list) const; | |
283 | ||
284 | private: | |
285 | ||
65b4c265 | 286 | Int_t fKindSlices; // DJ kind of slices |
656dc810 | 287 | Int_t fNBinsJetInvMass; // FF histos bins in jet invariant mass |
288 | Float_t fJetInvMassMin; // FF histos limits in jet invariant mass | |
289 | Float_t fJetInvMassMax; // FF histos limits in jet invariant mass | |
290 | Int_t fNBinsJetPt; // FF histos bins in jet pt | |
291 | Float_t fJetPtMin; // FF histos limits in jet pt | |
292 | Float_t fJetPtMax; // FF histos limits in jet pt | |
293 | Int_t fNBinsDeltaPhi; // FF histos bins in jet delta phi | |
294 | Float_t fDeltaPhiMin; // FF histos limits in jet delta phi | |
295 | Float_t fDeltaPhiMax; // FF histos limits in jet delta phi | |
296 | Int_t fNBinsDeltaEta; // FF histos bins in jet delta eta | |
297 | Float_t fDeltaEtaMin; // FF histos limits in jet delta eta | |
298 | Float_t fDeltaEtaMax; // FF histos limits in jet delta eta | |
299 | Int_t fNBinsDeltaPt; // FF histos bins in jet delta pt | |
300 | Float_t fDeltaPtMin; // FF histos limits in jet delta pt | |
301 | Float_t fDeltaPtMax; // FF histos limits in jet delta pt | |
302 | ||
303 | TH2F* fh2InvMass; // FF dijet invariant mass histos | |
304 | TH2F* fh2DeltaPhi; // FF dijet delta phi histos | |
305 | TH2F* fh2DeltaEta; // FF dijet delta eta histos | |
306 | TH2F* fh2DeltaPt; // FF dijet delta pt histos | |
307 | ||
65b4c265 | 308 | TString fNameQADJ; // histo names prefix |
656dc810 | 309 | |
310 | ClassDef(AliFragFuncQADiJetHistos, 1); | |
311 | }; | |
d7238ca3 | 312 | |
313 | AliAnalysisTaskFragmentationFunction(); | |
314 | AliAnalysisTaskFragmentationFunction(const char *name); | |
315 | AliAnalysisTaskFragmentationFunction(const AliAnalysisTaskFragmentationFunction ©); | |
316 | AliAnalysisTaskFragmentationFunction& operator=(const AliAnalysisTaskFragmentationFunction &o); | |
317 | virtual ~AliAnalysisTaskFragmentationFunction(); | |
318 | ||
319 | virtual void UserCreateOutputObjects(); | |
320 | virtual void Init(); | |
321 | virtual void LocalInit() {Init();} | |
322 | virtual void UserExec(Option_t *option); | |
323 | virtual void Terminate(Option_t* ); | |
ac017ff3 | 324 | virtual Bool_t Notify(); |
d7238ca3 | 325 | |
326 | virtual void SetTrackTypeGen(Int_t i){fTrackTypeGen = i;} | |
327 | virtual void SetJetTypeGen(Int_t i){fJetTypeGen = i;} | |
7d9e8b32 | 328 | virtual void SetJetTypeRecEff(Int_t i){fJetTypeRecEff = i;} |
d7238ca3 | 329 | |
330 | virtual void SetBranchGenJets(const char* c){fBranchGenJets = c;} | |
331 | virtual void SetBranchRecJets(const char* c){fBranchRecJets = c;} | |
332 | ||
656dc810 | 333 | virtual void SetTrackCuts(Float_t trackPt = 0.15, Float_t trackEtaMin = -0.9, Float_t trackEtaMax = 0.9, |
334 | Float_t trackPhiMin = 0., Float_t trackPhiMax = 2*TMath::Pi()) | |
335 | {fTrackPtCut = trackPt; fTrackEtaMin = trackEtaMin; fTrackEtaMax = trackEtaMax; | |
336 | fTrackPhiMin = trackPhiMin; fTrackPhiMax = trackPhiMax;} | |
d7238ca3 | 337 | virtual void SetFilterMask(UInt_t i) {fFilterMask = i;} |
ac017ff3 | 338 | virtual void UsePhysicsSelection(Bool_t b) {fUsePhysicsSelection = b;} |
656dc810 | 339 | virtual void SetJetCuts(Float_t jetPt = 5., Float_t jetEtaMin = -0.5, Float_t jetEtaMax = 0.5, |
340 | Float_t jetPhiMin = 0., Float_t jetPhiMax = 2*TMath::Pi()) | |
341 | {fJetPtCut = jetPt; fJetEtaMin = jetEtaMin; fJetEtaMax = jetEtaMax; | |
342 | fJetPhiMin = jetPhiMin; fJetPhiMax = jetPhiMax;} | |
343 | virtual void SetDiJetCuts(Int_t cutType = 1, Float_t deltaPhiCut = 0., | |
344 | Float_t cdfCut = 0.5, Float_t ptFractionCut = 0.6) | |
345 | {fDiJetCut = cutType; fDiJetDeltaPhiCut = deltaPhiCut; | |
346 | fDiJetCDFCut = cdfCut; fDiJetPtFractionCut = ptFractionCut;} | |
f3564520 | 347 | virtual void SetKindSlices(Int_t slice = 1) {fDiJetKindBins = slice;} |
656dc810 | 348 | |
d7238ca3 | 349 | virtual void SetFFRadius(Float_t r = 0.4) { fFFRadius = r; } |
1da9498b | 350 | virtual void SetFFBckgRadius(Float_t r = 0.7) { fFFBckgRadius = r; } |
351 | virtual void SetBckgMode(Bool_t bg = 1) { fBckgMode = bg; } | |
67e37e80 | 352 | virtual void SetBckgType(Int_t bg0 = 0, Int_t bg1 = 1,Int_t bg2 = 2) |
353 | { fBckgType[0] = bg0; fBckgType[1] = bg1; fBckgType[2] = bg2;} | |
354 | virtual void SetIJMode(Int_t ij = 1) {fIJMode = ij;} | |
355 | ||
cb76764e | 356 | virtual void UseRecEffRecJetPtBins(Bool_t useRec = kTRUE) { fUseRecEffRecJetPtBins = useRec; } |
d7238ca3 | 357 | |
358 | static void SetProperties(TH1* h,const char* x, const char* y); | |
67e37e80 | 359 | static void SetProperties(TH1* h,const char* x, const char* y,const char* z); |
360 | // static void SetProperties(THnSparse* h,const Int_t dim, const char** labels); | |
d7238ca3 | 361 | |
362 | void SetHighPtThreshold(Float_t pt = 5.) { fQATrackHighPtThreshold = pt; } | |
363 | ||
364 | ||
ac017ff3 | 365 | void SetFFHistoBins(Int_t nJetPt = 245, Float_t jetPtMin = 5, Float_t jetPtMax = 250, |
366 | Int_t nPt = 200, Float_t ptMin = 0., Float_t ptMax = 200., | |
d7238ca3 | 367 | Int_t nXi = 70, Float_t xiMin = 0., Float_t xiMax = 7., |
368 | Int_t nZ = 22, Float_t zMin = 0., Float_t zMax = 1.1) | |
369 | { fFFNBinsJetPt = nJetPt; fFFJetPtMin = jetPtMin; fFFJetPtMax = jetPtMax; | |
370 | fFFNBinsPt = nPt; fFFPtMin = ptMin; fFFPtMax = ptMax; | |
371 | fFFNBinsXi = nXi; fFFXiMin = xiMin; fFFXiMax = xiMax; | |
372 | fFFNBinsZ = nZ; fFFZMin = zMin; fFFZMax = zMax; } | |
373 | ||
ac017ff3 | 374 | void SetQAJetHistoBins(Int_t nPt = 300, Float_t ptMin = 0., Float_t ptMax = 300., |
d7238ca3 | 375 | Int_t nEta = 20, Float_t etaMin = -1.0, Float_t etaMax = 1.0, |
376 | Int_t nPhi = 60, Float_t phiMin = 0., Float_t phiMax = 2*TMath::Pi()) | |
377 | { fQAJetNBinsPt = nPt; fQAJetPtMin = ptMin; fQAJetPtMax = ptMax; | |
378 | fQAJetNBinsEta = nEta; fQAJetEtaMin = etaMin; fQAJetEtaMax = etaMax; | |
379 | fQAJetNBinsPhi = nPhi; fQAJetPhiMin = phiMin; fQAJetPhiMax = phiMax; } | |
380 | ||
ac017ff3 | 381 | void SetQATrackHistoBins(Int_t nPt = 200, Float_t ptMin = 0., Float_t ptMax = 200., |
d7238ca3 | 382 | Int_t nEta = 20, Float_t etaMin = -1.0, Float_t etaMax = 1.0, |
383 | Int_t nPhi = 60, Float_t phiMin = 0., Float_t phiMax = 2*TMath::Pi()) | |
384 | { fQATrackNBinsPt = nPt; fQATrackPtMin = ptMin; fQATrackPtMax = ptMax; | |
385 | fQATrackNBinsEta = nEta; fQATrackEtaMin = etaMin; fQATrackEtaMax = etaMax; | |
386 | fQATrackNBinsPhi = nPhi; fQATrackPhiMin = phiMin; fQATrackPhiMax = phiMax; } | |
387 | ||
65b4c265 | 388 | void SetIJHistoBins(Int_t nJetPt = 245, Float_t jetPtMin = 5, Float_t jetPtMax = 250, Int_t nPt = 200, Float_t ptMin = 0., Float_t ptMax = 200., |
389 | Int_t nZ = 22, Float_t zMin = 0., Float_t zMax = 1.1, Int_t nCosTheta = 100, Float_t costhetaMin = 0., Float_t costhetaMax = 1., | |
390 | Int_t nTheta = 200, Float_t thetaMin = -0.5, Float_t thetaMax = 1.5, Int_t nJt = 25, Float_t jtMin = 0., Float_t jtMax = 5.) | |
391 | { fIJNBinsJetPt = nJetPt; fIJJetPtMin = jetPtMin; fIJJetPtMax = jetPtMax; fIJNBinsPt = nPt; fIJPtMin = ptMin; fIJPtMax = ptMax; | |
392 | fIJNBinsZ = nZ; fIJZMin = zMin; fIJZMax = zMax;fIJNBinsCosTheta = nCosTheta; fIJCosThetaMin = costhetaMin; fIJCosThetaMax = costhetaMax; | |
393 | fIJNBinsTheta = nTheta; fIJThetaMin = thetaMin; fIJThetaMax = thetaMax; fIJNBinsJt = nJt; fIJJtMin = jtMin; fIJJtMax = jtMax; } | |
394 | ||
395 | void SetDiJetHistoBins(Int_t nJetInvMass = 245, Float_t jetInvMassMin = 5, Float_t jetInvMassMax = 250, Int_t nJetPt = 245, Float_t jetPtMin = 5, | |
396 | Float_t jetPtMax = 250, Int_t nPt = 200, Float_t ptMin = 0., Float_t ptMax = 200., Int_t nXi = 70, Float_t xiMin = 0., | |
397 | Float_t xiMax = 7., Int_t nZ = 22, Float_t zMin = 0., Float_t zMax = 1.1) | |
656dc810 | 398 | { |
65b4c265 | 399 | fDiJetNBinsJetInvMass = nJetInvMass; fDiJetJetInvMassMin = jetInvMassMin; fDiJetJetInvMassMax = jetInvMassMax; fDiJetNBinsJetPt = nJetPt; fDiJetJetPtMin = jetPtMin; |
400 | fDiJetJetPtMax = jetPtMax; fDiJetNBinsPt = nPt; fDiJetPtMin = ptMin; fDiJetPtMax = ptMax; fDiJetNBinsXi = nXi; fDiJetXiMin = xiMin; | |
401 | fDiJetXiMax = xiMax; fDiJetNBinsZ = nZ; fDiJetZMin = zMin; fDiJetZMax = zMax; | |
656dc810 | 402 | } |
403 | ||
65b4c265 | 404 | void SetQADiJetHistoBins(Int_t nInvMass = 245, Float_t invMassMin = 5., Float_t invMassMax = 250., Int_t nJetPt = 245, Float_t jetPtMin = 5, Float_t jetPtMax = 250, |
405 | Int_t nDeltaPhi = 100, Float_t deltaPhiMin = 0., Float_t deltaPhiMax = TMath::Pi(), Int_t nDeltaEta = 22, Float_t deltaEtaMin = 0., | |
406 | Float_t deltaEtaMax = 1.1, Int_t nDeltaPt = 100, Float_t deltaPtMin = 0., Float_t deltaPtMax = 100.) | |
656dc810 | 407 | { |
65b4c265 | 408 | fQADiJetNBinsInvMass = nInvMass; fQADiJetInvMassMin = invMassMin; fQADiJetInvMassMax = invMassMax; fQADiJetNBinsJetPt = nJetPt; fQADiJetJetPtMin = jetPtMin; |
409 | fQADiJetJetPtMax = jetPtMax; fQADiJetNBinsDeltaPhi = nDeltaPhi; fQADiJetDeltaPhiMin = deltaPhiMin; fQADiJetDeltaPhiMax = deltaPhiMax; fQADiJetNBinsDeltaEta = nDeltaEta; | |
410 | fQADiJetDeltaEtaMin = deltaEtaMin; fQADiJetDeltaEtaMax = deltaEtaMax; fQADiJetNBinsDeltaPt = nDeltaPt; fQADiJetDeltaPtMin = deltaPtMin; fQADiJetDeltaPtMax = deltaPtMax; | |
656dc810 | 411 | } |
412 | ||
413 | Float_t GetFFRadius() const { return fFFRadius; } | |
1da9498b | 414 | Float_t GetFFBckgRadius() const { return fFFBckgRadius; } |
65b4c265 | 415 | void GetJetTracksTrackrefs(TList* l, const AliAODJet* j); |
416 | void GetJetTracksPointing(TList* in, TList* out, const AliAODJet* j, const Double_t r, Double_t& pt); | |
03d5f485 | 417 | void GetOutNJetsTracks(Int_t nCases, TList* in, TList* out, TList* jets, Double_t& pt); |
418 | void GetOutNJetsTracksStat(Int_t nCases, TList* in, TList* out, TList* jets, Double_t& pt, Double_t &normFactor); | |
1da9498b | 419 | void GetOutPerpJetTracks(TList* inputlist, TList* outputlist, AliAODJet* jet, Double_t radius,Double_t& sumPt); |
656dc810 | 420 | Double_t GetDiJetBin(Double_t invMass, Double_t leadingJetPt, Double_t eMean, Int_t kindSlices); // function to find which bin fill |
65b4c265 | 421 | Double_t InvMass(const AliAODJet* jet1, const AliAODJet* jet2); |
7d9e8b32 | 422 | void AssociateGenRec(TList* tracksAODMCCharged,TList* tracksRec, TArrayI& indexAODTr,TArrayI& indexMCTr,TArrayS& isGenPrim); |
cb76764e | 423 | void FillSingleTrackRecEffHisto(AliFragFuncQATrackHistos* trackQAGen, AliFragFuncQATrackHistos* trackQARec, TList* tracksGen, const TArrayI& indexAODTr, const TArrayS& isGenPrim); |
424 | void FillJetTrackRecEffHisto(TObject* histGen,TObject* histRec,Double_t jetPtGen,Double_t jetPtRec, TList* jetTrackList, TList* tracksGen, | |
425 | const TArrayI& indexAODTr,const TArrayS& isGenPrim, const Bool_t useRecJetPt); | |
1da9498b | 426 | Float_t CalcJetArea(Float_t etaJet, Float_t rc); |
67e37e80 | 427 | void FillBckgHistos(Int_t type, TList* inputtracklist, TList* inputjetlist, AliAODJet* jet, |
428 | Float_t leadTrackPt, TLorentzVector* leadTrackV, AliFragFuncHistos* ffbckghistocuts, | |
429 | AliFragFuncHistos* ffbckghistoleading,AliFragFuncIntraJetHistos* ijbckghistocuts, | |
430 | AliFragFuncIntraJetHistos* ijbckghistoleading,AliFragFuncQATrackHistos* qabckghistos); | |
431 | ||
d7238ca3 | 432 | // Consts |
433 | ||
7d9e8b32 | 434 | enum {kTrackUndef=0, kTrackAOD, kTrackAODQualityCuts, kTrackAODCuts, kTrackKineAll, kTrackKineCharged, kTrackKineChargedAcceptance, |
435 | kTrackAODMCAll, kTrackAODMCCharged, kTrackAODMCChargedAcceptance}; | |
d7238ca3 | 436 | enum {kJetsUndef=0, kJetsRec, kJetsRecAcceptance, kJetsGen, kJetsGenAcceptance, kJetsKine, kJetsKineAcceptance}; |
67e37e80 | 437 | enum {kBckgPerp=0, kBckgOutLJ, kBckgOut2J, kBckgOut3J, kBckgOutAJ, kBckgOutLJStat, kBckgOut2JStat, kBckgOut3JStat, kBckgOutAJStat, kBckgClusters}; |
438 | ||
ac017ff3 | 439 | |
440 | private: | |
d7238ca3 | 441 | |
442 | Int_t GetListOfTracks(TList* list, Int_t type); | |
443 | Int_t GetListOfJets(TList* list, Int_t type); | |
67e37e80 | 444 | Int_t GetListOfBckgJets(TList *list, Int_t type); |
445 | ||
d7238ca3 | 446 | AliESDEvent* fESD; // ESD event |
447 | AliAODEvent* fAOD; // AOD event | |
65b4c265 | 448 | //AliMCEvent* fMCEvent; // MC event |
d7238ca3 | 449 | |
450 | TString fBranchRecJets; // branch name for reconstructed jets | |
451 | TString fBranchGenJets; // branch name for generated jets | |
452 | ||
656dc810 | 453 | Int_t fTrackTypeGen; // type of generated tracks |
454 | Int_t fJetTypeGen; // type of generated jets | |
d7238ca3 | 455 | |
7d9e8b32 | 456 | Int_t fJetTypeRecEff; // type of jets used for filling reconstruction efficiency histos |
457 | ||
656dc810 | 458 | UInt_t fFilterMask; // filter bit for selected tracks |
ac017ff3 | 459 | Bool_t fUsePhysicsSelection; // switch for event selection |
d7238ca3 | 460 | |
461 | // track cuts | |
656dc810 | 462 | Float_t fTrackPtCut; // track transverse momentum cut |
463 | Float_t fTrackEtaMin; // track eta cut | |
464 | Float_t fTrackEtaMax; // track eta cut | |
465 | Float_t fTrackPhiMin; // track phi cut | |
466 | Float_t fTrackPhiMax; // track phi cut | |
d7238ca3 | 467 | |
468 | // jet cuts | |
656dc810 | 469 | Float_t fJetPtCut; // jet transverse momentum cut |
470 | Float_t fJetEtaMin; // jet eta cut | |
471 | Float_t fJetEtaMax; // jet eta cut | |
472 | Float_t fJetPhiMin; // jet phi cut | |
473 | Float_t fJetPhiMax; // jet phi cut | |
474 | ||
475 | // di-jet cuts | |
476 | Int_t fDiJetCut; // dijet cut selection | |
477 | Float_t fDiJetDeltaPhiCut; // delta phi cut value | |
478 | Float_t fDiJetPtFractionCut; // fraction of pt cut value | |
479 | Float_t fDiJetCDFCut; // cdf cut value | |
480 | ||
481 | Int_t fDiJetKindBins; // type of bins: invmass, etleading, emean | |
d7238ca3 | 482 | |
d7238ca3 | 483 | Float_t fFFRadius; // if radius > 0 construct FF from tracks within cone around jet axis, otherwise use trackRefs |
1da9498b | 484 | Float_t fFFBckgRadius; // compute background outside cone of this radius around jet axes |
485 | Bool_t fBckgMode; // Set background subtraction mode | |
67e37e80 | 486 | Bool_t fIJMode; // Set intrajet mode |
487 | Int_t fBckgType[3]; // Set background subtraction mode | |
488 | ||
cb76764e | 489 | Bool_t fUseRecEffRecJetPtBins; // bin track reconstruction efficiency in reconstructed/generated jet pt bins |
490 | ||
c2658535 | 491 | Float_t fAvgTrials; // average number of trials per event |
d7238ca3 | 492 | |
7d9e8b32 | 493 | TList* fTracksRec; //! reconstructed tracks |
494 | TList* fTracksRecCuts; //! reconstructed tracks after cuts | |
495 | TList* fTracksGen; //! generated tracks | |
496 | TList* fTracksAODMCCharged; //! AOD MC tracks | |
497 | TList* fTracksRecQualityCuts; //! reconstructed tracks after quality cuts, no acceptance/pt cut | |
498 | ||
d7238ca3 | 499 | |
500 | TList* fJetsRec; //! jets from reconstructed tracks | |
501 | TList* fJetsRecCuts; //! jets from reonstructed tracks after jet cuts | |
502 | TList* fJetsGen; //! jets from generated tracks | |
7d9e8b32 | 503 | TList* fJetsRecEff; //! jets used for reconstruction efficiency histos |
67e37e80 | 504 | TList* fBckgJetsRec; //! jets from reconstructed tracks |
505 | TList* fBckgJetsRecCuts; //! jets from reonstructed tracks after jet cuts | |
506 | TList* fBckgJetsGen; //! jets from generated tracks | |
507 | ||
d7238ca3 | 508 | |
509 | AliFragFuncQATrackHistos* fQATrackHistosRec; //! track QA: reconstructed tracks | |
510 | AliFragFuncQATrackHistos* fQATrackHistosRecCuts; //! track QA: reconstructed tracks after cuts | |
511 | AliFragFuncQATrackHistos* fQATrackHistosGen; //! track QA: generated tracks | |
512 | ||
513 | AliFragFuncQAJetHistos* fQAJetHistosRec; //! jet QA: jets from reconstructed tracks | |
514 | AliFragFuncQAJetHistos* fQAJetHistosRecCuts; //! jet QA: jets from reconstructed tracks after jet cuts | |
515 | AliFragFuncQAJetHistos* fQAJetHistosRecCutsLeading; //! jet QA: leading jet from reconstructed tracks after jet cuts | |
516 | AliFragFuncQAJetHistos* fQAJetHistosGen; //! jet QA: jets from generated tracks | |
517 | AliFragFuncQAJetHistos* fQAJetHistosGenLeading; //! jet QA: leading jet from generated tracks | |
7d9e8b32 | 518 | AliFragFuncQAJetHistos* fQAJetHistosRecEffLeading; //! jet QA: leading jet used for reconstruction efficiency histos |
d7238ca3 | 519 | |
7d9e8b32 | 520 | |
d7238ca3 | 521 | AliFragFuncHistos* fFFHistosRecCuts; //! FF reconstructed tracks after cuts |
522 | AliFragFuncHistos* fFFHistosRecLeading; //! FF reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
523 | AliFragFuncHistos* fFFHistosRecLeadingTrack; //! FF reconstructed tracks after cuts: leading track pt / jet pt | |
524 | AliFragFuncHistos* fFFHistosGen; //! FF generated tracks after cuts | |
525 | AliFragFuncHistos* fFFHistosGenLeading; //! FF generated tracks after cuts: all generated tracks pt / leading track pt | |
526 | AliFragFuncHistos* fFFHistosGenLeadingTrack; //! FF generated tracks after cuts: leading track pt / jet pt | |
527 | ||
656dc810 | 528 | |
529 | AliFragFuncIntraJetHistos* fIJHistosRecCuts; //! IJ reconstructed tracks after cuts | |
530 | AliFragFuncIntraJetHistos* fIJHistosRecLeading; //! IJ reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
531 | AliFragFuncIntraJetHistos* fIJHistosRecLeadingTrack; //! IJ reconstructed tracks after cuts: leading track pt / jet pt | |
532 | AliFragFuncIntraJetHistos* fIJHistosGen; //! IJ generated tracks after cuts | |
533 | AliFragFuncIntraJetHistos* fIJHistosGenLeading; //! IJ generated tracks after cuts: all generated tracks pt / leading track pt | |
534 | AliFragFuncIntraJetHistos* fIJHistosGenLeadingTrack; //! IJ generated tracks after cuts: leading track pt / jet pt | |
535 | ||
536 | AliFragFuncDiJetHistos* fFFDiJetHistosRecCuts; //! DiJet FF reconstructed tracks after cuts | |
537 | AliFragFuncDiJetHistos* fFFDiJetHistosRecLeading; //! DiJet FF reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
538 | AliFragFuncDiJetHistos* fFFDiJetHistosRecLeadingTrack; //! DiJet FF reconstructed tracks after cuts: leading track pt / jet pt | |
539 | ||
540 | AliFragFuncDiJetHistos* fFFDiJetHistosGen; //! DiJet FF generated tracks after cuts | |
541 | AliFragFuncDiJetHistos* fFFDiJetHistosGenLeading; //! DiJet FF generated tracks after cuts: all generated tracks pt / leading track pt | |
542 | AliFragFuncDiJetHistos* fFFDiJetHistosGenLeadingTrack; //! DiJet FF generated tracks after cuts: leading track pt / jet pt | |
543 | ||
544 | AliFragFuncQADiJetHistos* fQADiJetHistosRecCuts; //! Dijet QA : reconstructed tracks after cuts | |
545 | AliFragFuncQADiJetHistos* fQADiJetHistosGen; //! DiJet QA: jets from generated tracks | |
546 | ||
547 | ||
d7238ca3 | 548 | Float_t fQATrackHighPtThreshold; // track QA high transverse momentum threshold |
549 | ||
550 | // histogram bins | |
551 | ||
552 | Int_t fFFNBinsJetPt; // FF histos bins | |
553 | Float_t fFFJetPtMin; // FF histos limits | |
554 | Float_t fFFJetPtMax; // FF histos limits | |
555 | ||
556 | Int_t fFFNBinsPt; // FF histos bins | |
557 | Float_t fFFPtMin; // FF histos limits | |
558 | Float_t fFFPtMax; // FF histos limits | |
559 | ||
560 | Int_t fFFNBinsXi; // FF histos bins | |
561 | Float_t fFFXiMin; // FF histos limits | |
562 | Float_t fFFXiMax; // FF histos limits | |
563 | ||
564 | Int_t fFFNBinsZ; // FF histos bins | |
565 | Float_t fFFZMin; // FF histos limits | |
566 | Float_t fFFZMax; // FF histos limits | |
567 | ||
568 | Int_t fQAJetNBinsPt; // jet QA histos bins | |
569 | Float_t fQAJetPtMin; // jet QA histos limits | |
570 | Float_t fQAJetPtMax; // jet QA histos limits | |
571 | ||
572 | Int_t fQAJetNBinsEta; // jet QA histos bins | |
573 | Float_t fQAJetEtaMin; // jet QA histos limits | |
574 | Float_t fQAJetEtaMax; // jet QA histos limits | |
575 | ||
576 | Int_t fQAJetNBinsPhi; // jet QA histos bins | |
577 | Float_t fQAJetPhiMin; // jet QA histos limits | |
578 | Float_t fQAJetPhiMax; // jet QA histos limits | |
579 | ||
580 | Int_t fQATrackNBinsPt; // track QA histos bins | |
581 | Float_t fQATrackPtMin; // track QA histos limits | |
582 | Float_t fQATrackPtMax; // track QA histos limits | |
583 | ||
584 | Int_t fQATrackNBinsEta; // track QA histos bins | |
585 | Float_t fQATrackEtaMin; // track QA histos limits | |
586 | Float_t fQATrackEtaMax; // track QA histos limits | |
587 | ||
588 | Int_t fQATrackNBinsPhi; // track QA histos bins | |
589 | Float_t fQATrackPhiMin; // track QA histos limits | |
590 | Float_t fQATrackPhiMax; // track QA histos limits | |
591 | ||
656dc810 | 592 | Int_t fIJNBinsJetPt; // IJ histos bins |
593 | Float_t fIJJetPtMin; // IJ histos limits | |
594 | Float_t fIJJetPtMax; // IJ histos limits | |
595 | ||
596 | Int_t fIJNBinsPt; // IJ histos bins | |
597 | Float_t fIJPtMin; // IJ histos limits | |
598 | Float_t fIJPtMax; // IJ histos limits | |
599 | ||
600 | Int_t fIJNBinsZ; // IJ histos bins | |
601 | Float_t fIJZMin; // IJ histos limits | |
602 | Float_t fIJZMax; // IJ histos limits | |
603 | ||
604 | Int_t fIJNBinsCosTheta; // IJ histos bins | |
605 | Float_t fIJCosThetaMin; // IJ histos limits | |
606 | Float_t fIJCosThetaMax; // IJ histos limits | |
607 | ||
608 | Int_t fIJNBinsTheta; // IJ histos bins | |
609 | Float_t fIJThetaMin; // IJ histos limits | |
610 | Float_t fIJThetaMax; // IJ histos limits | |
611 | ||
612 | Int_t fIJNBinsJt; // IJ histos bins | |
613 | Float_t fIJJtMin; // IJ histos limits | |
614 | Float_t fIJJtMax; // IJ histos limits | |
615 | ||
616 | Int_t fDiJetNBinsJetInvMass; // FF dijet histos bins | |
617 | Float_t fDiJetJetInvMassMin; // FF dijet histos limits | |
618 | Float_t fDiJetJetInvMassMax; // FF dijet histos limits | |
619 | Int_t fDiJetNBinsJetPt; // FF dijet histos bins | |
620 | Float_t fDiJetJetPtMin; // FF dijet histos limits | |
621 | Float_t fDiJetJetPtMax; // FF dijet histos limits | |
622 | Int_t fDiJetNBinsPt; // FF dijet histos bins | |
623 | Float_t fDiJetPtMin; // FF dijet histos limits | |
624 | Float_t fDiJetPtMax; // FF dijet histos limits | |
625 | Int_t fDiJetNBinsXi; // FF dijet histos bins | |
626 | Float_t fDiJetXiMin; // FF dijet histos limits | |
627 | Float_t fDiJetXiMax; // FF dijet histos limits | |
628 | Int_t fDiJetNBinsZ; // FF dijet histos bins | |
629 | Float_t fDiJetZMin; // FF dijet histos limits | |
630 | Float_t fDiJetZMax; // FF dijet histos limits | |
631 | ||
632 | Int_t fQADiJetNBinsInvMass; // dijet QA histos bins | |
633 | Float_t fQADiJetInvMassMin; // dijet QA histos limits | |
634 | Float_t fQADiJetInvMassMax; // dijet QA histos limits | |
635 | ||
636 | Int_t fQADiJetNBinsJetPt; // dijet QA histos bins | |
637 | Float_t fQADiJetJetPtMin; // dijet QA histos limits | |
638 | Float_t fQADiJetJetPtMax; // dijet QA histos limits | |
639 | ||
640 | Int_t fQADiJetNBinsDeltaPhi; // dijet QA histos bins | |
641 | Float_t fQADiJetDeltaPhiMin; // dijet QA histos limits | |
642 | Float_t fQADiJetDeltaPhiMax; // dijet QA histos limits | |
643 | ||
644 | Int_t fQADiJetNBinsDeltaEta; // dijet QA histos bins | |
645 | Float_t fQADiJetDeltaEtaMin; // dijet QA histos limits | |
646 | Float_t fQADiJetDeltaEtaMax; // dijet QA histos limits | |
647 | ||
648 | Int_t fQADiJetNBinsDeltaPt; // dijet QA histos bins | |
649 | Float_t fQADiJetDeltaPtMin; // dijet QA histos limits | |
650 | Float_t fQADiJetDeltaPtMax; // dijet QA histos limits | |
651 | ||
d7238ca3 | 652 | // Histograms |
653 | TList *fCommonHistList; // List of common histos | |
654 | ||
655 | TH1F *fh1EvtSelection; //! event cuts | |
656 | TH1F *fh1VertexNContributors; //! NContributors to prim vertex | |
657 | TH1F *fh1VertexZ; //! prim vertex z distribution | |
658 | TH1F *fh1EvtMult; //! number of reconstructed tracks after cuts | |
ac017ff3 | 659 | |
660 | TProfile* fh1Xsec; //! pythia cross section and trials | |
661 | TH1F* fh1Trials; //! sum of trials | |
662 | TH1F* fh1PtHard; //! pt hard of the event | |
663 | TH1F* fh1PtHardTrials; //! pt hard of the event | |
664 | ||
d7238ca3 | 665 | TH1F *fh1nRecJetsCuts; //! number of jets from reconstructed tracks per event |
666 | TH1F *fh1nGenJets; //! number of jets from generated tracks per event | |
7d9e8b32 | 667 | TH1F *fh1nRecEffJets; //! number of jets for reconstruction eff per event |
67e37e80 | 668 | TH1F *fh1nRecBckgJetsCuts; //! number of jets from reconstructed tracks per event |
669 | TH1F *fh1nGenBckgJets; //! number of jets from generated tracks per event | |
cb76764e | 670 | TH2F *fh2PtRecVsGenPrim; //! association rec/gen MC: rec vs gen pt |
7d9e8b32 | 671 | |
672 | // tracking efficiency | |
673 | ||
cb76764e | 674 | |
675 | AliFragFuncQATrackHistos* fQATrackHistosRecEffGen; //! tracking efficiency: generated primaries | |
676 | AliFragFuncQATrackHistos* fQATrackHistosRecEffRec; //! tracking efficiency: reconstructed primaries | |
677 | ||
678 | AliFragFuncHistos* fFFHistosRecEffGen; //! tracking efficiency: FF generated primaries | |
679 | AliFragFuncHistos* fFFHistosRecEffRec; //! tracking efficiency: FF reconstructed primaries | |
680 | ||
d7238ca3 | 681 | |
1da9498b | 682 | // Background |
683 | TH1F *fh1OutLeadingMult; //! background multiplicity outside leading jet | |
684 | TH1F *fh1PerpMult; //! background multiplicity perpendicular to the leading jet | |
685 | TH1F *fh1Out2JetsMult; //! background multiplicity outside 2 jets | |
686 | TH1F *fh1Out3JetsMult; //! background multiplicity outside 3 jets | |
687 | ||
67e37e80 | 688 | AliFragFuncQATrackHistos* fQABckgHisto0RecCuts; //! track QA: reconstructed tracks after cuts |
689 | AliFragFuncQATrackHistos* fQABckgHisto0Gen; //! track QA: generated tracks | |
690 | AliFragFuncQATrackHistos* fQABckgHisto1RecCuts; //! track QA: reconstructed tracks after cuts | |
691 | AliFragFuncQATrackHistos* fQABckgHisto1Gen; //! track QA: generated tracks | |
692 | AliFragFuncQATrackHistos* fQABckgHisto2RecCuts; //! track QA: reconstructed tracks after cuts | |
693 | AliFragFuncQATrackHistos* fQABckgHisto2Gen; //! track QA: generated tracks | |
694 | ||
695 | AliFragFuncHistos* fFFBckgHisto0RecCuts; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts | |
696 | AliFragFuncHistos* fFFBckgHisto0RecLeading; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
697 | AliFragFuncHistos* fFFBckgHisto0Gen; //! Bckg (outside leading jet or 2 jets or more) FF generated tracks after cuts | |
698 | AliFragFuncHistos* fFFBckgHisto0GenLeading; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
699 | AliFragFuncHistos* fFFBckgHisto1RecCuts; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts | |
700 | AliFragFuncHistos* fFFBckgHisto1RecLeading; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
701 | AliFragFuncHistos* fFFBckgHisto1Gen; //! Bckg (outside leading jet or 2 jets or more) FF generated tracks after cuts | |
702 | AliFragFuncHistos* fFFBckgHisto1GenLeading; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
703 | AliFragFuncHistos* fFFBckgHisto2RecCuts; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts | |
704 | AliFragFuncHistos* fFFBckgHisto2RecLeading; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
705 | AliFragFuncHistos* fFFBckgHisto2Gen; //! Bckg (outside leading jet or 2 jets or more) FF generated tracks after cuts | |
706 | AliFragFuncHistos* fFFBckgHisto2GenLeading; //! Bckg (outside leading jet or 2 jets or more) FF reconstructed tracks after cuts: all reconstructed tracks pt / leading track pt | |
707 | ||
708 | AliFragFuncIntraJetHistos* fIJBckgHisto0RecCuts; //! | |
709 | AliFragFuncIntraJetHistos* fIJBckgHisto0RecLeading; //! | |
710 | AliFragFuncIntraJetHistos* fIJBckgHisto0Gen; //! | |
711 | AliFragFuncIntraJetHistos* fIJBckgHisto0GenLeading; //! | |
712 | AliFragFuncIntraJetHistos* fIJBckgHisto1RecCuts; //! | |
713 | AliFragFuncIntraJetHistos* fIJBckgHisto1RecLeading; //! | |
714 | AliFragFuncIntraJetHistos* fIJBckgHisto1Gen; //! | |
715 | AliFragFuncIntraJetHistos* fIJBckgHisto1GenLeading; //! | |
716 | AliFragFuncIntraJetHistos* fIJBckgHisto2RecCuts; //! | |
717 | AliFragFuncIntraJetHistos* fIJBckgHisto2RecLeading; //! | |
718 | AliFragFuncIntraJetHistos* fIJBckgHisto2Gen; //! | |
719 | AliFragFuncIntraJetHistos* fIJBckgHisto2GenLeading; //! | |
720 | ||
721 | TRandom3* fRandom; | |
722 | ||
723 | ClassDef(AliAnalysisTaskFragmentationFunction, 8); | |
6bec8236 | 724 | }; |
d7238ca3 | 725 | |
6bec8236 | 726 | #endif |