File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Detectors/EMCAL/calibration/testWorkflow Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments