23 g4pytest.Qmaterials.Construct()
33 g4pytest.Qgeom.Construct()
36 global primary_position, primary_direction
45 g4pytest.ExN01geom.Construct()
47 global primary_position, primary_direction
59 g4pytest.ExN03geom.Construct()
61 global primary_position, primary_direction
72 rand_engine= Ranlux64Engine()
73 HepRandom.setTheEngine(rand_engine)
74 HepRandom.setTheSeed(20050830)
96 g4pytest.EMSTDpl.Construct()
110 pg= g4pytest.ParticleGun.Construct()
113 pg.SetParticleByName(
"e-")
114 pg.SetParticleEnergy(300.*MeV)
115 pg.SetParticlePosition(primary_position)
116 pg.SetParticleMomentumDirection(primary_direction)
126 gRunManager.Initialize()