48 print "* Constructing geometry..."
51 g4py.ezgeom.SetWorldMaterial(air)
55 phantom= G4EzVolume(
"DetectorBox")
57 phantom.CreateBoxVolume(water, 40.*cm, 40.*cm, 50.*cm)
59 vsize=phantom.VoxelizeIt(100, 100, 100)
60 print "voxel size=", vsize
68 rand_engine= Ranlux64Engine()
69 HepRandom.setTheEngine(rand_engine)
70 HepRandom.setTheSeed(20050830L)
79 gRunManager.Initialize()
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)