Skip to content

Commit 64b4e4f

Browse files
authored
Update taskXic0ToXiPi.cxx
1 parent 06997f1 commit 64b4e4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/D2H/Tasks/taskXic0ToXiPi.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ struct HfTaskXic0ToXiPi {
211211
// MC rec.
212212
for (const auto& candidate : candidates) {
213213
if (candidate.resultSelections() != true) {
214-
return;
214+
continue;
215215
}
216216
double etaCharmBaryon;
217217
if constexpr (UseKfParticle) {
@@ -220,7 +220,7 @@ struct HfTaskXic0ToXiPi {
220220
etaCharmBaryon = candidate.etaCharmBaryon();
221221
}
222222
if (yCandRecMax >= 0. && std::abs(etaCharmBaryon) > yCandRecMax) {
223-
return;
223+
continue;
224224
}
225225

226226
auto numPvContributors = candidate.template collision_as<CollType>().numContrib();

0 commit comments

Comments
 (0)