Commit 67fb1fed authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'CaloFillRectangularCluster_Gaudi1023' into 'master'

CaloFillRectangularCluster fix  GAUDI-1023 kind of warning

Closes GAUDI-1023

See merge request atlas/athena!47552
parents 9d09d24e d9e0d25e
......@@ -195,13 +195,6 @@ private:
SG::ReadHandleKey<CaloCellContainer> m_cellsName;
SG::ReadCondHandleKey<CaloDetDescrManager> m_caloDetDescrMgrKey {
this,
"CaloDetDescrManager",
"CaloDetDescrManager",
"SG Key for CaloDetDescrManager in the Condition Store"
};
};
#endif // not CALOCLUSTERCORRECTION_CALOFILLRECTANGULARCLUSTER_H
......@@ -806,7 +806,7 @@ StatusCode CaloFillRectangularCluster::initialize()
CHECK( m_cellsName.initialize() );
}
ATH_CHECK(m_caloDetDescrMgrKey.initialize());
ATH_CHECK(m_caloMgrKey.initialize());
return StatusCode::SUCCESS;
}
......@@ -1078,7 +1078,7 @@ void CaloFillRectangularCluster::makeCorrection (const Context& myctx,
ATH_MSG_DEBUG( "Executing CaloFillRectangularCluster" << endmsg) ;
// retrieve CaloDetDescr
SG::ReadCondHandle<CaloDetDescrManager> caloDetDescrMgrHandle { m_caloDetDescrMgrKey, myctx.ctx()};
SG::ReadCondHandle<CaloDetDescrManager> caloDetDescrMgrHandle { m_caloMgrKey, myctx.ctx()};
if(!caloDetDescrMgrHandle.isValid()){
ATH_MSG_ERROR ("Failed to retrieve CaloDetDescrManager : CaloMgr");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment