@@ -166,14 +166,14 @@ struct HfTaskXic0ToXiPi {
166166 if (candidate.resultSelections () != true ) {
167167 continue ;
168168 }
169- if (yCandRecMax >= 0 . && std::abs (candidate.kfRapXic ()) > yCandRecMax) {
169+ if (yCandRecMax >= 0 . && std::abs (candidate.etaCharmBaryon ()) > yCandRecMax) {
170170 continue ;
171171 }
172172
173173 if constexpr (applyMl) {
174- registry.fill (HIST (" hBdtScoreVsMassVsPtVsPtBVsYVsOriginVsXic0Type" ), candidate.mlProbToXiPi ()[0 ], candidate.invMassCharmBaryon (), candidate.ptXic (), candidate.kfRapXic ());
174+ registry.fill (HIST (" hBdtScoreVsMassVsPtVsPtBVsYVsOriginVsXic0Type" ), candidate.mlProbToXiPi ()[0 ], candidate.invMassCharmBaryon (), candidate.ptXic (), candidate.etaCharmBaryon ());
175175 } else {
176- registry.fill (HIST (" hMassVsPtVsPtBVsYVsOriginVsXic0Type" ), candidate.invMassCharmBaryon (), candidate.ptXic (), candidate.kfRapXic ());
176+ registry.fill (HIST (" hMassVsPtVsPtBVsYVsOriginVsXic0Type" ), candidate.invMassCharmBaryon (), candidate.ptXic (), candidate.etaCharmBaryon ());
177177 }
178178 }
179179 }
@@ -194,23 +194,23 @@ struct HfTaskXic0ToXiPi {
194194 centrality = o2::hf_centrality::getCentralityColl (collision);
195195 }
196196 double ptXic = RecoDecay::pt (candidate.pxCharmBaryon (), candidate.pyCharmBaryon ());
197- double kfptPiFromXic = RecoDecay::pt (candidate.pxBachFromCharmBaryon (), candidate.pyBachFromCharmBaryon ());
197+ double ptPiFromXic = RecoDecay::pt (candidate.pxBachFromCharmBaryon (), candidate.pyBachFromCharmBaryon ());
198198 if constexpr (applyMl) {
199199 registry.fill (HIST (" hBdtScoreVsMassVsPtVsYVsCentVsPtPion" ),
200200 candidate.mlProbToXiPi ()[0 ],
201201 candidate.invMassCharmBaryon (),
202202 ptXic,
203203 candidate.etaCharmBaryon (),
204204 centrality,
205- kfptPiFromXic ,
205+ ptPiFromXic ,
206206 numPvContributors);
207207 } else {
208208 registry.fill (HIST (" hMassVsPtVsYVsCentVsPtPion" ),
209209 candidate.invMassCharmBaryon (),
210210 ptXic,
211211 candidate.etaCharmBaryon (),
212212 centrality,
213- kfptPiFromXic ,
213+ ptPiFromXic ,
214214 numPvContributors);
215215 }
216216 }
0 commit comments