We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f80a367 commit e21a83dCopy full SHA for e21a83d
PWGMM/Lumi/Tasks/lumiStabilityPP.cxx
@@ -356,7 +356,7 @@ struct LumiStabilityPP {
356
}
357
358
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;
+ int64_t maxBcDiff = (rate > 0) ? 10 * static_cast<int>(nBunchesFillingScheme * constants::lhc::LHCRevFreq / rate / 1.e3) : 500;
360
if (globalBC - globalBCStart > maxBcDiff) { // we changed fill, we should not count all BCs between the current and the previous one
361
globalBCStart = globalBC;
362
0 commit comments