This commit is contained in:
Jan Kieseler
2023-09-11 08:44:57 +02:00
parent 37d5b1eb3e
commit 64d434d201
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -6,6 +6,8 @@ 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
sb = G4System()
sb.init(cw)
sb.run_batch(100, "gamma", 1000, 5000) #100 events, photons, 1000 MeV to 5000 MeV
G4s = G4System()
G4s.init(cw)
G4s.run_batch(100, "gamma", 1000, 5000) #100 events, photons, 1000 MeV to 5000 MeV
G4s.run_visualize("gamma", 1000, 5000)