d04706582f
Scales the default transverse width (xywidth 50->200 cm) and every layer thickness across the example/production geometries (run_pbwo4, example.py/ipynb, run_sampling configs, export_xsec) by the same factor, so the calo grows uniformly in x, y, and z. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
23 lines
576 B
Python
23 lines
576 B
Python
import multiprocessing
|
|
from G4Calo import GeometryDescriptor, run_batch, display_event
|
|
import sys
|
|
|
|
if __name__ == '__main__':
|
|
|
|
gd = GeometryDescriptor()
|
|
|
|
for _ in range(25):
|
|
gd.addLayer(2.0, "G4_Pb", False)
|
|
gd.addLayer(4.,"G4_POLYSTYRENE",True,1)
|
|
|
|
df = run_batch(gd, 100, 'gamma', 1)
|
|
|
|
|
|
gd = GeometryDescriptor()
|
|
|
|
for _ in range(30):
|
|
gd.addLayer(2.0, "G4_Pb", False)
|
|
gd.addLayer(4.,"G4_POLYSTYRENE",True,1)
|
|
|
|
df = run_batch(gd,10, 'gamma', 40)
|
|
display_event(gd,"gamma", 2, outfile='event.html') |