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 ac76a27 commit 01ac4ffCopy full SHA for 01ac4ff
PWGLF/Tasks/Nuspex/ebyeMult.cxx
@@ -495,7 +495,8 @@ struct EbyeMult {
495
496
int partType = getPartType(particle.pdgCode());
497
if (partType < PartTypes::kOther) {
498
- ++nParticles;
+ if (std::abs(particle.eta()) < etaMax)
499
+ ++nParticles;
500
if (std::abs(particle.eta()) < 1.f) {
501
++partInAcc;
502
}
@@ -567,7 +568,7 @@ struct EbyeMult {
567
568
569
// search generated INEL > 0 (one charged particle in |eta| < 1)
570
for (const auto& mcCollision : mcCollisions) {
- int mult = genMultINELgtZERO(mcCollision, mcParticles) > 0;
571
+ int mult = genMultINELgtZERO(mcCollision, mcParticles);
572
if (mult > 0) {
573
histos.fill(HIST("GenINELgtZERO"), mult);
574
0 commit comments