2 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
6 from AtlasGeoModel.GeometryDBConfig
import InDetGeometryDBSvcCfg
9 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
11 geoModelSvc = acc.getPrimary()
13 from AthenaConfiguration.ComponentFactory
import CompFactory
14 pixelDetectorTool = CompFactory.PixelDetectorTool(
"PixelDetectorTool")
15 pixelDetectorTool.GeometryDBSvc = db.getPrimary()
16 pixelDetectorTool.BCM_Tool = CompFactory.InDetDD.BCM_Builder()
17 pixelDetectorTool.BLM_Tool = CompFactory.InDetDD.BLM_Builder()
18 pixelDetectorTool.useDynamicAlignFolders = flags.GeoModel.Align.Dynamic
19 geoModelSvc.DetectorTools += [ pixelDetectorTool ]
25 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
27 if flags.GeoModel.Align.LegacyConditionsAccess:
28 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
29 if flags.GeoModel.Align.Dynamic:
31 [
"/Indet/Onl/AlignL1/ID",
"/Indet/Onl/AlignL2/PIX"],
32 [
"/Indet/AlignL1/ID",
"/Indet/AlignL2/PIX"]))
38 from PixelConditionsAlgorithms.PixelConditionsConfig
import PixelAlignCondAlgCfg
56 from PixelConditionsAlgorithms.PixelConditionsConfig
import PixelDetectorElementCondAlgCfg