Skip to content

Commit c76357a

Browse files
cnkosteralibuild
andauthored
[PWGCF] fix nua fill statements to include all (#10775)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 12ea657 commit c76357a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

PWGCF/Flow/Tasks/flowSP.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,10 +1094,12 @@ struct FlowSP {
10941094
// Fill NUA weights
10951095
if (cfgFillWeights) {
10961096
fWeights->fill(track.phi(), track.eta(), vtxz, track.pt(), centrality, 0);
1097-
} else if (cfgFillWeightsPOS) {
1097+
}
1098+
if (cfgFillWeightsPOS) {
10981099
if (pos)
10991100
fWeightsPOS->fill(track.phi(), track.eta(), vtxz, track.pt(), centrality, 0);
1100-
} else if (cfgFillWeightsNEG) {
1101+
}
1102+
if (cfgFillWeightsNEG) {
11011103
if (!pos)
11021104
fWeightsNEG->fill(track.phi(), track.eta(), vtxz, track.pt(), centrality, 0);
11031105
}

0 commit comments

Comments
 (0)