fix
This commit is contained in:
+1
-4
@@ -6,9 +6,6 @@ cw.addLayer(10,"G4_Si",True) #10 cm of Silicon, active
|
||||
cw.addLayer(1,"G4_Pb",False) #1 cm of Lead, passive
|
||||
cw.addLayer(10,"G4_Si",True, 3) #10 cm of Silicon, active, 3x3 segmentation
|
||||
|
||||
G4System = G4System
|
||||
#directly use G4System as a global singleton
|
||||
G4System.init(cw)
|
||||
G4System.run_batch(100, "gamma", 1, 5) #100 events, photons, 1000 MeV to 5000 MeV
|
||||
|
||||
#G4s.run_visualize("gamma", 1, 5)
|
||||
G4System.printMaterial("G4_Pb")
|
||||
Reference in New Issue
Block a user