4 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from AtlasGeoModel.GeoModelConfig
import GeoModelCfg
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:
13 CavernInfraDetectorTool=CompFactory.CavernInfraDetectorTool