diff --git a/PWGLF/Tasks/Resonances/kstarInOO.cxx b/PWGLF/Tasks/Resonances/kstarInOO.cxx index 01d2f0597bc..a5aa4753276 100644 --- a/PWGLF/Tasks/Resonances/kstarInOO.cxx +++ b/PWGLF/Tasks/Resonances/kstarInOO.cxx @@ -249,6 +249,7 @@ struct kstarInOO { if (cfgMCHistos) { histos.add("nEvents_Gen", "nEvents_Gen", kTH1F, {{4, 0.0, 4.0}}); histos.add("hUSS_TrueRec", "hUSS_TrueRec", kTHnSparseF, {cfgCentAxis, ptAxis, minvAxis}); + histos.add("hGen_pT_Raw", "Gen_pT_Raw (GeV/c)", kTH1F, {{800, 0., 40.}}); histos.add("hGen_pT_GoodEv", "hGen_pT_GoodEv", kTHnSparseF, {cfgCentAxis, ptAxis}); } if (cfgJetHistos) { @@ -1592,9 +1593,15 @@ struct kstarInOO { if (goodEv) { goodEv = jetderiveddatautilities::selectTrigger(recocoll, RealTriggerMaskBits); } + if (cfgJetMCHistos) { + histos.fill(HIST("nEvents_Gen"), 1.5); + } if (!goodEv) return; } + if (cfgJetMCHistos) { + histos.fill(HIST("nEvents_Gen"), 2.5); + } for (auto& particle : mcParticles) { if (particle.pdgCode() != 313) @@ -1626,7 +1633,7 @@ struct kstarInOO { */ if (cfgJetMCHistos) { - histos.fill(HIST("nEvents_Gen"), 1.5); + histos.fill(HIST("nEvents_Gen"), 3.5); histos.fill(HIST("hEffGen_pT"), particle.pt()); } // cfgJetMCHistos } // loop over particles