@@ -356,8 +356,8 @@ struct alice3decayFinder {
356356 histos.add (" h3dRecDbarRefl" , " h3dRecDbarRefl" , kTH3F , {axisPt, axisEta, axisDMass});
357357 histos.add (" h3dRecDbarBkg" , " h3dRecDbarBkg" , kTH3F , {axisPt, axisEta, axisDMass});
358358
359- histos.add (" hDGenForEfficiency" , " hDGenForEfficiency" , kTH2F , {axisPt, axisY}); // 2D vs pT, Y, filling generated D0 and D0bar
360- histos.add (" hDRecForEfficiency" , " hDRecForEfficiency" , kTH2F , {axisPt, axisY}); // 2D vs pT, Y, filling reconstructed D0 and D0bar with correct MC matching
359+ histos.add (" hDGenForEfficiency" , " hDGenForEfficiency" , kTH2F , {axisPt, axisY}); // 2D vs pT, Y, filling generated D0 and D0bar
360+ histos.add (" hDRecForEfficiency" , " hDRecForEfficiency" , kTH2F , {axisPt, axisY}); // 2D vs pT, Y, filling reconstructed D0 and D0bar with correct MC matching
361361
362362 histos.add (" hMassD" , " hMassD" , kTH1F , {axisDMass});
363363 histos.add (" hMassDSig" , " hMassDSig" , kTH1F , {axisDMass});
@@ -411,11 +411,11 @@ struct alice3decayFinder {
411411 if (doprocessFindDmesons) {
412412 for (auto const & mcParticle : trueD) {
413413 histos.fill (HIST (" h2dGenD" ), mcParticle.pt (), mcParticle.eta ());
414- histos.fill (HIST (" hDGenForEfficiency" ), mcParticle.pt (), mcParticle.y ()); // in common for D and Dbar
414+ histos.fill (HIST (" hDGenForEfficiency" ), mcParticle.pt (), mcParticle.y ()); // in common for D and Dbar
415415 }
416416 for (auto const & mcParticle : trueDbar) {
417417 histos.fill (HIST (" h2dGenDbar" ), mcParticle.pt (), mcParticle.eta ());
418- histos.fill (HIST (" hDGenForEfficiency" ), mcParticle.pt (), mcParticle.y ()); // in common for D and Dbar
418+ histos.fill (HIST (" hDGenForEfficiency" ), mcParticle.pt (), mcParticle.y ()); // in common for D and Dbar
419419 }
420420 }
421421 if (doprocessFindLcBaryons) {
@@ -491,14 +491,14 @@ struct alice3decayFinder {
491491 histos.fill (HIST (" hDCADDaughters" ), dmeson.dcaDau * 1e+4 );
492492 histos.fill (HIST (" hMassD" ), dmeson.mass );
493493 histos.fill (HIST (" h3dRecD" ), dmeson.pt , dmeson.eta , dmeson.mass );
494- if (dmeson.mcTruth == 1 ) { // true D0 meson, reco as D0 (= correct matching)
494+ if (dmeson.mcTruth == 1 ) { // true D0 meson, reco as D0 (= correct matching)
495495 histos.fill (HIST (" h3dRecDSig" ), dmeson.pt , dmeson.eta , dmeson.mass );
496496 histos.fill (HIST (" hMassDSig" ), dmeson.mass );
497- histos.fill (HIST (" hDRecForEfficiency" ), dmeson.pt , dmeson.y ); // for efficiency
498- } else if (dmeson.mcTruth == 2 ) { // true D0bar meson, reco as D0 (= reflection)
497+ histos.fill (HIST (" hDRecForEfficiency" ), dmeson.pt , dmeson.y ); // for efficiency
498+ } else if (dmeson.mcTruth == 2 ) { // true D0bar meson, reco as D0 (= reflection)
499499 histos.fill (HIST (" hMassDRefl" ), dmeson.mass );
500500 histos.fill (HIST (" h3dRecDRefl" ), dmeson.pt , dmeson.eta , dmeson.mass );
501- } else { // background, reco as D0
501+ } else { // background, reco as D0
502502 histos.fill (HIST (" hMassDBkg" ), dmeson.mass );
503503 histos.fill (HIST (" h3dRecDBkg" ), dmeson.pt , dmeson.eta , dmeson.mass );
504504 }
@@ -562,14 +562,14 @@ struct alice3decayFinder {
562562 histos.fill (HIST (" hDCADbarDaughters" ), dmeson.dcaDau * 1e+4 );
563563 histos.fill (HIST (" hMassDbar" ), dmeson.mass );
564564 histos.fill (HIST (" h3dRecDbar" ), dmeson.pt , dmeson.eta , dmeson.mass );
565- if (dmeson.mcTruth == 2 ) { // true D0bar meson, reco as D0bar (= correct matching)
565+ if (dmeson.mcTruth == 2 ) { // true D0bar meson, reco as D0bar (= correct matching)
566566 histos.fill (HIST (" h3dRecDbarSig" ), dmeson.pt , dmeson.eta , dmeson.mass );
567567 histos.fill (HIST (" hMassDbarSig" ), dmeson.mass );
568- histos.fill (HIST (" hDRecForEfficiency" ), dmeson.pt , dmeson.y ); // for efficiency
569- } else if (dmeson.mcTruth == 1 ) { // true D0 meson, reco as D0bar (= reflection)
568+ histos.fill (HIST (" hDRecForEfficiency" ), dmeson.pt , dmeson.y ); // for efficiency
569+ } else if (dmeson.mcTruth == 1 ) { // true D0 meson, reco as D0bar (= reflection)
570570 histos.fill (HIST (" hMassDbarRefl" ), dmeson.mass );
571571 histos.fill (HIST (" h3dRecDbarRefl" ), dmeson.pt , dmeson.eta , dmeson.mass );
572- } else { // background, reco as D0
572+ } else { // background, reco as D0
573573 histos.fill (HIST (" hMassDbarBkg" ), dmeson.mass );
574574 histos.fill (HIST (" h3dRecDbarBkg" ), dmeson.pt , dmeson.eta , dmeson.mass );
575575 }
0 commit comments