17 m_useOflLasFib(false),
43 <<
"Setting it to \"Invalid\"!" );
62 ATH_MSG_INFO(
"ProxyOflLasFib is set up and can be used");
64 ATH_MSG_INFO(
"ProxyOflLasFib is not set up and cannot be used");
77 <<
"but at least one Onl{Cis|Las|Ces|Ems}Proxy is not set up!" );
78 return StatusCode::FAILURE;
85 return StatusCode::FAILURE;
94 ATH_MSG_INFO(
"Undoing online calibration is not requested, "
99 ATH_MSG_INFO(
"Loading of online CIS calibration constants is not requested" );
107 ATH_MSG_INFO(
"Loading of online Laser calibration constants is not requested" );
115 ATH_MSG_INFO(
"Loading of online Cesium calibration constants is not requested" );
123 ATH_MSG_INFO(
"Loading of online EM scale calibration constants is not requested" );
132 return StatusCode::SUCCESS;
140 if (calibEms.isValid()) {
141 ATH_MSG_DEBUG(
"Found valid TileEMScale: " << calibEms.key());
142 return StatusCode::SUCCESS;
146 std::unique_ptr<TileEMScale> emsData = std::make_unique<TileEMScale>();
154 EventIDRange oflCisLinRange;
155 std::unique_ptr<TileCalibDataFlt> calibOflCisLin = std::make_unique<TileCalibDataFlt>();
161 EventIDRange oflCisNlnRange;
162 std::unique_ptr<TileCalibDataFlt> calibOflCisNln = std::make_unique<TileCalibDataFlt>();
169 EventIDRange oflLasLinRange;
170 std::unique_ptr<TileCalibDataFlt> calibOflLasLin = std::make_unique<TileCalibDataFlt>();
177 EventIDRange oflLasNlnRange;
178 std::unique_ptr<TileCalibDataFlt> calibOflLasNln = std::make_unique<TileCalibDataFlt>();
185 EventIDRange oflCesRange;
186 std::unique_ptr<TileCalibDataFlt> calibOflCes = std::make_unique<TileCalibDataFlt>();
193 EventIDRange oflEmsRange;
194 std::unique_ptr<TileCalibDataFlt> calibOflEms = std::make_unique<TileCalibDataFlt>();
201 oflLasLinRange, oflLasNlnRange,
202 oflCesRange, oflEmsRange);
207 EventIDRange oflLasFibRange;
208 std::unique_ptr<TileCalibDataFlt> calibOflLasFib = std::make_unique<TileCalibDataFlt>();
218 EventIDRange onlCisRange;
219 std::unique_ptr<TileCalibDataFlt> calibOnlCis = std::make_unique<TileCalibDataFlt>();
229 EventIDRange onlLasRange;
230 std::unique_ptr<TileCalibDataFlt> calibOnlLas = std::make_unique<TileCalibDataFlt>();
240 EventIDRange onlCesRange;
241 std::unique_ptr<TileCalibDataFlt> calibOnlCes = std::make_unique<TileCalibDataFlt>();
251 EventIDRange onlEmsRange;
252 std::unique_ptr<TileCalibDataFlt> calibOnlEms = std::make_unique<TileCalibDataFlt>();
261 if(eventRange.start() > eventRange.stop()) {
263 return StatusCode::FAILURE;
267 ATH_MSG_DEBUG(
"TileEMScale object is initialized successfully.");
269 ATH_MSG_ERROR(
"Impossible to inizialize TileEMScale object!");
270 return StatusCode::FAILURE;
273 if(calibEms.record(eventRange, emsData.release()).isFailure()) {
276 <<
" with EventRange " << eventRange
277 <<
" into Conditions Store");
278 return StatusCode::FAILURE;
283 <<
" with EventRange " << eventRange
284 <<
" into Conditions Store");
287 return StatusCode::SUCCESS;
293 return StatusCode::SUCCESS;