7 import g4py.Qmaterials, g4py.Qgeom
8 import g4py.ExN01pl, g4py.ParticleGun
14 g4py.Qmaterials.Construct()
15 g4py.Qgeom.Construct()
18 g4py.ExN01pl.Construct()
21 g4py.ParticleGun.Construct()
24 gRunManager.Initialize()
34 print "\n*** write to a GDML file..."
35 navigator= gTransportationManager.GetNavigatorForTracking()
36 world_volume= navigator.GetWorldVolume()
39 gdml_parser.Write(
"qgeom_out.gdml", world_volume)