From f2af491db145c5c1ac5a1d0602544bf36b3fdb60 Mon Sep 17 00:00:00 2001 From: scott snyder <snyder@bnl.gov> Date: Tue, 16 Jun 2020 14:17:28 +0200 Subject: [PATCH] CaloCellCorrection: Clean up conditions dependencies. Don't declare conditions dependencies that we don't use. --- .../CaloCellCorrection/src/CaloCellPedestalCorr.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx b/Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx index 0d6b1e993bb..14bf9d20110 100755 --- a/Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx +++ b/Calorimeter/CaloCellCorrection/src/CaloCellPedestalCorr.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // **************************************************************************************** @@ -52,11 +52,9 @@ StatusCode CaloCellPedestalCorr::initialize() ATH_CHECK(detStore()->retrieve(m_cellId, "CaloCell_ID")); - if (m_lumi0<0 && !m_isMC) { - ATH_CHECK(m_lumiFolderName.initialize()); - } + ATH_CHECK(m_lumiFolderName.initialize(m_lumi0<0 && !m_isMC)); + ATH_CHECK(m_pedShiftFolder.initialize(!m_isMC)); if (!m_isMC) { - ATH_CHECK(m_pedShiftFolder.initialize()); ATH_CHECK(m_caloCoolIdTool.retrieve()); } -- GitLab