1 """Define methods to configure SiPropertiesTool for PLR
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
8 from PixelConditionsAlgorithms.PLR_ConditionsConfig
import (
9 PLR_DCSCondHVAlgCfg, PLR_DCSCondTempAlgCfg
14 """Return configured ComponentAccumulator and tool for PLR_SiPropertiesCondAlg
16 SiPropertiesTool may be provided in kwargs
21 kwargs.setdefault(
"PixelIDName",
"PLR_ID")
22 kwargs.setdefault(
"PixelDetEleCollKey",
"PLR_DetectorElementCollection")
23 kwargs.setdefault(
"ReadKeyeTemp",
"PLR_DCSTempCondData")
24 kwargs.setdefault(
"ReadKeyHV",
"PLR_DCSHVCondData")
25 kwargs.setdefault(
"WriteKey",
"PLR_SiliconPropertiesVector")
26 acc.addCondAlgo(CompFactory.PixelSiPropertiesCondAlg(name, **kwargs))
31 """Return a SiPropertiesTool configured for PLR"""
33 kwargs.setdefault(
"DetectorName",
"PLR")
34 kwargs.setdefault(
"ReadKey",
"PLR_SiliconPropertiesVector")
35 acc.setPrivateTools(CompFactory.SiPropertiesTool(name, **kwargs))