Files
geant4/examples/extended/electromagnetic/TestEm11/range.mac
T
2020-12-04 12:30:43 +01:00

37 lines
721 B
Plaintext

#
# Macro file for "TestEm11.cc"
#
# compute the csda range of the primary particle
# with or without fluctuations
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 Water 5 mm
/testem/det/setSizeYZ 5 mm
#
/testem/phys/addPhysics local
###/testem/phys/addPhysics empenelope
###/testem/phys/addPhysics emlivermore
#
/run/initialize
#
# prevent any secondary production
/run/setCut 1 km
#
# eliminate straggling
/process/inactivate msc
/process/eLoss/fluct false
#
/testem/gun/setDefault
/gun/particle e-
/gun/energy 600 keV
#
/analysis/setFileName range
/analysis/h1/set 3 200 0 4 mm # csda range
#
/run/printProgress 2000
/run/beamOn 20000