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

EMClusterTool, use ATH_CHECK, avoid also a typo/inconsistency of printing ERROR and return SUCCESS

parent 4a7a722f
......@@ -53,20 +53,10 @@ EMClusterTool::initialize()
m_doTopoSeededContainer));
// Get the cluster correction tool
if (m_clusterCorrectionTool.retrieve().isFailure()) {
ATH_MSG_ERROR("Failed to retrieve " << m_clusterCorrectionTool);
return StatusCode::SUCCESS;
}
ATH_MSG_DEBUG("Retrieved tool " << m_clusterCorrectionTool);
ATH_CHECK(m_clusterCorrectionTool.retrieve());
// Get the cluster correction tool
if (m_MVACalibSvc.retrieve().isFailure()) {
ATH_MSG_ERROR("Failed to retrieve " << m_MVACalibSvc);
return StatusCode::SUCCESS;
}
ATH_MSG_DEBUG("Retrieved tool " << m_MVACalibSvc);
ATH_CHECK(m_MVACalibSvc.retrieve());
ATH_MSG_DEBUG("Initialization successful");
......
Supports Markdown
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