2 from AthenaConfiguration.ComponentFactory
import CompFactory
3 from MagFieldServices.MagFieldServicesConfig
import AtlasFieldCacheCondAlgCfg
4 from PixelConditionsAlgorithms.PLR_ConditionsConfig
import (
5 PLR_DCSCondHVAlgCfg, PLR_DCSCondTempAlgCfg
7 from PLRGeoModelXml.PLR_GeoModelConfig
import PLR_ReadoutGeometryCfg
8 from SiPropertiesTool.PLR_SiPropertiesConfig
import PLR_SiPropertiesToolCfg
17 kwargs.setdefault(
"PixelIDName",
"PLR_ID")
18 kwargs.setdefault(
"UseMagFieldCache",
True)
19 kwargs.setdefault(
"UseMagFieldDcs",
not flags.Common.isOnline)
20 kwargs.setdefault(
"ReadKeyeTemp",
"PLR_DCSTempCondData")
21 kwargs.setdefault(
"ReadKeyHV",
"PLR_DCSHVCondData")
22 kwargs.setdefault(
"PixelDetEleCollKey",
"PLR_DetectorElementCollection")
23 kwargs.setdefault(
"WriteKey",
"PLR_SiLorentzAngleCondData")
24 acc.addCondAlgo(CompFactory.PixelSiLorentzAngleCondAlg(name, **kwargs))
29 """Return a SiLorentzAngleTool configured for PLR"""
31 kwargs.setdefault(
"DetectorName",
"PLR")
32 kwargs.setdefault(
"SiLorentzAngleCondData",
"PLR_SiLorentzAngleCondData")
33 kwargs.setdefault(
"DetEleCollKey",
"PLR_DetectorElementCollection")
34 kwargs.setdefault(
"UseMagFieldCache",
True)
35 acc.setPrivateTools(CompFactory.SiLorentzAngleTool(name, **kwargs))