Skip to content
Snippets Groups Projects

IDPerformanceMonitoring: initialize track refit and track extrapolation

Merged Salvador Marti I Garcia requested to merge martis/athena:IDPM_Rel24_Run3_v1 into main
1 file
+ 25
24
Compare changes
  • Side-by-side
  • Inline
/*
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
//==================================================================================
@@ -182,31 +182,32 @@ StatusCode IDPerfMonZmumu::initialize()
}
}
// Retrieve fitter
if (m_TrackRefitter1.retrieve().isSuccess()) {
ATH_MSG_INFO("Retrieved tool m_TrackRefitter1: " << m_TrackRefitter1 << " SUCCESS ");
}
else {
ATH_MSG_FATAL("Unable to retrieve m_TrackRefitter1 " << m_TrackRefitter1 << " FAILURE ");
return StatusCode::FAILURE;
}
// Retrieve the second fitter
if (m_TrackRefitter2.retrieve().isSuccess()) {
ATH_MSG_INFO("Retrieved tool m_TrackRefitter2: " << m_TrackRefitter2 << " SUCCESS ");
}
else {
ATH_MSG_FATAL("Unable to retrieve m_TrackRefitter2 " << m_TrackRefitter2 << " FAILURE ");
return StatusCode::FAILURE;
}
// Retrieve Track fitter and track to vertex
if (m_doRefit) { // only if track refit is requested
if (m_TrackRefitter1.retrieve().isSuccess()) {
ATH_MSG_INFO("Retrieved tool m_TrackRefitter1: " << m_TrackRefitter1 << " SUCCESS ");
}
else {
ATH_MSG_FATAL("Unable to retrieve m_TrackRefitter1 " << m_TrackRefitter1 << " FAILURE ");
return StatusCode::FAILURE;
}
// Retrieve the second fitter
if (m_TrackRefitter2.retrieve().isSuccess()) {
ATH_MSG_INFO("Retrieved tool m_TrackRefitter2: " << m_TrackRefitter2 << " SUCCESS ");
}
else {
ATH_MSG_FATAL("Unable to retrieve m_TrackRefitter2 " << m_TrackRefitter2 << " FAILURE ");
return StatusCode::FAILURE;
}
if (m_trackToVertexTool.retrieve().isSuccess()) {
ATH_MSG_INFO("Retrieved tool m_trackToVertexTool " << m_trackToVertexTool << " SUCCESS ");
}
else {
ATH_MSG_FATAL("Unable to retrieve m_trackToVertexTool " << m_trackToVertexTool << " FAILURE ");
return StatusCode::FAILURE;
if (m_trackToVertexTool.retrieve().isSuccess()) {
ATH_MSG_INFO("Retrieved tool m_trackToVertexTool " << m_trackToVertexTool << " SUCCESS ");
}
else {
ATH_MSG_FATAL("Unable to retrieve m_trackToVertexTool " << m_trackToVertexTool << " FAILURE ");
return StatusCode::FAILURE;
}
}
if(m_useTrackSelectionTool){
Loading