We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d3c880 commit 6c64926Copy full SHA for 6c64926
1 file changed
PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx
@@ -345,7 +345,7 @@ struct StudyPnch {
345
mcRecIDs.push_back(particle.globalIndex());
346
if (particle.has_mothers()) {
347
auto mcMother = particle.template mothers_as<aod::McParticles>().front();
348
- if (mcMother.pdgCode() == PDG_t::kK0Short || std::abs(mcMother.pdgCode() == PDG_t::kLambda0)) {
+ if (mcMother.pdgCode() == PDG_t::kK0Short || std::abs(mcMother.pdgCode()) == PDG_t::kLambda0) {
349
nTrkStrange++;
350
}
351
0 commit comments