8 #include <GaudiKernel/SystemOfUnits.h>
15 return StatusCode::SUCCESS;
19 if (writeHandle.isValid()){
20 ATH_MSG_DEBUG(
"CondHandle " << writeHandle.fullKey() <<
" is already valid."
21 <<
". In theory this should not be called, but may happen"
22 <<
" if multiple concurrent events are being processed out of order.");
23 return StatusCode::SUCCESS;
26 std::unique_ptr<ALineContainer> writeCdo = std::make_unique<ALineContainer>();
32 for (
auto itr = idHelper.module_begin();
33 itr != idHelper.module_end(); ++itr){
43 writeCdo->insert(std::move(aline));
49 ATH_CHECK(writeHandle.record(std::move(writeCdo)));
50 return StatusCode::SUCCESS;