1 """Define methods to configure SiPropertiesTool
3 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
8 from PixelConditionsAlgorithms.PixelConditionsConfig
import (
9 PixelDCSCondHVAlgCfg, PixelDCSCondTempAlgCfg
14 """Return configured ComponentAccumulator and tool for PixelSiPropertiesCondAlg
16 SiPropertiesTool may be provided in kwargs
21 acc.addCondAlgo(CompFactory.PixelSiPropertiesCondAlg(name, **kwargs))
26 """Return a SiPropertiesTool configured for Pixel"""
28 kwargs.setdefault(
"DetectorName",
"Pixel")
29 kwargs.setdefault(
"ReadKey",
"PixelSiliconPropertiesVector")
30 acc.setPrivateTools(CompFactory.SiPropertiesTool(name, **kwargs))