Commit d9e0d25e authored by Christos Anastopoulos's avatar Christos Anastopoulos
Browse files

Since CaloFillRectangularCluster inherits from CaloClusterCorrection and the ...

Since CaloFillRectangularCluster inherits from  CaloClusterCorrection and the  CaloClusterCorrection has already the 'CaloDetDescrManager' property we were getting a GAUDI-1023 kind of warning
parent 8386b6f0
......@@ -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