From e472fbbab8b19a019116bc69102477d58a97debb Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <fwinkl@cern> Date: Tue, 8 Dec 2020 18:09:43 +0100 Subject: [PATCH] TrigMuonHypoMT: Reduce verbosity of TrigMuonEFHypoTool Demote cut printout from INFO to DEBUG in initialize. --- .../TrigMuonHypoMT/src/TrigMuonEFHypoTool.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Trigger/TrigHypothesis/TrigMuonHypoMT/src/TrigMuonEFHypoTool.cxx b/Trigger/TrigHypothesis/TrigMuonHypoMT/src/TrigMuonEFHypoTool.cxx index 2fba829db3bf..3fb641d23083 100644 --- a/Trigger/TrigHypothesis/TrigMuonHypoMT/src/TrigMuonEFHypoTool.cxx +++ b/Trigger/TrigHypothesis/TrigMuonHypoMT/src/TrigMuonEFHypoTool.cxx @@ -34,11 +34,13 @@ StatusCode TrigMuonEFHypoTool::initialize(){ for(size_t j=0; j<m_ptBins.size(); j++){ m_bins[j] = m_ptBins[j].size() - 1; if (m_bins[j] != m_ptThresholds[j].size()) { - ATH_MSG_ERROR("bad thresholds setup .... exiting!"); - return StatusCode::FAILURE; + ATH_MSG_ERROR("bad thresholds setup .... exiting!"); + return StatusCode::FAILURE; } - for (std::vector<float>::size_type i=0; i<m_bins[j];++i) { - ATH_MSG_INFO( "bin " << m_ptBins[j][i] << " - " << m_ptBins[j][i+1]<<" with Pt Threshold of " << (m_ptThresholds[j][i])/Gaudi::Units::GeV<< " GeV"); + if (msgLvl(MSG::DEBUG)) { + for (std::vector<float>::size_type i=0; i<m_bins[j];++i) { + ATH_MSG_DEBUG( "bin " << m_ptBins[j][i] << " - " << m_ptBins[j][i+1]<<" with Pt Threshold of " << (m_ptThresholds[j][i])/Gaudi::Units::GeV<< " GeV"); + } } } } -- GitLab