Commit 3f0408e0 authored by Nils Erik Krumnack's avatar Nils Erik Krumnack
Browse files

Merge branch 'fsrutil-update-for-rel-22' into '21.2'

FSRUtils - fix for return StatusCode::FAILURE

See merge request !43381
parents 04f5ed6d 6fb28a52
......@@ -87,14 +87,14 @@ namespace FSR {
m_energyRescaler = ToolHandle<CP::IEgammaCalibrationAndSmearingTool>(m_energyRescalerName);
if (m_energyRescaler.empty()) {
ATH_MSG_ERROR("initialize - unable to get IEgammaCalibrationAndSmearingTool with name: " << m_energyRescalerName);
return false;
return StatusCode::FAILURE;
}
ATH_MSG_INFO("initialize - found IEgammaCalibrationAndSmearingTool with name: " << m_energyRescalerName);
}
else {
ATH_MSG_ERROR("initialize - CANNOT retrive IEgammaCalibrationAndSmearingTool. Please set the property 'egCalibToolName' to be able to recalibrate fsr photon found as an electron ");
return false;
return StatusCode::FAILURE;
}
......
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