34 lines
792 B
Plaintext
34 lines
792 B
Plaintext
# $Id: run02.mac 96172 2016-03-22 09:19:11Z gcosmo $
|
|
#
|
|
# limit the step size by geometry
|
|
#
|
|
/control/verbose 2
|
|
/run/verbose 2
|
|
#
|
|
/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
|