From 49182a758e5b094bbd0ac8e0dbdebbbd7cd3a150 Mon Sep 17 00:00:00 2001
From: Johannes Josef Junggeburth <johannes.josef.junggeburth@CERN.CH>
Date: Mon, 21 Nov 2022 13:37:22 +0100
Subject: [PATCH] Demote message

---
 .../src/MuonCombinedFitTagTool.cxx                   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonCombinedFitTagTool.cxx b/Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonCombinedFitTagTool.cxx
index e7064b73e0f5..e2e0c7a7934b 100644
--- a/Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonCombinedFitTagTool.cxx
+++ b/Reconstruction/MuonIdentification/MuonCombinedBaseTools/src/MuonCombinedFitTagTool.cxx
@@ -567,7 +567,7 @@ namespace MuonCombined {
         if (std::abs(fitChiSq1 - fitChiSq2) > m_badFitChi2) {
             if (fitChiSq1 < m_badFitChi2) {
                 if (matchChiSq1 > matchChiSq2 && matchChiSq2 < m_matchChiSquaredCut) {  // may want to suppress this warning!
-                    ATH_MSG_WARNING("bestMatchChooser: choose worse, but acceptable, matchChiSq as better fitChiSq. "
+                    ATH_MSG_DEBUG("bestMatchChooser: choose worse, but acceptable, matchChiSq as better fitChiSq. "
                                     << " matchChiSq 1,2 " << matchChiSq1 << ", " << matchChiSq2 << "   fitChiSq/DoF 1,2 " << fitChiSq1
                                     << "/" << numberDoF1 << ", " << fitChiSq2 << "/" << numberDoF2);
                 }
@@ -575,7 +575,7 @@ namespace MuonCombined {
             }
             if (fitChiSq2 < m_badFitChi2) {
                 if (matchChiSq1 < matchChiSq2 && matchChiSq1 < m_matchChiSquaredCut) {  // may want to suppress this warning!
-                    ATH_MSG_WARNING("bestMatchChooser: choose worse, but acceptable, matchChiSq as better fitChiSq. "
+                    ATH_MSG_DEBUG("bestMatchChooser: choose worse, but acceptable, matchChiSq as better fitChiSq. "
                                     << " matchChiSq 1,2 " << matchChiSq1 << ", " << matchChiSq2 << "   fitChiSq/DoF 1,2 " << fitChiSq1
                                     << "/" << numberDoF1 << ", " << fitChiSq2 << "/" << numberDoF2);
                 }
@@ -612,7 +612,7 @@ namespace MuonCombined {
                     if (significance1 < significanceCut) {
                         if (matchChiSq1 > matchChiSq2 && matchChiSq2 < m_matchChiSquaredCut) {
                             // NOT choosing bestMatchChi2:
-                            ATH_MSG_WARNING("bestMatchChooser: choose worse, but acceptable, matchChiSq as better momentum balance. "
+                            ATH_MSG_DEBUG("bestMatchChooser: choose worse, but acceptable, matchChiSq as better momentum balance. "
                                             << " matchChiSq 1,2 " << matchChiSq1 << ", " << matchChiSq2
                                             << "   momentumBalanceSignificance 1,2 " << curTag.momentumBalanceSignificance() << ", "
                                             << bestTag.momentumBalanceSignificance());
@@ -622,7 +622,7 @@ namespace MuonCombined {
                     if (significance2 < significanceCut) {
                         if (matchChiSq1 < matchChiSq2 && matchChiSq1 < m_matchChiSquaredCut) {
                             // NOT choosing bestMatchChi2:
-                            ATH_MSG_WARNING("bestMatchChooser: choose worse, but acceptable, matchChiSq as better momentum balance. "
+                            ATH_MSG_DEBUG("bestMatchChooser: choose worse, but acceptable, matchChiSq as better momentum balance. "
                                             << " matchChiSq 1,2 " << matchChiSq1 << ", " << matchChiSq2
                                             << "   momentumBalanceSignificance 1,2 " << curTag.momentumBalanceSignificance() << ", "
                                             << bestTag.momentumBalanceSignificance());
@@ -653,7 +653,7 @@ namespace MuonCombined {
             if (fitChiSq1 < 0.5 * m_badFitChi2) {
                 if (matchChiSq1 > matchChiSq2 && matchChiSq2 < m_matchChiSquaredCut) {
                     // NOT choosing bestMatchChi2:
-                    ATH_MSG_WARNING("bestMatchChooser: choose worse, but acceptable, matchChiSq according to overall quality. "
+                    ATH_MSG_DEBUG("bestMatchChooser: choose worse, but acceptable, matchChiSq according to overall quality. "
                                     << " matchChiSq 1,2 " << matchChiSq1 << ", " << matchChiSq2 << "   fitChiSq/DoF 1,2 " << fitChiSq1
                                     << "/" << numberDoF1 << ", " << fitChiSq2 << "/" << numberDoF2);
                 }
@@ -662,7 +662,7 @@ namespace MuonCombined {
             if (fitChiSq2 < 0.5 * m_badFitChi2) {
                 if (matchChiSq1 < matchChiSq2 && matchChiSq1 < m_matchChiSquaredCut) {
                     // NOT choosing bestMatchChi2:
-                    ATH_MSG_WARNING("bestMatchChooser: choose worse, but acceptable, matchChiSq according to overall quality. "
+                    ATH_MSG_DEBUG("bestMatchChooser: choose worse, but acceptable, matchChiSq according to overall quality. "
                                     << " matchChiSq 1,2 " << matchChiSq1 << ", " << matchChiSq2 << "   fitChiSq/DoF 1,2 " << fitChiSq1
                                     << "/" << numberDoF1 << ", " << fitChiSq2 << "/" << numberDoF2);
                 }
-- 
GitLab