1"""Define methods to configure SiPropertiesTool
3Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6from AthenaConfiguration.ComponentFactory
import CompFactory
8from PixelConditionsAlgorithms.PixelConditionsConfig
import (
9 PixelDCSCondHVAlgCfg, PixelDCSCondTempAlgCfg
14 """Return configured ComponentAccumulator and tool for PixelSiPropertiesCondAlg
16 SiPropertiesTool may be provided in kwargs
18 acc = ComponentAccumulator()
19 acc.merge(PixelDCSCondHVAlgCfg(flags))
20 acc.merge(PixelDCSCondTempAlgCfg(flags))
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))
PixelSiPropertiesToolCfg(flags, name="PixelSiPropertiesTool", **kwargs)
PixelSiPropertiesCondAlgCfg(flags, name="PixelSiPropertiesCondAlg", **kwargs)