Warning, /geant4/examples/advanced/HGCal_testbeam/run.mac is written in an unsupported language. File is not indexed.
0001 # Macro file for sample run of the HGCal testbeam simulation
0002 #
0003
0004 # Set verbosity levels
0005 #/control/verbose 2
0006 #/control/saveHistory
0007 #/run/verbose 2
0008 #/tracking/verbose 2
0009
0010 # Initialize kernel
0011 /run/initialize
0012
0013 # Choose geometry setup
0014 /HGCalTestbeam/setup/configuration 0
0015
0016 # Electrons
0017 /gun/energy 30 GeV
0018 /gun/particle e-
0019
0020 # Smeared beam position and momentum
0021 # 5% Gaussian spread of momentum
0022 /HGCalTestbeam/generator/momentumSpread 0.05
0023 # Gaussian spread of transverse beam position (sigma 1.5 cm)
0024 /HGCalTestbeam/generator/beamSpread Gaussian # none flat
0025 /HGCalTestbeam/generator/beamSpreadX 1.5 cm
0026 /HGCalTestbeam/generator/beamSpreadY 1.5 cm
0027 /HGCalTestbeam/generator/beamZ0 -1 m
0028 # Choose max step in silicon pixel (in um)
0029 /HGCalTestbeam/setup/stepSilicon 20
0030
0031 /HGCalTestbeam/output/file output_eM_smeared_30GeV_10events.root
0032 /run/beamOn 10