51 <<
". In theory this should not be called, but may happen"
52 <<
" if multiple concurrent events are being processed out of order.");
53 return StatusCode::SUCCESS;
58 if (oldColl==
nullptr) {
59 ATH_MSG_FATAL(
"Null pointer is returned by getDetectorElementCollection()");
60 return StatusCode::FAILURE;
64 std::unique_ptr<GeoAlignmentStore> writeCdo{std::make_unique<GeoAlignmentStore>()};
70 if (readCdoStatic==
nullptr) {
72 return StatusCode::FAILURE;
86 if (readCdoDynamicL1==
nullptr) {
88 return StatusCode::FAILURE;
92 if (readCdoDynamicL2==
nullptr) {
93 ATH_MSG_FATAL(
"Null pointer to the read conditions object of " << readHandleDynamicL2.
key());
94 return StatusCode::FAILURE;
98 if (readCdoDynamicL3==
nullptr) {
99 ATH_MSG_FATAL(
"Null pointer to the read conditions object of " << readHandleDynamicL3.
key());
100 return StatusCode::FAILURE;
122 oldEl->getMaterialGeom()->getAbsoluteTransform(writeCdo.get());
123 oldEl->getMaterialGeom()->getDefAbsoluteTransform(writeCdo.get());
126 writeCdo->lockDelta();
127 writeCdo->lockPosCache();
130 if (writeHandle.
record(std::move(writeCdo)).isFailure()) {
132 <<
" with EventRange " << writeHandle.
getRange()
133 <<
" into Conditions Store");
134 return StatusCode::FAILURE;
136 ATH_MSG_INFO(
"recorded new CDO " << writeHandle.
key() <<
" with range " << writeHandle.
getRange() <<
" into Conditions Store");
138 return StatusCode::SUCCESS;