Skip to content

Commit 8b25ac0

Browse files
committed
Restore line wrongly deleted
1 parent 1d90d2c commit 8b25ac0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PWGHF/TableProducer/candidateCreatorCascade.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ struct HfCandidateCreatorCascadeMc {
250250

251251
// if (isLc) {
252252
RecoDecay::getMatchedMCRec(mcParticles, arrayDaughtersV0, kK0Short, std::array{+kPiPlus, -kPiPlus}, false, &sign, 1);
253+
if (sign != 0) { // we have already positively checked the K0s
254+
// then we check the Lc
255+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayDaughtersLc, pdg::Code::kLambdaCPlus, std::array{+kProton, +kPiPlus, -kPiPlus}, true, &sign, 3); // 3-levels Lc --> p + K0 --> p + K0s --> p + pi+ pi-
256+
}
253257

254258
// Check whether the particle is non-prompt (from a b quark).
255259
if (sign != 0) {

0 commit comments

Comments
 (0)