Skip to content

Commit 039497b

Browse files
authored
[PWGJE] Adding inclusive jet 3D histograms (#11293)
1 parent e9031b3 commit 039497b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PWGJE/Tasks/jetHadronRecoil.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ struct JetHadronRecoil {
135135
{"hJetPt", "jet p_{T};p_{T,jet};entries", {HistType::kTH1F, {{500, -100, 400}}}},
136136
{"hJetEta", "jet #eta;#eta_{jet};entries", {HistType::kTH1F, {{100, -1.0, 1.0}}}},
137137
{"hJetPhi", "jet #phi;#phi_{jet};entries", {HistType::kTH1F, {{100, 0.0, o2::constants::math::TwoPI}}}},
138+
{"hJet3D", "3D jet distribution;p_{T};#eta;#phi", {HistType::kTH3F, {{500, -100, 400}, {100, -1.0, 1.0}, {100, 0.0, o2::constants::math::TwoPI}}}},
138139
{"hPtPart", "Particle p_{T};p_{T};entries", {HistType::kTH1F, {{200, 0, 200}}}},
139140
{"hEtaPart", "Particle #eta;#eta;entries", {HistType::kTH1F, {{100, -1.0, 1.0}}}},
140141
{"hPhiPart", "Particle #phi;#phi;entries", {HistType::kTH1F, {{100, 0.0, o2::constants::math::TwoPI}}}},
@@ -267,6 +268,7 @@ struct JetHadronRecoil {
267268
registry.fill(HIST("hJetPt"), jet.pt() - (rho * jet.area()), weight);
268269
registry.fill(HIST("hJetEta"), jet.eta(), weight);
269270
registry.fill(HIST("hJetPhi"), jet.phi(), weight);
271+
registry.fill(HIST("hJet3D"), jet.pt() - (rho * jet.area()), jet.eta(), jet.phi(), weight);
270272

271273
double dR = getWTAaxisDifference(jet, jetsWTA, tracks);
272274

@@ -370,6 +372,7 @@ struct JetHadronRecoil {
370372
registry.fill(HIST("hJetPt"), jet.pt(), weight);
371373
registry.fill(HIST("hJetEta"), jet.eta(), weight);
372374
registry.fill(HIST("hJetPhi"), jet.phi(), weight);
375+
registry.fill(HIST("hJet3D"), jet.pt(), jet.eta(), jet.phi(), weight);
373376

374377
double dR = getWTAaxisDifference(jet, jetsWTA, particles);
375378

0 commit comments

Comments
 (0)