Skip to content

Commit 0f6d50f

Browse files
authored
Merge pull request #22 from fmazzasc/creetz_test
fix lambda pdg
2 parents fdc37bb + b7ea289 commit 0f6d50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/TableProducer/Nuspex/decay3bodybuilder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ struct decay3bodyBuilder {
12241224
// now first check if the proton and pion have the same mother and it is a Lambda
12251225
for (const auto& motherPr : mcParticlePr.template mothers_as<aod::McParticles>()) {
12261226
for (const auto& motherPi : mcParticlePiTmp.template mothers_as<aod::McParticles>()) {
1227-
if (motherPr.globalIndex() == motherPi.globalIndex() && std::abs(motherPr.pdgCode()) == PDG_t::kLambda) {
1227+
if (motherPr.globalIndex() == motherPi.globalIndex() && std::abs(motherPr.pdgCode()) == PDG_t::kLambda0) {
12281228
return -3;
12291229
}
12301230
}

0 commit comments

Comments
 (0)