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");
37 writeCaloSuperCellMgrHandle.addDependency(readCaloMgrHandle);
40 std::unique_ptr<CaloSuperCellDetDescrManager>
mgr = std::make_unique<CaloSuperCellDetDescrManager>();
45 mgr->set_helper(caloId_mgr->getCaloCell_SuperCell_ID());
46 mgr->set_helper(caloId_mgr);
56 ATH_CHECK(writeCaloSuperCellMgrHandle.record(std::move(
mgr)));
57 ATH_MSG_INFO(
"recorded new CaloSuperCellDetDescr Manager condition object with key " << writeCaloSuperCellMgrHandle.key()
58 <<
" and range " << writeCaloSuperCellMgrHandle.getRange());
60 return StatusCode::SUCCESS;