1 """Define methods to configure SCT SiProperties
3 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from SCT_ConditionsTools.SCT_ConditionsToolsConfig
import SCT_SiliconConditionsCfg
8 from SCT_GeoModel.SCT_GeoModelConfig
import SCT_ReadoutGeometryCfg
12 """Return configured ComponentAccumulator and tool for SCT_SiProperties
14 SiConditionsTool and/or DCSConditionsTool may be provided in kwargs
20 if not kwargs.get(
"SiConditionsTool"):
25 acc.addCondAlgo(CompFactory.SCTSiPropertiesCondAlg(name, **kwargs))
30 """Return configured ComponentAccumulator and tool for SCT_SiProperties
32 SiConditionsTool and/or DCSConditionsTool may be provided in kwargs
34 SiConditionsTool = kwargs.pop(
"SiConditionsTool",
None)
36 kwargs.setdefault(
"DetectorName",
"SCT")
37 kwargs.setdefault(
"ReadKey",
"SCTSiliconPropertiesVector")
38 acc.setPrivateTools(CompFactory.SiPropertiesTool(name, **kwargs))