Skip to content

Commit 49ae7a0

Browse files
committed
Fix pdg code
1 parent 1a1ebc4 commit 49ae7a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PWGLF/TableProducer/Strangeness/phiStrangeCorrelator.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ struct V0ReducedCandProducer {
663663
histos.fill(HIST("h2LambdaFromXi"), v0McParticle.pt(), v0McMotherParticle.pt());
664664
}
665665
} else if constexpr (v0Type == kAntiLambda) {
666-
if (v0McMotherParticle.pdgCode() == PDG_t::kXiPlusBar || v0McMotherParticle.pdgCode() == o2::constants::physics::Pdg::kXi0) {
666+
if (v0McMotherParticle.pdgCode() == PDG_t::kXiPlusBar || v0McMotherParticle.pdgCode() == -o2::constants::physics::Pdg::kXi0) {
667667
histos.fill(HIST("h2AntiLambdaFromXi"), v0McParticle.pt(), v0McMotherParticle.pt());
668668
}
669669
}

0 commit comments

Comments
 (0)