@@ -356,8 +356,8 @@ struct HfCorrelatorLcHadrons {
356356 registry.add (" hcountLctriggersMcGen" , " Lc trigger particles - MC gen;;N of trigger Lc" , {HistType::kTH2F , {{1 , -0.5 , 0.5 }, {axisPtLc}}});
357357 registry.add (" hPtCandMcGen" , " Lc,Hadron particles - MC gen;particle #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1D , {axisPtLc}});
358358 registry.add (" hYMcGen" , " Lc,Hadron candidates - MC gen;candidate #it{#y};entries" , {HistType::kTH1D , {axisRapidity}});
359- registry.add (" hPtCandMcGenPrompt" , " Lc,Hadron particles - MC Gen Prompt" , {HistType::kTH1D , {axisPtLc}});
360- registry.add (" hPtCandMcGenNonPrompt" , " Lc,Hadron particles - MC Gen Non Prompt" , {HistType::kTH1D , {axisPtLc}});
359+ registry.add (" hPtCandMcGenPrompt" , " Lc,Hadron particles - MC Gen Prompt" , {HistType::kTH2D , {{ axisPtLc}, {axisPoolBin} }});
360+ registry.add (" hPtCandMcGenNonPrompt" , " Lc,Hadron particles - MC Gen Non Prompt" , {HistType::kTH2D , {{ axisPtLc}, {axisPoolBin} }});
361361 registry.add (" hPtParticleAssocMcGen" , " Associated Particle - MC Gen" , {HistType::kTH1D , {axisPtHadron}});
362362 registry.add (" hEtaMcGen" , " Lc,Hadron particles - MC Gen" , {HistType::kTH1D , {axisEta}});
363363 registry.add (" hPhiMcGen" , " Lc,Hadron particles - MC Gen" , {HistType::kTH1D , {axisPhi}});
@@ -439,7 +439,7 @@ struct HfCorrelatorLcHadrons {
439439 for (unsigned int iclass = 0 ; iclass < classMl->size (); iclass++) {
440440 outputMl[iclass] = candidate.mlProbLcToPKPi ()[classMl->at (iclass)];
441441 }
442- entryLcCandRecoInfo (HfHelper::invMassLcToPKPi (candidate), candidate.pt () * chargeLc, outputMl[0 ], outputMl[1 ]); // 0: BkgBDTScore, 1:PromptBDTScore
442+ entryLcCandRecoInfo (HfHelper::invMassLcToPKPi (candidate), candidate.pt () * chargeLc, outputMl[0 ], outputMl[1 ], poolBin ); // 0: BkgBDTScore, 1:PromptBDTScore
443443 if (!skipMixedEventTableFilling) {
444444 entryLc (candidate.phi (), candidate.eta (), candidate.pt () * chargeLc, HfHelper::invMassLcToPKPi (candidate), poolBin, gCollisionId , timeStamp);
445445 }
@@ -451,7 +451,7 @@ struct HfCorrelatorLcHadrons {
451451 for (unsigned int iclass = 0 ; iclass < classMl->size (); iclass++) {
452452 outputMl[iclass] = candidate.mlProbLcToPiKP ()[classMl->at (iclass)];
453453 }
454- entryLcCandRecoInfo (HfHelper::invMassLcToPiKP (candidate), candidate.pt () * chargeLc, outputMl[0 ], outputMl[1 ]); // 0: BkgBDTScore, 1:PromptBDTScore
454+ entryLcCandRecoInfo (HfHelper::invMassLcToPiKP (candidate), candidate.pt () * chargeLc, outputMl[0 ], outputMl[1 ], poolBin ); // 0: BkgBDTScore, 1:PromptBDTScore
455455 if (!skipMixedEventTableFilling) {
456456 entryLc (candidate.phi (), candidate.eta (), candidate.pt () * chargeLc, HfHelper::invMassLcToPiKP (candidate), poolBin, gCollisionId , timeStamp);
457457 }
@@ -611,7 +611,7 @@ struct HfCorrelatorLcHadrons {
611611 registry.fill (HIST (" hMassLcMcRecSig" ), HfHelper::invMassLcToPKPi (candidate), candidate.pt (), efficiencyWeightLc);
612612 registry.fill (HIST (" hMassLcVsPtMcRec" ), HfHelper::invMassLcToPKPi (candidate), candidate.pt (), efficiencyWeightLc);
613613 registry.fill (HIST (" hSelectionStatusLcToPKPiMcRec" ), candidate.isSelLcToPKPi ());
614- entryLcCandRecoInfo (HfHelper::invMassLcToPKPi (candidate), candidate.pt () * chargeLc, outputMl[0 ], outputMl[1 ]); // 0: BkgBDTScore, 1:PromptBDTScore
614+ entryLcCandRecoInfo (HfHelper::invMassLcToPKPi (candidate), candidate.pt () * chargeLc, outputMl[0 ], outputMl[1 ], poolBin ); // 0: BkgBDTScore, 1:PromptBDTScore
615615 entryLcCandGenInfo (isLcPrompt);
616616 }
617617 if (candidate.isSelLcToPiKP () >= selectionFlagLc) {
@@ -629,7 +629,7 @@ struct HfCorrelatorLcHadrons {
629629 registry.fill (HIST (" hMassLcMcRecSig" ), HfHelper::invMassLcToPiKP (candidate), candidate.pt (), efficiencyWeightLc);
630630 registry.fill (HIST (" hMassLcVsPtMcRec" ), HfHelper::invMassLcToPiKP (candidate), candidate.pt (), efficiencyWeightLc);
631631 registry.fill (HIST (" hSelectionStatusLcToPiKPMcRec" ), candidate.isSelLcToPiKP ());
632- entryLcCandRecoInfo (HfHelper::invMassLcToPiKP (candidate), candidate.pt () * chargeLc, outputMl[0 ], outputMl[1 ]); // 0: BkgBDTScore, 1:PromptBDTScore
632+ entryLcCandRecoInfo (HfHelper::invMassLcToPiKP (candidate), candidate.pt () * chargeLc, outputMl[0 ], outputMl[1 ], poolBin ); // 0: BkgBDTScore, 1:PromptBDTScore
633633 entryLcCandGenInfo (isLcPrompt);
634634 }
635635 } else {
@@ -855,9 +855,9 @@ struct HfCorrelatorLcHadrons {
855855 isLcPrompt = particle.originMcGen () == RecoDecay::OriginType::Prompt;
856856 isLcNonPrompt = particle.originMcGen () == RecoDecay::OriginType::NonPrompt;
857857 if (isLcPrompt) {
858- registry.fill (HIST (" hPtCandMcGenPrompt" ), particle.pt ());
858+ registry.fill (HIST (" hPtCandMcGenPrompt" ), particle.pt (), poolBin );
859859 } else if (isLcNonPrompt) {
860- registry.fill (HIST (" hPtCandMcGenNonPrompt" ), particle.pt ());
860+ registry.fill (HIST (" hPtCandMcGenNonPrompt" ), particle.pt (), poolBin );
861861 }
862862
863863 // prompt and non-prompt division
0 commit comments