From a0b7769b21465ad36e4cba6cf425822372bbc31f Mon Sep 17 00:00:00 2001 From: scott snyder <sss@karma> Date: Mon, 22 Jun 2020 11:53:50 -0400 Subject: [PATCH] TrigMuonHypoMT: Fix clang 10 warnings. Precision loss in int->float conversions. --- .../TrigHypothesis/TrigMuonHypoMT/src/TrigmuCombHypoTool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Trigger/TrigHypothesis/TrigMuonHypoMT/src/TrigmuCombHypoTool.cxx b/Trigger/TrigHypothesis/TrigMuonHypoMT/src/TrigmuCombHypoTool.cxx index 241fdda0aab..b5ae07ca846 100644 --- a/Trigger/TrigHypothesis/TrigMuonHypoMT/src/TrigmuCombHypoTool.cxx +++ b/Trigger/TrigHypothesis/TrigMuonHypoMT/src/TrigmuCombHypoTool.cxx @@ -132,7 +132,7 @@ bool TrigmuCombHypoTool::decideOnSingleObject(TrigmuCombHypoTool::CombinedMuonIn idZ0 = pMuon->idTrack()->z0(); //Get the Pt cut for that eta bin - float threshold = (idEta != -9999) ? 0 : 99999999; + float threshold = (idEta != -9999) ? 0 : 999999; float absEta = fabs(idEta); for (std::vector<float>::size_type i = 0; i < m_bins[cutIndex]; ++i) { if (absEta > m_ptBins[cutIndex][i] && absEta < m_ptBins[cutIndex][i + 1]) threshold = m_ptThresholds[cutIndex][i]; -- GitLab