7#include "GeoModelKernel/GeoAlignableTransform.h"
19 return StatusCode::SUCCESS;
26 if (writeGeoAlignHandle.
isValid()) {
28 return StatusCode::SUCCESS;
34 ATH_MSG_DEBUG(
"Retrieved DetCondKeyTrans object form the Condition Store");
38 std::unique_ptr<GeoAlignmentStore> writeCdo = std::make_unique<GeoAlignmentStore>();
41 return StatusCode::FAILURE;
43 writeCdo->lockDelta();
44 writeCdo->lockPosCache();
47 ATH_MSG_INFO(
"recorded new GeoAlignmentStore object for LAr with key " << writeGeoAlignHandle.
key()
48 <<
" and range " << writeGeoAlignHandle.
getRange());
50 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
const ServiceHandle< StoreGateSvc > & detStore() const
SG::WriteCondHandleKey< GeoAlignmentStore > m_writeGeoAlignKey
SG::ReadCondHandleKey< DetCondKeyTrans > m_readLArAlignKey
virtual StatusCode execute(const EventContext &ctx) const override
LArAlignHelper m_alignHelper
virtual StatusCode initialize() override
const std::string & key() const
void addDependency(const EventIDRange &range)
const EventIDRange & getRange() const
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED