20 return StatusCode::SUCCESS;
25 const EventContext& ctx = Gaudi::Hive::currentContext();
28 if (writeCaloSuperCellMgrHandle.
isValid()) {
30 return StatusCode::SUCCESS;
36 ATH_MSG_DEBUG(
"Retrieved CaloDetDescrManager object form the Condition Store");
40 std::unique_ptr<CaloSuperCellDetDescrManager> mgr = std::make_unique<CaloSuperCellDetDescrManager>();
46 mgr->set_helper(caloId_mgr);
57 ATH_MSG_INFO(
"recorded new CaloSuperCellDetDescr Manager condition object with key " << writeCaloSuperCellMgrHandle.
key()
58 <<
" and range " << writeCaloSuperCellMgrHandle.
getRange());
60 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() 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