diff --git a/PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx b/PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx index 87ef6dafb66..28843ed3f95 100644 --- a/PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx +++ b/PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx @@ -254,8 +254,8 @@ struct StudyPnch { if (track.mcCollisionId() != McCol.globalIndex()) { continue; } - histos.fill(HIST("PhiVsEtaHist"), track.phi(), track.eta()); - nTrk++; + histos.fill(HIST("PhiVsEtaHist"), track.phi(), track.eta()); + nTrk++; } return nTrk; }