@@ -282,7 +282,6 @@ struct HfCorrelatorD0Hadrons {
282282 AxisSpec axisTrkCount = {5 , 0 ., 5 .};
283283 AxisSpec axisBdtScoreBkg = {100 , 0 ., 1 ., " Bdt score background" };
284284 AxisSpec axisBdtScorePrompt = {100 , 0 ., 1 ., " Bdt score prompt" };
285- AxisSpec axisOrigin = {10 , 0 , 10 , " Candidate origin" };
286285
287286 // Histograms for Data
288287 registry.add (" hPtCand" , " D0, D0bar candidates" , {HistType::kTH1F , {axisPtD}});
@@ -298,7 +297,7 @@ struct HfCorrelatorD0Hadrons {
298297 registry.add (" hMass1D" , " D0, D0bar candidates mass" , {HistType::kTH1F , {axisMassD}});
299298 registry.add (" hMassD01D" , " D0 candidates mass" , {HistType::kTH1F , {axisMassD}});
300299 registry.add (" hMassD0bar1D" , " D0bar candidates mass" , {HistType::kTH1F , {axisMassD}});
301- registry.add (" hMLScoresVsMassVsPt" , " D0, D0bar candidates massVsPt" , {HistType::kTHnSparseD , {{axisBdtScoreBkg}, {axisBdtScorePrompt}, {axisMassD}, {axisPtD}, {axisOrigin} }});
300+ registry.add (" hMLScoresVsMassVsPt" , " D0, D0bar candidates massVsPt" , {HistType::kTHnSparseD , {{axisBdtScoreBkg}, {axisBdtScorePrompt}, {axisMassD}, {axisPtD}}});
302301 // Histograms for MC Reco
303302 registry.add (" hPtCandRec" , " D0, D0bar candidates - MC reco" , {HistType::kTH1F , {axisPtD}});
304303 registry.add (" hPtProng0Rec" , " D0, D0bar candidates prong 0 - MC reco" , {HistType::kTH1F , {axisPtD}});
@@ -314,8 +313,8 @@ struct HfCorrelatorD0Hadrons {
314313 registry.add (" hMassD0barRecSig" , " D0bar signal candidates massVsPt - MC reco" , {HistType::kTH2F , {{axisMassD}, {axisPtD}}});
315314 registry.add (" hMassD0barRecRef" , " D0bar reflection candidates massVsPt - MC reco" , {HistType::kTH2F , {{axisMassD}, {axisPtD}}});
316315 registry.add (" hMassD0barRecBg" , " D0bar background candidates massVsPt - MC reco" , {HistType::kTH2F , {{axisMassD}, {axisPtD}}});
317- registry.add (" hPtCandRecSigPrompt" , " D0 ,Hadron candidates Prompt - MC Reco" , {HistType::kTH1F , {axisPtD}});
318- registry.add (" hPtCandRecSigNonPrompt" , " D0 ,Hadron candidates Non Prompt - MC Reco" , {HistType::kTH1F , {axisPtD}});
316+ registry.add (" hPtCandRecSigPrompt" , " D+ ,Hadron candidates Prompt - MC Reco" , {HistType::kTH1F , {axisPtD}});
317+ registry.add (" hPtCandRecSigNonPrompt" , " D+ ,Hadron candidates Non Prompt - MC Reco" , {HistType::kTH1F , {axisPtD}});
319318 registry.add (" hPtVsMultiplicityRecPrompt" , " Multiplicity FT0M - MC Rec Prompt" , {HistType::kTH2F , {{axisPtD}, {axisMultFT0M}}});
320319 registry.add (" hPtVsMultiplicityRecNonPrompt" , " Multiplicity FT0M - MC Rec Non Prompt" , {HistType::kTH2F , {{axisPtD}, {axisMultFT0M}}});
321320 registry.add (" hPtParticleAssocVsCandRec" , " Associated Particle - MC reco" , {HistType::kTH2F , {{axisPtHadron}, {axisPtD}}});
@@ -407,7 +406,7 @@ struct HfCorrelatorD0Hadrons {
407406 for (unsigned int iclass = 0 ; iclass < classMl->size (); iclass++) {
408407 outputMlD0[iclass] = candidate.mlProbD0 ()[classMl->at (iclass)];
409408 }
410- registry.fill (HIST (" hMLScoresVsMassVsPt" ), outputMlD0[0 ], outputMlD0[2 ], hfHelper.invMassD0ToPiK (candidate), candidate.pt (), candidate. isSelD0bar () ? o2::aod::hf_correlation_d0_hadron::D0D0barBoth : o2::aod::hf_correlation_d0_hadron::D0Only );
409+ registry.fill (HIST (" hMLScoresVsMassVsPt" ), outputMlD0[0 ], outputMlD0[2 ], hfHelper.invMassD0ToPiK (candidate), candidate.pt ());
411410 }
412411 if (candidate.isSelD0bar () >= selectionFlagD0bar) {
413412 registry.fill (HIST (" hMass" ), hfHelper.invMassD0barToKPi (candidate), candidate.pt (), efficiencyWeight);
@@ -416,7 +415,7 @@ struct HfCorrelatorD0Hadrons {
416415 for (unsigned int iclass = 0 ; iclass < classMl->size (); iclass++) {
417416 outputMlD0bar[iclass] = candidate.mlProbD0bar ()[classMl->at (iclass)];
418417 }
419- registry.fill (HIST (" hMLScoresVsMassVsPt" ), outputMlD0bar[0 ], outputMlD0bar[2 ], hfHelper.invMassD0barToKPi (candidate), candidate.pt (), candidate. isSelD0 () ? o2::aod::hf_correlation_d0_hadron::D0D0barBoth : o2::aod::hf_correlation_d0_hadron::D0barOnly );
418+ registry.fill (HIST (" hMLScoresVsMassVsPt" ), outputMlD0bar[0 ], outputMlD0bar[2 ], hfHelper.invMassD0barToKPi (candidate), candidate.pt ());
420419 }
421420 entryD0CandRecoInfo (hfHelper.invMassD0ToPiK (candidate), hfHelper.invMassD0barToKPi (candidate), candidate.pt (), outputMlD0[0 ], outputMlD0[2 ], outputMlD0bar[0 ], outputMlD0bar[2 ]);
422421
0 commit comments