@@ -66,6 +66,7 @@ struct HfTaskOmegac0ToOmegapi {
6666 ConfigurableAxis thnConfigAxisPt{" thnConfigAxisPt" , {100 , 0 , 20 }, " Cand. pT bins" };
6767 ConfigurableAxis thnConfigAxisY{" thnConfigAxisY" , {20 , -1 , 1 }, " Cand. rapidity bins" };
6868 ConfigurableAxis thnConfigAxisOrigin{" thnConfigAxisOrigin" , {3 , -0.5 , 2.5 }, " Cand. origin type" };
69+ ConfigurableAxis thnConfigAxisMatchFlag{" thnConfigAxisMatchFlag" , {15 , -7.5 , 7.5 }, " Cand. MC Match Flag type" };
6970 ConfigurableAxis thnConfigAxisGenPtD{" thnConfigAxisGenPtD" , {500 , 0 , 50 }, " Gen Pt D" };
7071 ConfigurableAxis thnConfigAxisGenPtB{" thnConfigAxisGenPtB" , {1000 , 0 , 100 }, " Gen Pt B" };
7172 ConfigurableAxis thnConfigAxisNumPvContr{" thnConfigAxisNumPvContr" , {200 , -0.5 , 199.5 }, " Number of PV contributors" };
@@ -85,6 +86,7 @@ struct HfTaskOmegac0ToOmegapi {
8586 const AxisSpec thnAxisPtB{thnConfigAxisPtB, " #it{p}_{T}^{B} (GeV/#it{c})" };
8687 const AxisSpec thnAxisY{thnConfigAxisY, " y" };
8788 const AxisSpec thnAxisOrigin{thnConfigAxisOrigin, " Origin" };
89+ const AxisSpec thnAxisMatchFlag{thnConfigAxisMatchFlag, " MatchFlag" };
8890 const AxisSpec thnAxisGenPtD{thnConfigAxisGenPtD, " #it{p}_{T} (GeV/#it{c})" };
8991 const AxisSpec thnAxisGenPtB{thnConfigAxisGenPtB, " #it{p}_{T}^{B} (GeV/#it{c})" };
9092 const AxisSpec thnAxisNumPvContr{thnConfigAxisNumPvContr, " Number of PV contributors" };
@@ -103,6 +105,7 @@ struct HfTaskOmegac0ToOmegapi {
103105 if (doprocessMcWithKFParticle || doprocessMcWithKFParticleMl) {
104106 axes.push_back (thnAxisPtB);
105107 axes.push_back (thnAxisOrigin);
108+ axes.push_back (thnAxisMatchFlag);
106109 axes.push_back (thnAxisNumPvContr);
107110 }
108111 if (applyMl) {
@@ -178,10 +181,10 @@ struct HfTaskOmegac0ToOmegapi {
178181 if (candidate.resultSelections () && !selectionFlagOmegac0)
179182 if (candidate.flagMcMatchRec () == (1 << aod::hf_cand_xic0_omegac0::DecayType::OmegaczeroToOmegaPi)) {
180183 if constexpr (applyMl) {
181- registry.fill (HIST (" hBdtScoreVsMassVsPtVsPtBVsYVsOriginVsOmegac0Type" ), candidate.mlProbOmegac ()[0 ], massOmegac0, ptCandidate, rapidityCandidate, candidate.ptBhadMotherPart (), candidate.originRec (), numPvContributors);
184+ registry.fill (HIST (" hBdtScoreVsMassVsPtVsPtBVsYVsOriginVsOmegac0Type" ), candidate.mlProbOmegac ()[0 ], massOmegac0, ptCandidate, rapidityCandidate, candidate.ptBhadMotherPart (), candidate.originRec (), candidate. flagMcMatchRec (), numPvContributors);
182185
183186 } else {
184- registry.fill (HIST (" hMassVsPtVsPtBVsYVsOriginVsOmegac0Type" ), massOmegac0, ptCandidate, rapidityCandidate, candidate.ptBhadMotherPart (), candidate.originRec (), numPvContributors);
187+ registry.fill (HIST (" hMassVsPtVsPtBVsYVsOriginVsOmegac0Type" ), massOmegac0, ptCandidate, rapidityCandidate, candidate.ptBhadMotherPart (), candidate.originRec (), candidate. flagMcMatchRec (), numPvContributors);
185188 }
186189 }
187190 }
0 commit comments