4141
4242#include " EventFiltering/filterTables.h"
4343
44- #include " PWGJE/Core/FastJetUtilities.h"
4544#include " PWGJE/DataModel/JetSubstructure.h"
4645
4746using namespace o2 ;
@@ -122,6 +121,7 @@ struct JetHadronRecoil {
122121 {" hPtTrack" , " Track p_{T};p_{T};entries" , {HistType::kTH1F , {{200 , 0 , 200 }}}},
123122 {" hEtaTrack" , " Track #eta;#eta;entries" , {HistType::kTH1F , {{100 , -1.0 , 1.0 }}}},
124123 {" hPhiTrack" , " Track #phi;#phi;entries" , {HistType::kTH1F , {{100 , 0.0 , o2::constants::math::TwoPI}}}},
124+ {" 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}}}},
125125 {" hReferencePtDPhi" , " jet p_{T} vs DPhi;#Delta#phi;p_{T,jet}" , {HistType::kTH2F , {{100 , 0 , o2::constants::math::TwoPI}, {500 , -100 , 400 }}}},
126126 {" 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 }}}},
127127 {" hSignalPtDPhi" , " jet p_{T} vs DPhi;#Delta#phi;p_{T,jet}" , {HistType::kTH2F , {{100 , 0 , o2::constants::math::TwoPI}, {500 , -100 , 400 }}}},
@@ -246,13 +246,14 @@ struct JetHadronRecoil {
246246 }
247247
248248 for (const auto & jet : jets) {
249+ if (jet.pt () > pTHatMaxMCD * pTHat) {
250+ continue ;
251+ }
249252 for (const auto & constituent : jet.template tracks_as <U>()) {
250253 if (constituent.pt () > leadingPT) {
251254 leadingPT = constituent.pt ();
252255 }
253- }
254- if (jet.pt () > pTHatMaxMCD * pTHat) {
255- continue ;
256+ registry.fill (HIST (" hConstituents3D" ), constituent.pt (), constituent.eta (), constituent.phi ());
256257 }
257258 if (leadingPT > maxLeadingTrackPt) {
258259 continue ;
@@ -355,6 +356,9 @@ struct JetHadronRecoil {
355356 if (jet.pt () > pTHatMaxMCP * pTHat) {
356357 continue ;
357358 }
359+ for (const auto & constituent : jet.template tracks_as <U>()) {
360+ registry.fill (HIST (" hConstituents3D" ), constituent.pt (), constituent.eta (), constituent.phi ());
361+ }
358362 registry.fill (HIST (" hJetPt" ), jet.pt (), weight);
359363 registry.fill (HIST (" hJetEta" ), jet.eta (), weight);
360364 registry.fill (HIST (" hJetPhi" ), jet.phi (), weight);
@@ -371,21 +375,21 @@ struct JetHadronRecoil {
371375 registry.fill (HIST (" hDeltaRSignalPart" ), dR, weight);
372376 }
373377 registry.fill (HIST (" hDeltaRpTDPhiSignalPart" ), jet.pt (), dphi, dR, weight);
374- }
375- registry. fill ( HIST ( " hSignalPtDPhi " ), dphi, jet. pt (), weight);
376- if ( std::abs (dphi - o2::constants::math::PI) < 0.6 ) {
377- registry. fill ( HIST ( " hSignalPt " ), jet. pt (), weight);
378+ registry. fill ( HIST ( " hSignalPtDPhi " ), dphi, jet. pt (), weight);
379+ if ( std::abs (dphi - o2::constants::math::PI) < 0.6 ) {
380+ registry. fill ( HIST ( " hSignalPt " ), jet. pt (), weight);
381+ }
378382 }
379383 if (!isSigCol) {
380384 if (std::abs (dphi - o2::constants::math::PI) < 0.6 ) {
381385 registry.fill (HIST (" hDeltaRpTPartReference" ), jet.pt (), dR, weight);
382386 registry.fill (HIST (" hDeltaRPartReference" ), dR, weight);
383387 }
384388 registry.fill (HIST (" hDeltaRpTDPhiReferencePart" ), jet.pt (), dphi, dR, weight);
385- }
386- registry. fill ( HIST ( " hReferencePtDPhi " ), dphi, jet. pt (), weight);
387- if ( std::abs (dphi - o2::constants::math::PI) < 0.6 ) {
388- registry. fill ( HIST ( " hReferencePt " ), jet. pt (), weight);
389+ registry. fill ( HIST ( " hReferencePtDPhi " ), dphi, jet. pt (), weight);
390+ if ( std::abs (dphi - o2::constants::math::PI) < 0.6 ) {
391+ registry. fill ( HIST ( " hReferencePt " ), jet. pt (), weight);
392+ }
389393 }
390394 }
391395 }
0 commit comments