Skip to content

Commit 44d365a

Browse files
Update taskCharmHadronsV0FemtoDream.cxx
1 parent 280b391 commit 44d365a

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

PWGHF/HFC/Tasks/taskCharmHadronsV0FemtoDream.cxx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -417,15 +417,11 @@ struct HfTaskCharmHadronsV0FemtoDream {
417417
if (p1.childrenIds()[0] == p2.prong0Id() || p1.childrenIds()[0] == p2.prong1Id() || p1.childrenIds()[1] == p2.prong0Id() || p1.childrenIds()[1] == p2.prong1Id()) {
418418
continue;
419419
}
420-
} else if constexpr (Channel == DecayChannel::LcToPKPi || Channel == DecayChannel::DplusToPiKPi) {
420+
} else if constexpr (Channel == DecayChannel::LcToPKPi || Channel == DecayChannel::DplusToPiKPi || Channel == DecayChannel::DstarToD0Pi) {
421421
if (p1.childrenIds()[0] == p2.prong0Id() || p1.childrenIds()[0] == p2.prong1Id() || p1.childrenIds()[0] == p2.prong2Id() || p1.childrenIds()[1] == p2.prong0Id() || p1.childrenIds()[1] == p2.prong1Id() || p1.childrenIds()[1] == p2.prong2Id()) {
422422
continue;
423423
}
424-
} else if constexpr (Channel == DecayChannel::DstarToD0Pi) {
425-
if (p1.childrenIds()[0] == p2.prong0Id() || p1.childrenIds()[0] == p2.prong1Id() || p1.childrenIds()[0] == p2.prong2Id() || p1.childrenIds()[1] == p2.prong0Id() || p1.childrenIds()[1] == p2.prong1Id() || p1.childrenIds()[1] == p2.prong2Id()) {
426-
continue;
427-
}
428-
}
424+
}
429425
// v0 daughters selection
430426
const auto& posChild = femtoParts.iteratorAt(p1.index() - 2);
431427
const auto& negChild = femtoParts.iteratorAt(p1.index() - 1);

0 commit comments

Comments
 (0)