Skip to content
Snippets Groups Projects
Commit 9a6b7b13 authored by scott snyder's avatar scott snyder
Browse files

SiCombinatorialTrackFinderTool_xk: Fix uninitialized VarHandleKeys.

Also fix bad use of ATH_CHECK on a non-StatusCode.
parent 06e46718
No related merge requests found
...@@ -208,6 +208,10 @@ StatusCode InDet::SiCombinatorialTrackFinder_xk::initialize() ...@@ -208,6 +208,10 @@ StatusCode InDet::SiCombinatorialTrackFinder_xk::initialize()
// Get output print level // Get output print level
// //
m_outputlevel = msg().level()-MSG::DEBUG; m_outputlevel = msg().level()-MSG::DEBUG;
ATH_CHECK( m_pixcontainerkey.initialize() );
ATH_CHECK( m_sctcontainerkey.initialize() );
return sc; return sc;
} }
...@@ -602,9 +606,7 @@ bool InDet::SiCombinatorialTrackFinder_xk::findTrack ...@@ -602,9 +606,7 @@ bool InDet::SiCombinatorialTrackFinder_xk::findTrack
detectorElementLinks(DE,DEL); detectorElementLinks(DE,DEL);
SG::ReadHandle<InDet::SiClusterContainer> pixcontainer(m_pixcontainerkey); SG::ReadHandle<InDet::SiClusterContainer> pixcontainer(m_pixcontainerkey);
ATH_CHECK(pixcontainer.isValid());
SG::ReadHandle<InDet::SiClusterContainer> sctcontainer(m_sctcontainerkey); SG::ReadHandle<InDet::SiClusterContainer> sctcontainer(m_sctcontainerkey);
ATH_CHECK(sctcontainer.isValid());
// List cluster preparation // List cluster preparation
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment