7 #include "GaudiKernel/EventIDRange.h"
30 ATH_MSG_DEBUG(
"CondHandle " << writeHandle.
fullKey() <<
" is already valid.. In theory this should not be called, but may happen if multiple concurrent events are being processed out of order.");
31 return StatusCode::SUCCESS;
35 std::unique_ptr<PixelModuleData> writeCdo(std::make_unique<PixelModuleData>());
37 const EventIDBase
start{EventIDBase::UNDEFNUM, EventIDBase::UNDEFEVT, 0,
38 0, EventIDBase::UNDEFNUM, EventIDBase::UNDEFNUM};
39 const EventIDBase
stop {EventIDBase::UNDEFNUM, EventIDBase::UNDEFEVT, EventIDBase::UNDEFNUM-1,
40 EventIDBase::UNDEFNUM-1, EventIDBase::UNDEFNUM, EventIDBase::UNDEFNUM};
85 std::vector<std::string> mapsPath_list;
86 std::vector<std::string> mapsPath_list3D;
117 if (rangeW.stop().isValid() && rangeW.start()>rangeW.stop()) {
119 return StatusCode::FAILURE;
122 if (writeHandle.
record(rangeW, std::move(writeCdo)).isFailure()) {
123 ATH_MSG_FATAL(
"Could not record PixelModuleData " << writeHandle.
key() <<
" with EventRange " << rangeW <<
" into Conditions Store");
124 return StatusCode::FAILURE;
126 ATH_MSG_INFO(
"recorded new CDO " << writeHandle.
key() <<
" with range " << rangeW <<
" into Conditions Store");
128 return StatusCode::SUCCESS;