Skip to content

Commit

Permalink
Fixing error in O2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
prchakra authored Feb 19, 2025
1 parent 741d31d commit 395e5c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PWGCF/FemtoUniverse/Core/FemtoUniverseParticleHisto.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,13 @@ class FemtoUniverseParticleHisto
} else {
PDGbin = 3;
}
if (std::abs(pdgcode == 211)) {
if (std::abs(pdgcode) == 211) {
mHistogramRegistry->fill(histFolder + HIST("_MC/hMisidentification"),
PDGbin, 0, part.pt());
} else if (std::abs(pdgcode == 321)) {
} else if (std::abs(pdgcode) == 321) {
mHistogramRegistry->fill(histFolder + HIST("_MC/hMisidentification"),
PDGbin, 1, part.pt());
} else if (std::abs(pdgcode == 2212)) {
} else if (std::abs(pdgcode) == 2212) {
mHistogramRegistry->fill(histFolder + HIST("_MC/hMisidentification"),
PDGbin, 2, part.pt());
} else {
Expand Down

0 comments on commit 395e5c9

Please sign in to comment.