From 4ff82904e750fd9e55ce006039ab89679576bb9e Mon Sep 17 00:00:00 2001 From: scott snyder <snyder@bnl.gov> Date: Thu, 16 Jul 2020 20:56:45 +0200 Subject: [PATCH] LArRecUtils: Clean up conditions dependencies. Don't declare dependencise on conditions objects that we don't read. --- LArCalorimeter/LArRecUtils/src/LArHVCondAlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LArCalorimeter/LArRecUtils/src/LArHVCondAlg.cxx b/LArCalorimeter/LArRecUtils/src/LArHVCondAlg.cxx index 208b0b63a0fc..efd57860c318 100755 --- a/LArCalorimeter/LArRecUtils/src/LArHVCondAlg.cxx +++ b/LArCalorimeter/LArRecUtils/src/LArHVCondAlg.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 */ #include "./LArHVCondAlg.h" @@ -89,11 +89,11 @@ StatusCode LArHVCondAlg::initialize(){ ATH_CHECK( detStore()->retrieve(m_onlineID)); // Read Handles - ATH_CHECK(m_pathologiesKey.initialize()); - ATH_CHECK(m_DCSFolderKeys.initialize()); + ATH_CHECK(m_pathologiesKey.initialize (m_doHV || m_doAffectedHV)); + ATH_CHECK(m_DCSFolderKeys.initialize (m_doHV || m_doAffectedHV)); ATH_CHECK( m_cablingKey.initialize()); ATH_CHECK( m_BFKey.initialize() ); - ATH_CHECK(m_hvMappingKey.initialize()); + ATH_CHECK(m_hvMappingKey.initialize (m_doHV || m_doAffectedHV)); // Write Handle -- GitLab