20 return StatusCode::SUCCESS;
27 if (writeCaloSuperCellMgrHandle.
isValid()) {
29 return StatusCode::SUCCESS;
35 ATH_MSG_DEBUG(
"Retrieved CaloDetDescrManager object form the Condition Store");
39 std::unique_ptr<CaloSuperCellDetDescrManager> mgr = std::make_unique<CaloSuperCellDetDescrManager>();
45 mgr->set_helper(caloId_mgr);
56 ATH_MSG_INFO(
"recorded new CaloSuperCellDetDescr Manager condition object with key " << writeCaloSuperCellMgrHandle.
key()
57 <<
" and range " << writeCaloSuperCellMgrHandle.
getRange());
59 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
void updateDescriptors(CaloSuperCellDetDescrManager *mgr, const CaloDetDescrManager *cellmgr, const ICaloSuperCellIDTool *scidTool)
This is a collection of helper functions for building Calo Super Cell detector manager,...
void createDescriptors(CaloSuperCellDetDescrManager *mgr)
void createElements(CaloSuperCellDetDescrManager *mgr)
StatusCode updateElements(CaloSuperCellDetDescrManager *mgr, const CaloDetDescrManager *cellmgr, const ICaloSuperCellIDTool *scidTool)
const ServiceHandle< StoreGateSvc > & detStore() const
This class initializes the Calo (LAr and Tile) offline identifiers.
const CaloCell_SuperCell_ID * getCaloCell_SuperCell_ID(void) const
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteCondHandleKey< CaloSuperCellDetDescrManager > m_writeCaloSuperCellMgrKey
virtual StatusCode initialize() override
ToolHandle< ICaloSuperCellIDTool > m_scidTool
SG::ReadCondHandleKey< CaloDetDescrManager > m_readCaloMgrKey
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