Skip to content

Commit eeedbaa

Browse files
authored
[PWGCF] flow-runbyrun: retrieve code, wrong if-else logic (#9790)
1 parent 122fe0f commit eeedbaa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

PWGCF/Flow/Tasks/flowRunbyRun.cxx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,6 @@ struct FlowRunbyRun {
329329
}
330330
weight->fill(track.phi(), track.eta(), collision.posZ(), track.pt(), cent, 0);
331331
}
332-
} else {
333-
GFWWeights* weight = fGFWWeightsList->getGFWWeightsByRun(runNumber);
334-
if (!weight) {
335-
LOGF(fatal, "Could not find the weight for run %d", runNumber);
336-
return;
337-
}
338-
weight->fill(track.phi(), track.eta(), collision.posZ(), track.pt(), cent, 0);
339332
}
340333
}
341334

0 commit comments

Comments
 (0)