Skip to content

Commit 0ee685f

Browse files
authored
[PWGLF,PWGMM] Fix typo in criterion to skip delta of BCs between two stored BCs for mu calculation (#15003)
1 parent 74ab7ff commit 0ee685f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGMM/Lumi/Tasks/lumiStabilityPP.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ struct LumiStabilityPP {
356356
}
357357

358358
int64_t globalBCStart = (globalBCLastInspectedBC >= 0 && globalBCLastInspectedBC < globalBC) ? globalBCLastInspectedBC + 1 : globalBC;
359-
int64_t maxBcDiff = (rate > 0) ? 10 * static_cast<int>(nBunchesFillingScheme * constants::lhc::LHCRevFreq / rate) : 500;
359+
int64_t maxBcDiff = (rate > 0) ? 10 * static_cast<int>(nBunchesFillingScheme * constants::lhc::LHCRevFreq / rate / 1.e3) : 500;
360360
if (globalBC - globalBCStart > maxBcDiff) { // we changed fill, we should not count all BCs between the current and the previous one
361361
globalBCStart = globalBC;
362362
}

0 commit comments

Comments
 (0)