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 if flags.GeoModel.Align.LegacyConditionsAccess:
26 from IOVDbSvc.IOVDbSvcConfig
import addFoldersSplitOnline
29 from PixelConditionsAlgorithms.PixelConditionsConfig
import PixelAlignCondAlgCfg
46 from PixelConditionsAlgorithms.PixelConditionsConfig
import PixelDetectorElementCondAlgCfg