6 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
7 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
8 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
9 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
10 from Campaigns.Utils
import Campaign
14 flags.Exec.MaxEvents = 1
16 flags.Input.isMC =
True
17 flags.Input.MCCampaign = Campaign.Unknown
19 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
20 flags.IOVDb.GlobalTag =
"OFLCOND-MC16-SDR-16"
22 flags.Detector.GeometryBpipe =
True
23 flags.Detector.GeometryPixel =
True
24 flags.Detector.GeometrySCT =
True
25 flags.Detector.GeometryTRT =
True
26 flags.Detector.GeometryLAr =
True
27 flags.Detector.GeometryTile =
True
28 flags.Detector.GeometryMuon =
True
30 flags.LAr.doAlign =
False
37 if flags.Detector.GeometryBpipe:
38 from BeamPipeGeoModel.BeamPipeGMConfig
import BeamPipeGeometryCfg
41 if flags.Detector.GeometryPixel:
42 from PixelGeoModel.PixelGeoModelConfig
import PixelReadoutGeometryCfg
45 if flags.Detector.GeometrySCT:
46 from SCT_GeoModel.SCT_GeoModelConfig
import SCT_ReadoutGeometryCfg
49 if flags.Detector.GeometryTRT:
50 from TRT_GeoModel.TRT_GeoModelConfig
import TRT_ReadoutGeometryCfg
53 if flags.Detector.GeometryLAr:
54 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
57 if flags.Detector.GeometryTile:
58 from TileGeoModel.TileGMConfig
import TileGMCfg
61 if flags.Detector.GeometryMuon:
62 from MuonConfig.MuonGeometryConfig
import MuonGeoModelCfg