49 print(
"* Constructing geometry...")
61 absorber = {
"air":air,
"aluminum":aluminum,
"iron":iron,
"lead":lead,
"water":water,
"gold":gold}
62 g4py.ezgeom.SetWorldMaterial(galactic)
63 g4py.ezgeom.ResizeWorld(120.*cm, 120.*cm, 100.*cm)
65 global water_phantom, water_phantom_pv
67 water_phantom= G4EzVolume(
"WaterPhantom")
68 water_phantom.CreateBoxVolume(water, 110.*cm, 110.*cm, 10.*cm)
70 water_phantom_pv = water_phantom.PlaceIt(
G4ThreeVector(0.,0.,0.*cm))
78 print(
"Random numbers...")
79 rand_engine= Ranlux64Engine()
80 HepRandom.setTheEngine(rand_engine)
81 HepRandom.setTheSeed(20050830)
91 gRunManager.Initialize()