ATLAS Offline Software
CavernGMConfig.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 #
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def 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
14  acc.getPrimary().DetectorTools += [ CavernInfraDetectorTool() ]
15  return acc
CavernInfraDetectorTool
Definition: CavernInfraDetectorTool.h:12
python.CavernGMConfig.CavernGeometryCfg
def CavernGeometryCfg(flags)
Definition: CavernGMConfig.py:6
python.GeoModelConfig.GeoModelCfg
def GeoModelCfg(flags)
Definition: GeoModelConfig.py:16