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 41d60bb commit bed4674Copy full SHA for bed4674
PWGLF/TableProducer/QC/nucleiQC.cxx
@@ -409,7 +409,7 @@ struct nucleiQC {
409
if (track.has_mcParticle()) {
410
const auto& particle = track.mcParticle();
411
if (cfgDoCheckPdgCode) {
412
- if (particle.pdgCode() != nuclei::pdgCodes[kSpeciesRt])
+ if (std::abs(particle.pdgCode()) != nuclei::pdgCodes[kSpeciesRt])
413
return;
414
}
415
if ((particle.y() - cfgRapidityCenterMass) < cfgRapidityMin || (particle.y() - cfgRapidityCenterMass) > cfgRapidityMax) {
0 commit comments