@@ -122,6 +122,7 @@ struct JetHadronRecoil {
122122 {" hPtTrack" , " Track p_{T};p_{T};entries" , {HistType::kTH1F , {{200 , 0 , 200 }}}},
123123 {" hEtaTrack" , " Track #eta;#eta;entries" , {HistType::kTH1F , {{100 , -1.0 , 1.0 }}}},
124124 {" hPhiTrack" , " Track #phi;#phi;entries" , {HistType::kTH1F , {{100 , 0.0 , o2::constants::math::TwoPI}}}},
125+ {" hConstituents3D" , " 3D constituents histogram;p_{T};#eta;#phi" , {HistType::kTH3F , {{200 , 0 , 200 }, {100 , -1.0 , 1.0 }, {100 , 0.0 , o2::constants::math::TwoPI}}}},
125126 {" hReferencePtDPhi" , " jet p_{T} vs DPhi;#Delta#phi;p_{T,jet}" , {HistType::kTH2F , {{100 , 0 , o2::constants::math::TwoPI}, {500 , -100 , 400 }}}},
126127 {" hReferencePtDPhiShifts" , " rho shifts;#Delta#phi;p_{T,jet};shifts" , {HistType::kTH3F , {{100 , 0 , o2::constants::math::TwoPI}, {500 , -100 , 400 }, {20 , 0.0 , 2.0 }}}},
127128 {" hSignalPtDPhi" , " jet p_{T} vs DPhi;#Delta#phi;p_{T,jet}" , {HistType::kTH2F , {{100 , 0 , o2::constants::math::TwoPI}, {500 , -100 , 400 }}}},
@@ -246,13 +247,14 @@ struct JetHadronRecoil {
246247 }
247248
248249 for (const auto & jet : jets) {
250+ if (jet.pt () > pTHatMaxMCD * pTHat) {
251+ continue ;
252+ }
249253 for (const auto & constituent : jet.template tracks_as <U>()) {
250254 if (constituent.pt () > leadingPT) {
251255 leadingPT = constituent.pt ();
252256 }
253- }
254- if (jet.pt () > pTHatMaxMCD * pTHat) {
255- continue ;
257+ registry.fill (HIST (" hConstituents3D" ), constituent.pt (), constituent.eta (), constituent.phi ());
256258 }
257259 if (leadingPT > maxLeadingTrackPt) {
258260 continue ;
@@ -355,6 +357,9 @@ struct JetHadronRecoil {
355357 if (jet.pt () > pTHatMaxMCP * pTHat) {
356358 continue ;
357359 }
360+ for (const auto & constituent : jet.template tracks_as <U>()) {
361+ registry.fill (HIST (" hConstituents3D" ), constituent.pt (), constituent.eta (), constituent.phi ());
362+ }
358363 registry.fill (HIST (" hJetPt" ), jet.pt (), weight);
359364 registry.fill (HIST (" hJetEta" ), jet.eta (), weight);
360365 registry.fill (HIST (" hJetPhi" ), jet.phi (), weight);
0 commit comments