Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kazuya Mochizuki
athena
Commits
ce74b234
Commit
ce74b234
authored
Apr 23, 2021
by
Christos Anastopoulos
Browse files
EMClusterTool, use ATH_CHECK, avoid also a typo/inconsistency of printing ERROR and return SUCCESS
parent
4a7a722f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Reconstruction/egamma/egammaTools/src/EMClusterTool.cxx
View file @
ce74b234
...
...
@@ -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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment