Skip to content

Commit d0a32f2

Browse files
authored
Update particle PDG code handling in correlation function
1 parent dc59c7b commit d0a32f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,13 +1842,13 @@ struct HadronNucleiCorrelation {
18421842
case PDG_t::kProton:
18431843
registry.fill(HIST("Generated/hQAProtons"), binPosition);
18441844
return true;
1845-
case -PDG_t::kProton:
1845+
case PDG_t::kProtonBar:
18461846
registry.fill(HIST("Generated/hQAAntiProtons"), binPosition);
18471847
return true;
1848-
case o2::constants::physics::Pdg::kNeutron:
1848+
case PDG_t::kNeutron:
18491849
registry.fill(HIST("Generated/hQANeutrons"), binPosition);
18501850
return true;
1851-
case -o2::constants::physics::Pdg::kNeutron:
1851+
case PDG_t::kNeutronBar:
18521852
registry.fill(HIST("Generated/hQAAntiNeutrons"), binPosition);
18531853
return true;
18541854
case o2::constants::physics::Pdg::kDeuteron:

0 commit comments

Comments
 (0)