Skip to content

Commit 3fe2068

Browse files
authored
EMCAL increase check interval for bad channel and time calibrations (#13032)
1 parent 2c42629 commit 3fe2068

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Detectors/EMCAL/calibration/testWorkflow/EMCALChannelCalibratorSpec.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,10 @@ class EMCALChannelCalibDevice : public o2::framework::Task
426426
if (mTimeCalibrator) {
427427
LOG(info) << "Configuring time calibrator";
428428
mTimeCalibrator->setSlotLength(EMCALCalibParams::Instance().slotLength_tc);
429+
if (EMCALCalibParams::Instance().slotLength_tc == 0) {
430+
// for infinite slot length do not check if there is enough statistics after every TF
431+
mTimeCalibrator->setCheckIntervalInfiniteSlot(1e5);
432+
}
429433
if (EMCALCalibParams::Instance().UpdateAtEndOfRunOnly_tc) {
430434
mTimeCalibrator->setUpdateAtTheEndOfRunOnly();
431435
}
@@ -437,6 +441,10 @@ class EMCALChannelCalibDevice : public o2::framework::Task
437441
if (mBadChannelCalibrator) {
438442
LOG(info) << "Configuring bad channel calibrator";
439443
mBadChannelCalibrator->setSlotLength(EMCALCalibParams::Instance().slotLength_bc);
444+
if (EMCALCalibParams::Instance().slotLength_bc == 0) {
445+
// for infinite slot length do not check if there is enough statistics after every TF
446+
mBadChannelCalibrator->setCheckIntervalInfiniteSlot(1e5);
447+
}
440448
if (EMCALCalibParams::Instance().UpdateAtEndOfRunOnly_bc) {
441449
mBadChannelCalibrator->setUpdateAtTheEndOfRunOnly();
442450
}

0 commit comments

Comments
 (0)