We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7225bc1 commit 5901752Copy full SHA for 5901752
Detectors/PHOS/calib/src/PHOSL1phaseCalibDevice.cxx
@@ -48,6 +48,10 @@ void PHOSL1phaseCalibDevice::endOfStream(o2::framework::EndOfStreamContext& ec)
48
mCalibrator->checkSlotsToFinalize(o2::calibration::INFINITE_TF);
49
mCalibrator->endOfStream();
50
51
+ if (mRunStartTime == 0 || mCalibrator->getCalibration() == 0) { // run not started || calibration was not produced
52
+ return; // do not create CCDB object
53
+ }
54
+
55
std::vector<int> l1phase{mCalibrator->getCalibration()};
56
LOG(info) << "End of stream reached, sending output to CCDB";
57
// prepare all info to be sent to CCDB
0 commit comments