Skip to content

Commit 34c968a

Browse files
authored
[PWGLF] fill also zero in gen histogram (AliceO2Group#8854)
1 parent 4574a1f commit 34c968a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Nuspex/ebyeMult.cxx

+2-2
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ struct EbyeMult {
502502
}
503503
}
504504
}
505-
if (partInAcc > 0)
505+
if (partInAcc >= 0)
506506
return nParticles;
507507
return -1;
508508
}
@@ -569,7 +569,7 @@ struct EbyeMult {
569569
// search generated INEL > 0 (one charged particle in |eta| < 1)
570570
for (const auto& mcCollision : mcCollisions) {
571571
int mult = genMultINELgtZERO(mcCollision, mcParticles);
572-
if (mult > 0) {
572+
if (mult >= 0) {
573573
histos.fill(HIST("GenINELgtZERO"), mult);
574574
}
575575
}

0 commit comments

Comments
 (0)