6def CavernGeometryCfg( flags ):
7 from AtlasGeoModel.GeoModelConfig import GeoModelCfg
8 acc = GeoModelCfg( flags )
9
10 from AthenaConfiguration.Enums import BeamType, ProductionStep
11 if (flags.Common.ProductionStep == ProductionStep.Simulation and flags.Beam.Type is BeamType.Cosmics) or flags.Detector.GeometryCavern:
12
13 CavernInfraDetectorTool=CompFactory.CavernInfraDetectorTool
15 return acc