@@ -52,7 +52,10 @@ struct TaskD0ALICE3BarrelMC {
5252 {" hMassReflBkgD0RICHPID" , " 2-prong candidates (checked);#it{m}_{inv} (GeV/#it{c}^{2}); #it{p}_{T}; #it{y}" , {HistType::kTH3F , {{120 , 1.5848 , 2.1848 }, {150 , 0 ., 30 .}, {8 , 0 ., 4 .}}}},
5353 {" hMassSigBkgD0TOFplusRICHPID" , " 2-prong candidates (not checked);#it{m}_{inv} (GeV/#it{c}^{2}); #it{p}_{T}; #it{y}" , {HistType::kTH3F , {{120 , 1.5848 , 2.1848 }, {150 , 0 ., 30 .}, {8 , 0 , 4.0 }}}},
5454 {" hMassSigD0TOFplusRICHPID" , " 2-prong candidates (matched);#it{m}_{inv} (GeV/#it{c}^{2}); #it{p}_{T}; #it{y}" , {HistType::kTH3F , {{120 , 1.5848 , 2.1848 }, {150 , 0 ., 30 .}, {8 , 0 ., 4 .}}}},
55- {" hMassBkgD0TOFplusRICHPID" , " 2-prong candidates (checked);#it{m}_{inv} (GeV/#it{c}^{2}); #it{p}_{T}; #it{y}" , {HistType::kTH3F , {{120 , 1.5848 , 2.1848 }, {150 , 0 ., 30 .}, {8 , 0 ., 4 .}}}}}};
55+ {" hMassBkgD0TOFplusRICHPID" , " 2-prong candidates (checked);#it{m}_{inv} (GeV/#it{c}^{2}); #it{p}_{T}; #it{y}" , {HistType::kTH3F , {{120 , 1.5848 , 2.1848 }, {150 , 0 ., 30 .}, {8 , 0 ., 4 .}}}},
56+ {" hMassSigBkgD0PerfectPID" , " 2-prong candidates (not checked);#it{m}_{inv} (GeV/#it{c}^{2}); #it{p}_{T}; #it{y}" , {HistType::kTH3F , {{120 , 1.5848 , 2.1848 }, {150 , 0 ., 30 .}, {8 , 0 , 4.0 }}}},
57+ {" hMassSigD0PerfectPID" , " 2-prong candidates (matched);#it{m}_{inv} (GeV/#it{c}^{2}); #it{p}_{T}; #it{y}" , {HistType::kTH3F , {{120 , 1.5848 , 2.1848 }, {150 , 0 ., 30 .}, {8 , 0 ., 4 .}}}},
58+ {" hMassBkgD0PerfectPID" , " 2-prong candidates (checked);#it{m}_{inv} (GeV/#it{c}^{2}); #it{p}_{T}; #it{y}" , {HistType::kTH3F , {{120 , 1.5848 , 2.1848 }, {150 , 0 ., 30 .}, {8 , 0 ., 4 .}}}}}};
5659
5760 Filter filterSelectCandidates = (aod::hf_selcandidate_d0_ALICE3_Barrel::isSelHFFlag >= 1 );
5861
@@ -109,6 +112,14 @@ struct TaskD0ALICE3BarrelMC {
109112 registry.fill (HIST (" hMassBkgD0TOFplusRICHPID" ), massD0, ptCandidate, rapidityCandidate);
110113 }
111114 }
115+ if (candidate.isSelD0PerfectPID () >= 1 ) {
116+ registry.fill (HIST (" hMassSigBkgD0PerfectPID" ), massD0, ptCandidate, rapidityCandidate);
117+ if (candidate.flagMCMatchRec () == (1 << DecayType::D0ToPiK)) {
118+ registry.fill (HIST (" hMassSigD0PerfectPID" ), massD0, ptCandidate, rapidityCandidate);
119+ } else {
120+ registry.fill (HIST (" hMassBkgD0PerfectPID" ), massD0, ptCandidate, rapidityCandidate);
121+ }
122+ }
112123 }
113124
114125 for (auto & particle : particlesMC) {
0 commit comments