Skip to content

Commit b7ea289

Browse files
author
Francesco Mazzaschi
committed
fix lambda pdg
1 parent 72ca60c commit b7ea289

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)