Skip to content

Commit 2b3ce02

Browse files
committed
[PWGCF] Run number setting moved after correction reading
1 parent 5694b3a commit 2b3ce02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PWGCF/JCorran/Tasks/jflucWeightsLoader.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ struct JflucWeightsLoader {
175175
initCCDB(collision.runNumber(), timestamp, kNUA);
176176
LOGF(info, "Loaded NUA correction histogram from CCDB for run %d.", collision.runNumber());
177177
}
178-
runNumber = collision.runNumber();
179178
}
180179
}
181180
if (pfeff || useEffFromCCDB) {
@@ -194,6 +193,10 @@ struct JflucWeightsLoader {
194193
}
195194
}
196195
}
196+
197+
// Set run number after reading corrections
198+
runNumber = collision.runNumber();
199+
197200
for (const auto& track : tracks) {
198201
float phiWeight, effWeight;
199202
if (ph) {

0 commit comments

Comments
 (0)