Skip to content

Commit 032d21e

Browse files
ilikmetaalibuild
andauthored
[PWGCF] Remove Nch sum from track selection (#10617)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 18e7bbb commit 032d21e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

PWGCF/Flow/Tasks/flowGfwTask.cxx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ struct FlowGfwTask {
655655
effNch = mEfficiencyNch->GetBinContent(mEfficiencyNch->FindBin(nch));
656656
else
657657
effNch = 1.0;
658-
if (effNch == 0)
658+
if (effNch == 0.0)
659659
return false;
660660
weight_nueNch = 1. / effNch;
661661
return true;
@@ -1012,7 +1012,6 @@ struct FlowGfwTask {
10121012

10131013
if (cfgGlobalplusITS) {
10141014
if (withinPtRef) {
1015-
nch++;
10161015
registry.fill(HIST("GlobalplusITS"), centrality, nch);
10171016
fGFW->Fill(track.eta(), fPtAxis->FindBin(track.pt()) - 1, track.phi(), wacc * weff, 1);
10181017
}
@@ -1021,7 +1020,6 @@ struct FlowGfwTask {
10211020
if (track.hasTPC()) {
10221021
if (cfgGlobalonly) {
10231022
if (withinPtRef) {
1024-
nch++;
10251023
registry.fill(HIST("Globalonly"), centrality, nch);
10261024
registry.fill(HIST("pt_Cen_GlobalOnly"), centrality, track.pt());
10271025
registry.fill(HIST("phi_Cen_GlobalOnly"), centrality, track.phi());
@@ -1031,7 +1029,6 @@ struct FlowGfwTask {
10311029
} else {
10321030
if (cfgITSonly) {
10331031
if (withinPtRef) {
1034-
nch++;
10351032
registry.fill(HIST("ITSonly"), centrality, nch);
10361033
registry.fill(HIST("pt_Cen_ITSOnly"), centrality, track.pt());
10371034
registry.fill(HIST("phi_Cen_ITSOnly"), centrality, track.phi());

0 commit comments

Comments
 (0)