7 import g4py.ExN01pl, g4py.ParticleGun
13 "My Detector Construction"
16 G4VUserDetectorConstruction.__init__(self)
26 self.gdml_parser.Read(
"qgeom.gdml")
27 self.
world= self.gdml_parser.GetWorldVolume()
37 gRunManager.SetUserInitialization(myDC)
40 g4py.ExN01pl.Construct()
43 g4py.ParticleGun.Construct()
46 gRunManager.Initialize()