Skip to content
Snippets Groups Projects
Commit dd61a764 authored by charles leggett's avatar charles leggett
Browse files

disable unused ToolHandles

Former-commit-id: 1b36fe45
parent eaae9f49
No related branches found
No related tags found
No related merge requests found
...@@ -141,6 +141,8 @@ namespace InDet ...@@ -141,6 +141,8 @@ namespace InDet
msg(MSG::INFO) << "Retrieved tool " << m_trkSelector << endmsg; msg(MSG::INFO) << "Retrieved tool " << m_trkSelector << endmsg;
} }
m_helpertool.disable(); // never used?
msg(MSG::INFO) << "Initialization successful" << endmsg; msg(MSG::INFO) << "Initialization successful" << endmsg;
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
} }
......
...@@ -31,9 +31,10 @@ Trk::TrkAmbiguitySolver::initialize() ...@@ -31,9 +31,10 @@ Trk::TrkAmbiguitySolver::initialize()
{ {
ATH_MSG_INFO( "TrkAmbiguitySolver::initialize(). " ); ATH_MSG_INFO( "TrkAmbiguitySolver::initialize(). " );
if (!m_resolveTracks) if (!m_resolveTracks) {
ATH_MSG_INFO( "ATTENTION: Resolving tracks turned off! " ); ATH_MSG_INFO( "ATTENTION: Resolving tracks turned off! " );
else { m_ambiTool.disable();
} else {
// Get Tools sevices // Get Tools sevices
if (m_ambiTool.retrieve().isFailure()) { if (m_ambiTool.retrieve().isFailure()) {
msg(MSG::FATAL) << "Failed to retrieve tool " << m_ambiTool << endmsg; msg(MSG::FATAL) << "Failed to retrieve tool " << m_ambiTool << endmsg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment