4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
7 def DumpCfg (flags, ofile, items='*', exclude=''):
9 from PyDumper.PyComps
import PySgDumper
as pyalg
13 if flags.GeoModel.AtlasVersion != 0:
14 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
15 acc.merge (GeoModelCfg (flags))
17 if flags.Detector.GeometryPixel:
18 from PixelGeoModel.PixelGeoModelConfig
import PixelReadoutGeometryCfg
20 if flags.Detector.GeometrySCT:
21 from SCT_GeoModel.SCT_GeoModelConfig
import SCT_ReadoutGeometryCfg
23 if flags.Detector.GeometryTRT:
24 from TRT_GeoModel.TRT_GeoModelConfig
import TRT_ReadoutGeometryCfg
26 if flags.Detector.GeometryITkPixel:
27 from PixelGeoModelXml.ITkPixelGeoModelConfig
import ITkPixelReadoutGeometryCfg
29 if flags.Detector.GeometryITkStrip:
30 from StripGeoModelXml.ITkStripGeoModelConfig
import ITkStripReadoutGeometryCfg
32 if flags.Detector.GeometryLAr:
33 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
35 if flags.Detector.GeometryTile:
36 from TileGeoModel.TileGMConfig
import TileGMCfg
38 if flags.Detector.GeometryMuon:
39 from MuonConfig.MuonGeometryConfig
import MuonGeoModelCfg
42 acc.addEventAlgo (pyalg (
'pyalg',