We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb027af commit 25963ecCopy full SHA for 25963ec
PWGHF/TableProducer/candidateCreator3Prong.cxx
@@ -1125,6 +1125,13 @@ struct HfCandidateCreator3ProngExpressions {
1125
if (indexRec > -1) {
1126
flagChannelMain = sign * channelMain;
1127
1128
+ /// swapping for D+, Ds->Kpipi and Lc->pKpi
1129
+ if (std::abs(flagChannelMain) == DecayChannelMain::DplusToPiKK || std::abs(flagChannelMain) == DecayChannelMain::DsToPiKK || std::abs(flagChannelMain) == DecayChannelMain::LcToPKPi) {
1130
+ if (arrayDaughters[0].has_mcParticle()) {
1131
+ swapping = static_cast<int8_t>(std::abs(arrayDaughters[0].mcParticle().pdgCode()) == kPiPlus);
1132
+ }
1133
1134
+
1135
// Flag the resonant decay channel
1136
std::vector<int> arrResoDaughIndex = {};
1137
if (pdgMother == Pdg::kDStar) {
0 commit comments