Skip to content
Snippets Groups Projects
Commit c3377ab2 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'conddep.SCT_ConditionsTools-20200719' into 'master'

SCT_ConditionsTools: Clean up conditions dependencies.

See merge request atlas/athena!34899
parents 9f49c766 b2f004b5
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#include "SCT_SiliconConditionsTool.h"
......@@ -33,13 +33,15 @@ StatusCode SCT_SiliconConditionsTool::initialize() {
ATH_MSG_INFO("GeoModel requests to use Conditions DB.");
}
}
ATH_CHECK(m_condKeyHV.initialize ((not m_useGeoModel) && m_useDB));
ATH_CHECK(m_condKeyTemp.initialize ((not m_useGeoModel) && m_useDB));
if (not m_useGeoModel) {
ATH_MSG_INFO("Will use temperature and voltages from this service (not from GeoModel).");
// Get from Conditions database. Register callback, etc.
if (m_useDB) {
ATH_CHECK(m_condKeyHV.initialize());
ATH_CHECK(m_condKeyTemp.initialize());
ATH_CHECK(detStore()->retrieve(m_sct_id, "SCT_ID"));
ATH_MSG_INFO("SCTDCSSvc retrieved");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment