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 741d31d commit 395e5c9Copy full SHA for 395e5c9
PWGCF/FemtoUniverse/Core/FemtoUniverseParticleHisto.h
@@ -375,13 +375,13 @@ class FemtoUniverseParticleHisto
375
} else {
376
PDGbin = 3;
377
}
378
- if (std::abs(pdgcode == 211)) {
+ if (std::abs(pdgcode) == 211) {
379
mHistogramRegistry->fill(histFolder + HIST("_MC/hMisidentification"),
380
PDGbin, 0, part.pt());
381
- } else if (std::abs(pdgcode == 321)) {
+ } else if (std::abs(pdgcode) == 321) {
382
383
PDGbin, 1, part.pt());
384
- } else if (std::abs(pdgcode == 2212)) {
+ } else if (std::abs(pdgcode) == 2212) {
385
386
PDGbin, 2, part.pt());
387
0 commit comments