6 #include <TClonesArray.h>
10 #include <THnSparse.h>
14 #include "AliVTrack.h"
19 #include "AliAnalysisManager.h"
22 #include "AliAODEvent.h"
33 fMinFractionShared(0),
37 fh3PtJet1VsMassVsLeadPtAllSel(0),
38 fh3PtJet1VsMassVsLeadPtTagged(0),
39 fh3PtJet1VsMassVsLeadPtTaggedMatch(0),
41 fpPtVsMassJet1Tagged(0),
42 fpPtVsMassJet1TaggedMatch(0),
43 fh2MassVsAreaJet1All(0),
44 fh2MassVsAreaJet1Tagged(0),
45 fh2MassVsAreaJet1TaggedMatch(0),
46 fh2MassVsNConstJet1All(0),
47 fh2MassVsNConstJet1Tagged(0),
48 fh2MassVsNConstJet1TaggedMatch(0),
49 fh3PtJet1VsMassVsCentAllSel(0),
50 fh3PtJet1VsMassVsCentTagged(0),
51 fh3PtJet1VsMassVsCentTaggedMatch(0),
52 fh3PtJet1VsRatVsLeadPtAllSel(0),
53 fh3PtJet1VsRatVsLeadPtTagged(0),
54 fh3PtJet1VsRatVsLeadPtTaggedMatch(0),
56 fpPtVsRatJet1Tagged(0),
57 fpPtVsRatJet1TaggedMatch(0),
58 fh2RatVsAreaJet1All(0),
59 fh2RatVsAreaJet1Tagged(0),
60 fh2RatVsAreaJet1TaggedMatch(0),
61 fh2RatVsNConstJet1All(0),
62 fh2RatVsNConstJet1Tagged(0),
63 fh2RatVsNConstJet1TaggedMatch(0),
64 fh3JetPtVsMassVsEPRelAllSel(0),
65 fh3JetPtVsMassVsEPRelTagged(0),
66 fh3JetPtVsMassVsEPRelTaggedMatch(0),
71 fh3PtJet1VsMassVsLeadPtAllSel =
new TH3F*[fNcentBins];
72 fh3PtJet1VsMassVsLeadPtTagged =
new TH3F*[fNcentBins];
73 fh3PtJet1VsMassVsLeadPtTaggedMatch =
new TH3F*[fNcentBins];
74 fpPtVsMassJet1All =
new TProfile*[fNcentBins];
75 fpPtVsMassJet1Tagged =
new TProfile*[fNcentBins];
76 fpPtVsMassJet1TaggedMatch =
new TProfile*[fNcentBins];
77 fh2MassVsAreaJet1All =
new TH2F*[fNcentBins];
78 fh2MassVsAreaJet1Tagged =
new TH2F*[fNcentBins];
79 fh2MassVsAreaJet1TaggedMatch =
new TH2F*[fNcentBins];
80 fh2MassVsNConstJet1All =
new TH2F*[fNcentBins];
81 fh2MassVsNConstJet1Tagged =
new TH2F*[fNcentBins];
82 fh2MassVsNConstJet1TaggedMatch =
new TH2F*[fNcentBins];
84 fh3PtJet1VsRatVsLeadPtAllSel =
new TH3F*[fNcentBins];
85 fh3PtJet1VsRatVsLeadPtTagged =
new TH3F*[fNcentBins];
86 fh3PtJet1VsRatVsLeadPtTaggedMatch =
new TH3F*[fNcentBins];
87 fpPtVsRatJet1All =
new TProfile*[fNcentBins];
88 fpPtVsRatJet1Tagged =
new TProfile*[fNcentBins];
89 fpPtVsRatJet1TaggedMatch =
new TProfile*[fNcentBins];
90 fh2RatVsAreaJet1All =
new TH2F*[fNcentBins];
91 fh2RatVsAreaJet1Tagged =
new TH2F*[fNcentBins];
92 fh2RatVsAreaJet1TaggedMatch =
new TH2F*[fNcentBins];
93 fh2RatVsNConstJet1All =
new TH2F*[fNcentBins];
94 fh2RatVsNConstJet1Tagged =
new TH2F*[fNcentBins];
95 fh2RatVsNConstJet1TaggedMatch =
new TH2F*[fNcentBins];
97 fh3JetPtVsMassVsEPRelAllSel =
new TH3F*[fNcentBins];
98 fh3JetPtVsMassVsEPRelTagged =
new TH3F*[fNcentBins];
99 fh3JetPtVsMassVsEPRelTaggedMatch =
new TH3F*[fNcentBins];
101 for (
Int_t i = 0; i < fNcentBins; i++) {
102 fh3PtJet1VsMassVsLeadPtAllSel[i] = 0;
103 fh3PtJet1VsMassVsLeadPtTagged[i] = 0;
104 fh3PtJet1VsMassVsLeadPtTaggedMatch[i] = 0;
105 fpPtVsMassJet1All[i] = 0;
106 fpPtVsMassJet1Tagged[i] = 0;
107 fpPtVsMassJet1TaggedMatch[i] = 0;
108 fh2MassVsAreaJet1All[i] = 0;
109 fh2MassVsAreaJet1Tagged[i] = 0;
110 fh2MassVsAreaJet1TaggedMatch[i] = 0;
111 fh2MassVsNConstJet1All[i] = 0;
112 fh2MassVsNConstJet1Tagged[i] = 0;
113 fh2MassVsNConstJet1TaggedMatch[i] = 0;
115 fh3PtJet1VsRatVsLeadPtAllSel[i] = 0;
116 fh3PtJet1VsRatVsLeadPtTagged[i] = 0;
117 fh3PtJet1VsRatVsLeadPtTaggedMatch[i] = 0;
118 fpPtVsRatJet1All[i] = 0;
119 fpPtVsRatJet1Tagged[i] = 0;
120 fpPtVsRatJet1TaggedMatch[i] = 0;
121 fh2RatVsAreaJet1All[i] = 0;
122 fh2RatVsAreaJet1Tagged[i] = 0;
123 fh2RatVsAreaJet1TaggedMatch[i] = 0;
124 fh2RatVsNConstJet1All[i] = 0;
125 fh2RatVsNConstJet1Tagged[i] = 0;
126 fh2RatVsNConstJet1TaggedMatch[i] = 0;
128 fh3JetPtVsMassVsEPRelAllSel[i] = 0;
129 fh3JetPtVsMassVsEPRelTagged[i] = 0;
130 fh3JetPtVsMassVsEPRelTaggedMatch[i] = 0;
134 SetMakeGeneralHistograms(kTRUE);
142 fMinFractionShared(0),
146 fh3PtJet1VsMassVsLeadPtAllSel(0),
147 fh3PtJet1VsMassVsLeadPtTagged(0),
148 fh3PtJet1VsMassVsLeadPtTaggedMatch(0),
149 fpPtVsMassJet1All(0),
150 fpPtVsMassJet1Tagged(0),
151 fpPtVsMassJet1TaggedMatch(0),
152 fh2MassVsAreaJet1All(0),
153 fh2MassVsAreaJet1Tagged(0),
154 fh2MassVsAreaJet1TaggedMatch(0),
155 fh2MassVsNConstJet1All(0),
156 fh2MassVsNConstJet1Tagged(0),
157 fh2MassVsNConstJet1TaggedMatch(0),
158 fh3PtJet1VsMassVsCentAllSel(0),
159 fh3PtJet1VsMassVsCentTagged(0),
160 fh3PtJet1VsMassVsCentTaggedMatch(0),
161 fh3PtJet1VsRatVsLeadPtAllSel(0),
162 fh3PtJet1VsRatVsLeadPtTagged(0),
163 fh3PtJet1VsRatVsLeadPtTaggedMatch(0),
165 fpPtVsRatJet1Tagged(0),
166 fpPtVsRatJet1TaggedMatch(0),
167 fh2RatVsAreaJet1All(0),
168 fh2RatVsAreaJet1Tagged(0),
169 fh2RatVsAreaJet1TaggedMatch(0),
170 fh2RatVsNConstJet1All(0),
171 fh2RatVsNConstJet1Tagged(0),
172 fh2RatVsNConstJet1TaggedMatch(0),
173 fh3JetPtVsMassVsEPRelAllSel(0),
174 fh3JetPtVsMassVsEPRelTagged(0),
175 fh3JetPtVsMassVsEPRelTaggedMatch(0),
176 fhnJetPtMassAndBkg(0)
258 Bool_t oldStatus = TH1::AddDirectoryStatus();
259 TH1::AddDirectory(kFALSE);
261 const Int_t nBinsPt = 200;
265 const Int_t nBinsM = 100;
269 const Int_t nBinsR = 100;
273 const Int_t nBinsArea = 50;
277 const Int_t nBinsNConst = 200;
284 Int_t nBinsRhom = 50;
288 const Int_t nbinsCent = 101;
289 Double_t minCent = -1., maxCent = 100.;
292 const Int_t nBinsSparse = 5;
293 const Int_t nBins[nBinsSparse] = {nBinsRho, nBinsRhom, nBinsPt, nBinsM, nbinsCent};
294 const Double_t xmin[nBinsSparse] = {minRho, minRhom, minPt, minM, minCent};
295 const Double_t xmax[nBinsSparse] = {maxRho, maxRhom, maxPt, maxM, maxCent};
300 histName = TString::Format(
"fh3PtJet1VsMassVsLeadPtAllSel_%d",i);
301 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};#it{p}_{T,lead trk}",histName.Data());
302 fh3PtJet1VsMassVsLeadPtAllSel[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,20,0.,20.);
303 fOutput->Add(fh3PtJet1VsMassVsLeadPtAllSel[i]);
305 histName = TString::Format(
"fh3PtJet1VsMassVsLeadPtTagged_%d",i);
306 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};#it{p}_{T,lead trk}",histName.Data());
307 fh3PtJet1VsMassVsLeadPtTagged[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,20,0.,20.);
308 fOutput->Add(fh3PtJet1VsMassVsLeadPtTagged[i]);
310 histName = TString::Format(
"fh3PtJet1VsMassVsLeadPtTaggedMatch_%d",i);
311 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};#it{p}_{T,lead trk}",histName.Data());
312 fh3PtJet1VsMassVsLeadPtTaggedMatch[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,20,0.,20.);
313 fOutput->Add(fh3PtJet1VsMassVsLeadPtTaggedMatch[i]);
315 histName = TString::Format(
"fpPtVsMassJet1All_%d",i);
316 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};Avg #it{M}_{jet1}",histName.Data());
317 fpPtVsMassJet1All[i] =
new TProfile(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt);
318 fOutput->Add(fpPtVsMassJet1All[i]);
320 histName = TString::Format(
"fpPtVsMassJet1Tagged_%d",i);
321 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};Avg #it{M}_{jet1}",histName.Data());
323 fOutput->Add(fpPtVsMassJet1Tagged[i]);
325 histName = TString::Format(
"fpPtVsMassJet1TaggedMatch_%d",i);
326 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};Avg #it{M}_{jet1}",histName.Data());
328 fOutput->Add(fpPtVsMassJet1TaggedMatch[i]);
330 histName = TString::Format(
"fh2MassVsAreaJet1All_%d",i);
331 histTitle = TString::Format(
"%s;#it{M}_{jet1};#it{A}",histName.Data());
333 fOutput->Add(fh2MassVsAreaJet1All[i]);
335 histName = TString::Format(
"fh2MassVsAreaJet1Tagged_%d",i);
336 histTitle = TString::Format(
"%s;#it{M}_{jet1};#it{A}",histName.Data());
338 fOutput->Add(fh2MassVsAreaJet1Tagged[i]);
340 histName = TString::Format(
"fh2MassVsAreaJet1TaggedMatch_%d",i);
341 histTitle = TString::Format(
"%s;#it{M}_{jet1};#it{A}",histName.Data());
343 fOutput->Add(fh2MassVsAreaJet1TaggedMatch[i]);
345 histName = TString::Format(
"fh2MassVsNConstJet1All_%d",i);
346 histTitle = TString::Format(
"%s;#it{M}_{jet1};#it{N}_{constituents}",histName.Data());
348 fOutput->Add(fh2MassVsNConstJet1All[i]);
350 histName = TString::Format(
"fh2MassVsNConstJet1Tagged_%d",i);
351 histTitle = TString::Format(
"%s;#it{M}_{jet1};#it{N}_{constituents}",histName.Data());
353 fOutput->Add(fh2MassVsNConstJet1Tagged[i]);
355 histName = TString::Format(
"fh2MassVsNConstJet1TaggedMatch_%d",i);
356 histTitle = TString::Format(
"%s;#it{M}_{jet1};#it{N}_{constituents}",histName.Data());
358 fOutput->Add(fh2MassVsNConstJet1TaggedMatch[i]);
361 histName = TString::Format(
"fh3PtJet1VsRatVsLeadPtAllSel_%d",i);
362 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1}/#it{p}_{T,jet1};#it{p}_{T,lead trk}",histName.Data());
363 fh3PtJet1VsRatVsLeadPtAllSel[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsR,minR,maxR,20,0.,20.);
364 fOutput->Add(fh3PtJet1VsRatVsLeadPtAllSel[i]);
366 histName = TString::Format(
"fh3PtJet1VsRatVsLeadPtTagged_%d",i);
367 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1}/#it{p}_{T,jet1};#it{p}_{T,lead trk}",histName.Data());
368 fh3PtJet1VsRatVsLeadPtTagged[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsR,minR,maxR,20,0.,20.);
369 fOutput->Add(fh3PtJet1VsRatVsLeadPtTagged[i]);
371 histName = TString::Format(
"fh3PtJet1VsRatVsLeadPtTaggedMatch_%d",i);
372 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1}/#it{p}_{T,jet1};#it{p}_{T,lead trk}",histName.Data());
373 fh3PtJet1VsRatVsLeadPtTaggedMatch[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsR,minR,maxR,20,0.,20.);
374 fOutput->Add(fh3PtJet1VsRatVsLeadPtTaggedMatch[i]);
376 histName = TString::Format(
"fpPtVsRatJet1All_%d",i);
377 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};Avg #it{M}_{jet1}/#it{p}_{T,jet1}",histName.Data());
378 fpPtVsRatJet1All[i] =
new TProfile(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt);
379 fOutput->Add(fpPtVsRatJet1All[i]);
381 histName = TString::Format(
"fpPtVsRatJet1Tagged_%d",i);
382 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};Avg #it{M}_{jet1}/#it{p}_{T,jet1}",histName.Data());
383 fpPtVsRatJet1Tagged[i] =
new TProfile(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt);
384 fOutput->Add(fpPtVsRatJet1Tagged[i]);
386 histName = TString::Format(
"fpPtVsRatJet1TaggedMatch_%d",i);
387 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};Avg #it{M}_{jet1}/#it{p}_{T,jet1}",histName.Data());
389 fOutput->Add(fpPtVsRatJet1TaggedMatch[i]);
391 histName = TString::Format(
"fh2RatVsAreaJet1All_%d",i);
392 histTitle = TString::Format(
"%s;#it{M}_{jet1}/#it{p}_{T,jet1};#it{A}",histName.Data());
393 fh2RatVsAreaJet1All[i] =
new TH2F(histName.Data(),histTitle.Data(),nBinsR,minR,maxR,nBinsArea,minArea,maxArea);
394 fOutput->Add(fh2RatVsAreaJet1All[i]);
396 histName = TString::Format(
"fh2RatVsAreaJet1Tagged_%d",i);
397 histTitle = TString::Format(
"%s;#it{M}_{jet1}/#it{p}_{T,jet1};#it{A}",histName.Data());
399 fOutput->Add(fh2RatVsAreaJet1Tagged[i]);
401 histName = TString::Format(
"fh2RatVsAreaJet1TaggedMatch_%d",i);
402 histTitle = TString::Format(
"%s;#it{M}_{jet1}/#it{p}_{T,jet1};#it{A}",histName.Data());
404 fOutput->Add(fh2RatVsAreaJet1TaggedMatch[i]);
406 histName = TString::Format(
"fh2RatVsNConstJet1All_%d",i);
407 histTitle = TString::Format(
"%s;#it{M}_{jet1}/#it{p}_{T,jet1};#it{N}_{constituents}",histName.Data());
409 fOutput->Add(fh2RatVsNConstJet1All[i]);
411 histName = TString::Format(
"fh2RatVsNConstJet1Tagged_%d",i);
412 histTitle = TString::Format(
"%s;#it{M}_{jet1}/#it{p}_{T,jet1};#it{N}_{constituents}",histName.Data());
414 fOutput->Add(fh2RatVsNConstJet1Tagged[i]);
416 histName = TString::Format(
"fh2RatVsNConstJet1TaggedMatch_%d",i);
417 histTitle = TString::Format(
"%s;#it{M}_{jet1}/#it{p}_{T,jet1};#it{N}_{constituents}",histName.Data());
419 fOutput->Add(fh2RatVsNConstJet1TaggedMatch[i]);
421 histName = TString::Format(
"fh3JetPtVsMassVsEPRelAllSel_%d",i);
422 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};#varphi_{jet}-#Psi",histName.Data());
423 fh3JetPtVsMassVsEPRelAllSel[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,100,0.,TMath::Pi());
424 fOutput->Add(fh3JetPtVsMassVsEPRelAllSel[i]);
426 histName = TString::Format(
"fh3JetPtVsMassVsEPRelTagged_%d",i);
427 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};#varphi_{jet}-#Psi",histName.Data());
428 fh3JetPtVsMassVsEPRelTagged[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,100,0.,TMath::Pi());
429 fOutput->Add(fh3JetPtVsMassVsEPRelTagged[i]);
431 histName = TString::Format(
"fh3JetPtVsMassVsEPRelTaggedMatch_%d",i);
432 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};#varphi_{jet}-#Psi",histName.Data());
433 fh3JetPtVsMassVsEPRelTaggedMatch[i] =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,100,0.,TMath::Pi());
434 fOutput->Add(fh3JetPtVsMassVsEPRelTaggedMatch[i]);
437 histName = TString::Format(
"fh3PtJet1VsMassVsCentAllSel");
438 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};centrality",histName.Data());
439 fh3PtJet1VsMassVsCentAllSel =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,101,-1.,100.);
440 fOutput->Add(fh3PtJet1VsMassVsCentAllSel);
442 histName = TString::Format(
"fh3PtJet1VsMassVsCentTagged");
443 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};centrality",histName.Data());
444 fh3PtJet1VsMassVsCentTagged =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,101,-1.,100.);
445 fOutput->Add(fh3PtJet1VsMassVsCentTagged);
447 histName = TString::Format(
"fh3PtJet1VsMassVsCentTaggedMatch");
448 histTitle = TString::Format(
"%s;#it{p}_{T,jet1};#it{M}_{jet1};centrality",histName.Data());
449 fh3PtJet1VsMassVsCentTaggedMatch =
new TH3F(histName.Data(),histTitle.Data(),nBinsPt,minPt,maxPt,nBinsM,minM,maxM,101,-1.,100.);
450 fOutput->Add(fh3PtJet1VsMassVsCentTaggedMatch);
452 histName =
"fhnRhoVsRhoMVsLeadJetPtVsMassVsCent";
453 histTitle = Form(
"Jets and background; #rho; #rho_{m}; #it{p}_{T,lead-jet} (GeV/#it{c}); #it{M}_{lead-jet} (GeV); centrality");
455 fhnJetPtMassAndBkg =
new THnSparseF(histName.Data(), histTitle.Data(), nBinsSparse, nBins, xmin, xmax);
466 THnSparse *hn =
dynamic_cast<THnSparse*
>(
fOutput->At(i));
471 TH1::AddDirectory(oldStatus);
497 AliError(Form(
"%s: Could not retrieve rho_m %s!", GetName(), jetCont->
GetRhoMassName().Data()));
499 }
else rhomassval = rhomParam->GetVal();
508 jetCont->ResetCurrentID();
516 if(eJet1<0. || eJet1>0.) rat = mJet1/eJet1;
518 while (ep < 0) ep += TMath::Pi();
519 while (ep >= TMath::Pi()) ep -= TMath::Pi();
530 jetUS = jetContUS->
GetJet(i);
533 if(ifound==1) ilab = i;
536 if(ifound>1) AliDebug(2,Form(
"Found %d partners",ifound));
538 jetUS = jetContUS->
GetJet(ilab);
586 else maxTrackPt = -1.;
TH3F * fh3PtJet1VsMassVsCentTagged
all jets after std selection: pt vs mass vs centrality
Double_t GetRhoVal() const
AliEmcalJet * GetTaggedJet() const
TH3F ** fh3PtJet1VsMassVsLeadPtAllSel
virtual ~AliAnalysisTaskEmcalJetMass()
THnSparse * fhnJetPtMassAndBkg
jet pt vs mass vs (phi-ep) for tagged matched jets
AliEmcalJet * ClosestJet() const
AliJetContainer * GetJetContainer(Int_t i=0) const
Int_t GetTagStatus() const
void Terminate(Option_t *option)
TH2F ** fh2MassVsNConstJet1Tagged
mass vs number of constituents of all jets
TH3F ** fh3JetPtVsMassVsEPRelTagged
jet pt vs mass vs (phi-ep) for all jets
Double_t fEPV0
!event plane V0
TH3F * fh3PtJet1VsMassVsCentTaggedMatch
tagged jets: pt vs mass vs centrality
Int_t fCentBin
!event centrality bin
TH2F ** fh2MassVsAreaJet1Tagged
mass vs area of all jets
Bool_t RetrieveEventObjects()
TProfile ** fpPtVsRatJet1Tagged
pT vs avg mass/pt of all jets
TProfile ** fpPtVsMassJet1TaggedMatch
pT vs avg mass of tagged jets
TH3F * fh3PtJet1VsMassVsCentAllSel
mass vs number of constituents of tagged jets matched to MC
UShort_t GetNumberOfConstituents() const
TH3F ** fh3PtJet1VsRatVsLeadPtTaggedMatch
tagged jets pt vs mass/pt vs leading track pt
const TString & GetRhoMassName() const
Bool_t RetrieveEventObjects()
Retrieve common objects from event.
AliEmcalJet * GetLeadingJet(const char *opt="")
Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
Int_t GetNParticles(Int_t i=0) const
Get number of particles in container attached to this task with index i.
TH3F ** fh3JetPtVsMassVsEPRelTaggedMatch
jet pt vs mass vs (phi-ep) for tagged jets
TH2F ** fh2RatVsNConstJet1All
mass/pt vs area of tagged jets matched to MC
TProfile ** fpPtVsMassJet1Tagged
pT vs avg mass of all jets
TH3F ** fh3PtJet1VsMassVsLeadPtTagged
all jets after std selection pt vs mass vs leading track pt
TH2F ** fh2RatVsAreaJet1Tagged
mass/pt vs area of all jets
TH2F ** fh2MassVsAreaJet1All
pT vs avg mass of tagged jets matched to MC
Int_t fNcentBins
how many centrality bins
TProfile ** fpPtVsRatJet1TaggedMatch
pT vs avg mass/pt of tagged jets
Double_t MaxTrackPt() const
TH2F ** fh2RatVsNConstJet1Tagged
mass/pt vs number of constituents of all jets
Double_t fCent
!event centrality
TProfile ** fpPtVsMassJet1All
tagged jets pt vs mass vs leading track pt matched to MC
Double_t GetSecondOrderSubtracted() const
TH2F ** fh2MassVsNConstJet1All
mass vs area of tagged jets matched to MC
AliEmcalJet * GetNextAcceptJet()
TH2F ** fh2RatVsAreaJet1All
pT vs avg mass/pt of tagged jets matched to MC
TH2F ** fh2RatVsAreaJet1TaggedMatch
mass/pt vs area of tagged jets
TH2F ** fh2MassVsNConstJet1TaggedMatch
mass vs number of constituents of tagged jets
Double_t GetRhoVal(Int_t i=0) const
AliEmcalList * fOutput
!output list
void UserCreateOutputObjects()
Double_t fMinFractionShared
Double_t GetJetMass(AliEmcalJet *jet)
void SetMakeGeneralHistograms(Bool_t g)
AliAnalysisTaskEmcalJetMass()
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
Double_t GetFractionSharedPt(const AliEmcalJet *jet, AliParticleContainer *cont2=0x0) const
TH2F ** fh2MassVsAreaJet1TaggedMatch
mass vs area of tagged jets
TH3F ** fh3PtJet1VsRatVsLeadPtTagged
all jets after std selection pt vs mass/pt vs leading track pt
void UserCreateOutputObjects()
Main initialization function on the worker.
TH3F ** fh3PtJet1VsRatVsLeadPtAllSel
tagged jets: pt vs mass vs centrality matched to MC
AliEmcalJetShapeProperties * GetShapeProperties() const
TH3F ** fh3PtJet1VsMassVsLeadPtTaggedMatch
tagged jets pt vs mass vs leading track pt
TProfile ** fpPtVsRatJet1All
tagged jets pt vs mas/pts vs leading track pt matched to MC
Container for jet within the EMCAL jet framework.
Bool_t FillHistograms()
Function filling histograms.
AliEmcalJet * GetJet(Int_t i) const
TH2F ** fh2RatVsNConstJet1TaggedMatch
mass/pt vs number of constituents of tagged jets
TH3F ** fh3JetPtVsMassVsEPRelAllSel
mass/pt vs number of constituents of tagged jets matched to MC