Geant4 Cross Reference |
1 # Macro file for sample run of the HGCal testb 1 # Macro file for sample run of the HGCal testbeam simulation 2 # 2 # 3 3 4 # Set verbosity levels 4 # Set verbosity levels 5 #/control/verbose 2 5 #/control/verbose 2 6 #/control/saveHistory 6 #/control/saveHistory 7 #/run/verbose 2 7 #/run/verbose 2 8 #/tracking/verbose 2 8 #/tracking/verbose 2 9 9 10 # Initialize kernel 10 # Initialize kernel 11 /run/initialize 11 /run/initialize 12 12 13 # Choose geometry setup 13 # Choose geometry setup 14 /HGCalTestbeam/setup/configuration 0 14 /HGCalTestbeam/setup/configuration 0 15 15 16 # Electrons 16 # Electrons 17 /gun/energy 30 GeV 17 /gun/energy 30 GeV 18 /gun/particle e- 18 /gun/particle e- 19 19 20 # Smeared beam position and momentum 20 # Smeared beam position and momentum 21 # 5% Gaussian spread of momentum 21 # 5% Gaussian spread of momentum 22 /HGCalTestbeam/generator/momentumSpread 0.05 22 /HGCalTestbeam/generator/momentumSpread 0.05 23 # Gaussian spread of transverse beam position 23 # Gaussian spread of transverse beam position (sigma 1.5 cm) 24 /HGCalTestbeam/generator/beamSpread Gaussian # 24 /HGCalTestbeam/generator/beamSpread Gaussian # none flat 25 /HGCalTestbeam/generator/beamSpreadX 1.5 cm 25 /HGCalTestbeam/generator/beamSpreadX 1.5 cm 26 /HGCalTestbeam/generator/beamSpreadY 1.5 cm 26 /HGCalTestbeam/generator/beamSpreadY 1.5 cm 27 /HGCalTestbeam/generator/beamZ0 -1 m 27 /HGCalTestbeam/generator/beamZ0 -1 m 28 # Choose max step in silicon pixel (in um) 28 # Choose max step in silicon pixel (in um) 29 /HGCalTestbeam/setup/stepSilicon 20 29 /HGCalTestbeam/setup/stepSilicon 20 30 30 31 /HGCalTestbeam/output/file output_eM_smeared_3 31 /HGCalTestbeam/output/file output_eM_smeared_30GeV_10events.root 32 /run/beamOn 10 32 /run/beamOn 10