diff --git a/InnerDetector/InDetConditions/PixelConditionsAlgorithms/src/PixeldEdxAlg.cxx b/InnerDetector/InDetConditions/PixelConditionsAlgorithms/src/PixeldEdxAlg.cxx index def223c797bef3e3e6e6e8808d155e34f14aa7f5..986f74861234fccab0be13b14b69ba6014c1c730 100644 --- a/InnerDetector/InDetConditions/PixelConditionsAlgorithms/src/PixeldEdxAlg.cxx +++ b/InnerDetector/InDetConditions/PixelConditionsAlgorithms/src/PixeldEdxAlg.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 "PixeldEdxAlg.h" @@ -22,7 +22,7 @@ StatusCode PixeldEdxAlg::initialize() { ATH_CHECK(m_condSvc.retrieve()); - ATH_CHECK(m_readKey.initialize()); + ATH_CHECK(m_readKey.initialize(m_readfromcool)); ATH_CHECK(m_writeKey.initialize()); if (m_readfromcool) { if (m_condSvc->regHandle(this,m_writeKey).isFailure()) {