ATLAS Offline Software
Functions
python.CavernGMConfig Namespace Reference

Functions

def CavernGeometryCfg (flags)
 

Function Documentation

◆ CavernGeometryCfg()

def python.CavernGMConfig.CavernGeometryCfg (   flags)

Definition at line 6 of file CavernGMConfig.py.

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