# # Macro file for TestEm11 # # limit the step size by geometry # /control/cout/ignoreThreadsExcept 0 /control/verbose 2 /run/verbose 1 # /testem/det/setNbOfAbsor 1 /testem/det/setAbsor 1 G4_Si 1 mm /testem/det/setSizeYZ 1 mm /testem/det/nDivAbsor 1 100 # /testem/phys/addPhysics local # em physics ###/testem/phys/addPhysics empenelope # em physics # /run/initialize # /testem/gun/setDefault /gun/particle e- /gun/energy 500 keV # /analysis/setFileName run02 /analysis/h1/set 1 100 0. 1. mm #edep profile /analysis/h1/set 2 102 0. 510. keV #total Edep /analysis/h1/set 3 100 0. 2. mm #true track length /analysis/h1/set 4 100 0. 200. um #true step length /analysis/h1/set 5 100 0. 1. mm #proj range # /testem/applyAutomaticStepMax false # /run/printProgress 10000 /run/beamOn 100000