Skip to content

Commit a05d925

Browse files
author
Lucia Anna Tarasovicova
committed
fix the pion pdg code
1 parent 457d207 commit a05d925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,7 @@ struct HStrangeCorrelation {
20592059
histos.fill(HIST("hPionEtaVsPtAllSelected"), pionTrack.pt(), pionTrack.eta(), collision.centFT0M());
20602060
if (doAssocPhysicalPrimary && !pion.mcPhysicalPrimary())
20612061
continue;
2062-
if (doMCassociation && std::abs(pion.pdgCode()) != PDG_t::kPiPlus)
2062+
if (doMCassociation && std::abs(pion.pdgCode()) != PdgCodes[IndexPion])
20632063
continue;
20642064
histos.fill(HIST("hPionEtaVsPt"), pionTrack.pt(), pionTrack.eta(), collision.centFT0M());
20652065
if (pionTrack.sign() > 0)

0 commit comments

Comments
 (0)