21 return StatusCode::SUCCESS;
28 if (writeCaloMgrHandle.
isValid()) {
30 return StatusCode::SUCCESS;
39 ATH_MSG_DEBUG(
"Retrieved GeoAlignmentStore object form the Condition Store");
41 geoAlign = *readHandleGeoAlign;
49 ATH_MSG_DEBUG(
"Retrieved CaloRec::CaloCellPositionShift object form the Condition Store");
51 cellPosShift = *readHandleCellPosShift;
65 ATH_MSG_INFO(
"recorded new CaloDetDescr Manager condition object with key " << writeCaloMgrHandle.
key()
66 <<
" and range " << writeCaloMgrHandle.
getRange());
68 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
std::unique_ptr< CaloDetDescrManager > buildCaloDetDescr(ISvcLocator *svcLocator, IMessageSvc *msgSvc, const GeoAlignmentStore *geoAlignStore, const CaloRec::CaloCellPositionShift *cellPosShift)
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
SG::ReadCondHandleKey< CaloRec::CaloCellPositionShift > m_readKeyCellPosShift
SG::ReadCondHandleKey< GeoAlignmentStore > m_readKeyGeoAlign
SG::WriteCondHandleKey< CaloDetDescrManager > m_writeCaloMgrKey
Container for a cell-level rescaling-factors, typically obtained by Z->ee intercalibration.
Ensure that the extensions for the Vector3D are properly loaded.
static EventIDRange infiniteRunLB()
Produces an EventIDRange that is infinite in RunLumi and invalid in Time.
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
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)