From e84c587048b033a42b64b6902db147d5195678b0 Mon Sep 17 00:00:00 2001 From: Jon Burr <jon.burr@cern.ch> Date: Thu, 9 Jul 2020 22:36:52 +0200 Subject: [PATCH] Deal with compiler warning --- .../TrigCaloRec/src/TrigCaloClusterMakerMT.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Trigger/TrigAlgorithms/TrigCaloRec/src/TrigCaloClusterMakerMT.cxx b/Trigger/TrigAlgorithms/TrigCaloRec/src/TrigCaloClusterMakerMT.cxx index c837a2f93db6..e9af60167b5f 100644 --- a/Trigger/TrigAlgorithms/TrigCaloRec/src/TrigCaloClusterMakerMT.cxx +++ b/Trigger/TrigAlgorithms/TrigCaloRec/src/TrigCaloClusterMakerMT.cxx @@ -251,9 +251,9 @@ StatusCode TrigCaloClusterMakerMT::execute(const EventContext& ctx) const for (const ToolHandle<CaloClusterProcessor>& clcorr : m_clusterCorrections) { for (xAOD::CaloCluster* cl : *pCaloClusterContainer) { - if (!m_isSW - || std::abs(cl->eta0()) < 1.45 && clcorr->name().find("37") != std::string::npos - || std::abs(cl->eta0()) >= 1.45 && clcorr->name().find("55") != std::string::npos) { + if (!m_isSW || + (std::abs(cl->eta0()) < 1.45 && clcorr->name().find("37") != std::string::npos) || + (std::abs(cl->eta0()) >= 1.45 && clcorr->name().find("55") != std::string::npos) ) { ATH_CHECK(clcorr->execute(ctx, cl) ); ATH_MSG_VERBOSE("Executed correction tool " << clcorr->name()); } -- GitLab