File tree Expand file tree Collapse file tree
Detectors/ITSMFT/MFT/calibration/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,6 +105,12 @@ void NoiseCalibratorSpec::sendOutputCcdbDcs(DataAllocator& output)
105105
106106 LOG (info) << " CCDB-DCS mode" ;
107107
108+ static bool done = false ;
109+ if (done) {
110+ return ;
111+ }
112+ done = true ;
113+
108114 mCalibrator ->finalize ();
109115
110116 long tstart = mStart ;
@@ -170,6 +176,12 @@ void NoiseCalibratorSpec::sendOutputCcdb(DataAllocator& output)
170176
171177 LOG (info) << " CCDB mode" ;
172178
179+ static bool done = false ;
180+ if (done) {
181+ return ;
182+ }
183+ done = true ;
184+
173185 mCalibrator ->finalize ();
174186
175187 long tstart = mStart ;
@@ -220,6 +232,12 @@ void NoiseCalibratorSpec::sendOutputDcs(DataAllocator& output)
220232
221233 LOG (info) << " DCS mode" ;
222234
235+ static bool done = false ;
236+ if (done) {
237+ return ;
238+ }
239+ done = true ;
240+
223241 mCalibrator ->finalize ();
224242
225243 long tstart = mStart ;
You can’t perform that action at this time.
0 commit comments