22 ATH_CHECK(m_scoredTracksKey.initialize());
23 ATH_CHECK(m_resolvedTracksKey.initialize());
26 return StatusCode::SUCCESS;
36 const int nInput = scoredTracksHandle->size();
37 m_trackInCount += nInput;
39 std::unique_ptr<const TrackCollection> resolvedTracks;
40 resolvedTracks.reset(m_ambiTool->process(scoredTracksHandle.
cptr()));
41 m_trackOutCount += resolvedTracks->
size();
45 if (!resolvedTracksHandle.
put(std::move(resolvedTracks))) {
46 ATH_MSG_ERROR (
"Can't record tracks as " << m_resolvedTracksKey.key());
47 return StatusCode::FAILURE;
49 return StatusCode::SUCCESS;
56 if (m_ambiTool.isEnabled()) {
57 m_ambiTool->statistics();
59 ATH_MSG_DEBUG(
"Finalizing with "<< m_trackInCount <<
" tracks input, and "<< m_trackOutCount<<
" output");
60 return StatusCode::SUCCESS;