Skip to content

Commit 2aac93b

Browse files
authored
[PWGCF] Fix Global histogram. (AliceO2Group#10157)
1 parent d1141af commit 2aac93b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

PWGCF/Flow/Tasks/flowGfwTask.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -902,11 +902,10 @@ struct FlowGfwTask {
902902

903903
globalPlusitsNch++;
904904

905-
registry.fill(HIST("GlobalplusITS"), centrality);
906-
907905
if (cfgGlobalplusITS) {
908906
if (withinPtRef) {
909907
fGFW->Fill(track.eta(), fPtAxis->FindBin(track.pt()) - 1, track.phi(), wacc * weff, 1);
908+
registry.fill(HIST("GlobalplusITS"), centrality);
910909
}
911910
}
912911

@@ -916,7 +915,7 @@ struct FlowGfwTask {
916915
fGFW->Fill(track.eta(), fPtAxis->FindBin(track.pt()) - 1, track.phi(), wacc * weff, 1);
917916
gloabalOnlyNch++;
918917
registry.fill(HIST("Globalonly"), centrality);
919-
registry.fill(HIST("pt_Cen_ITSOnly"), centrality, track.pt());
918+
registry.fill(HIST("pt_Cen_GlobalOnly"), centrality, track.pt());
920919
registry.fill(HIST("phi_Cen_GlobalOnly"), centrality, track.pt());
921920
}
922921
}

0 commit comments

Comments
 (0)