ATLAS Offline Software
Loading...
Searching...
No Matches
Geo2G4Config Namespace Reference

Functions

 Geo2G4SvcCfg (flags, **kwargs)

Function Documentation

◆ Geo2G4SvcCfg()

Geo2G4Config.Geo2G4SvcCfg ( flags,
** kwargs )

Definition at line 6 of file Geo2G4Config.py.

6def Geo2G4SvcCfg(flags, **kwargs):
7 result = ComponentAccumulator()
8 from AthenaConfiguration.Enums import BeamType
9 if flags.Beam.Type is BeamType.TestBeam:
10 kwargs.setdefault("GetTopTransform", False)
11 result.addService(CompFactory.Geo2G4Svc(**kwargs), create=True, primary=True)
12 return result