diff --git a/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx b/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx index fae009f84d0..40a0ebbffd4 100644 --- a/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx +++ b/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx @@ -893,7 +893,7 @@ struct HeavyionMultiplicity { // All generated particles histos.fill(HIST("hgendndetaBeforeEvtSel"), particle.eta()); histos.fill(HIST("hgendndetaVscentBeforeEvtSel"), particle.eta(), mcCollision.impactParameter()); - + if (atLeastOne) { // All generated particles with at least one reconstructed collision (signal loss estimation) histos.fill(HIST("hgendndetaAfterEvtSel"), particle.eta());