# # Macro file for "TestEm1.cc" # # compute csda range of primary particle # /control/verbose 1 /run/verbose 1 # /testem/det/setMat Aluminium # /testem/phys/addPhysics local ###/testem/phys/addPhysics emstandard_opt4 # /process/em/verbose 0 /run/initialize # # prevent any secondary production /run/setCut 1 km # # (no) step limitation from eLoss # to test StepFunction, play with this command ###/process/eLoss/StepFunction 1 1 mm # # eliminate straggling /process/eLoss/fluct false /process/inactivate msc # /process/em/printParameters # /testem/gun/setDefault /gun/particle e- /gun/energy 50 MeV # # few detailled printing /tracking/verbose 2 /run/beamOn 2 /tracking/verbose 0 # /analysis/setFileName erange /analysis/h1/set 1 150 70 85 mm # csda range # /run/beamOn 10000