Skip to content

Commit 97c8866

Browse files
committed
add Xic->PKPi into swapping calculation when matchCorrelatedBackground=true
1 parent 68dc3e4 commit 97c8866

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/TableProducer/candidateCreator3Prong.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,8 @@ struct HfCandidateCreator3ProngExpressions {
11261126
if (indexRec > -1) {
11271127
flagChannelMain = sign * channelMain;
11281128

1129-
/// swapping for D+, Ds->Kpipi and Lc->pKpi
1130-
if (std::abs(flagChannelMain) == DecayChannelMain::DplusToPiKK || std::abs(flagChannelMain) == DecayChannelMain::DsToPiKK || std::abs(flagChannelMain) == DecayChannelMain::LcToPKPi) {
1129+
/// swapping for D+, Ds->Kpipi; Lc, Xic->pKpi
1130+
if (std::abs(flagChannelMain) == DecayChannelMain::DplusToPiKK || std::abs(flagChannelMain) == DecayChannelMain::DsToPiKK || std::abs(flagChannelMain) == DecayChannelMain::LcToPKPi || std::abs(flagChannelMain) == DecayChannelMain::XicToPKPi) {
11311131
if (arrayDaughters[0].has_mcParticle()) {
11321132
swapping = static_cast<int8_t>(std::abs(arrayDaughters[0].mcParticle().pdgCode()) == kPiPlus);
11331133
}

0 commit comments

Comments
 (0)