File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -1126,11 +1126,7 @@ struct HfCandidateCreator3ProngExpressions {
11261126 flagChannelMain = sign * channelMain;
11271127
11281128 // / swapping for D+, Ds->Kpipi and Lc->pKpi
1129- if (std::abs (flagChannelMain) == DecayChannelMain::DplusToPiKK || std::abs (flagChannelMain) == DecayChannelMain::DsToPiKK) {
1130- if (arrayDaughters[0 ].has_mcParticle ()) {
1131- swapping = static_cast <int8_t >(std::abs (arrayDaughters[0 ].mcParticle ().pdgCode ()) == kPiPlus );
1132- }
1133- } else if (std::abs (flagChannelMain) == DecayChannelMain::LcToPKPi) {
1129+ if (std::abs (flagChannelMain) == DecayChannelMain::DplusToPiKK || std::abs (flagChannelMain) == DecayChannelMain::DsToPiKK || std::abs (flagChannelMain) == DecayChannelMain::LcToPKPi) {
11341130 if (arrayDaughters[0 ].has_mcParticle ()) {
11351131 swapping = static_cast <int8_t >(std::abs (arrayDaughters[0 ].mcParticle ().pdgCode ()) == kPiPlus );
11361132 }
You can’t perform that action at this time.
0 commit comments