We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72ca60c commit b7ea289Copy full SHA for b7ea289
PWGLF/TableProducer/Nuspex/decay3bodybuilder.cxx
@@ -1224,7 +1224,7 @@ struct decay3bodyBuilder {
1224
// now first check if the proton and pion have the same mother and it is a Lambda
1225
for (const auto& motherPr : mcParticlePr.template mothers_as<aod::McParticles>()) {
1226
for (const auto& motherPi : mcParticlePiTmp.template mothers_as<aod::McParticles>()) {
1227
- if (motherPr.globalIndex() == motherPi.globalIndex() && std::abs(motherPr.pdgCode()) == PDG_t::kLambda) {
+ if (motherPr.globalIndex() == motherPi.globalIndex() && std::abs(motherPr.pdgCode()) == PDG_t::kLambda0) {
1228
return -3;
1229
}
1230
0 commit comments