Files
geant4/examples/extended/electromagnetic/TestEm11/range.mac
T
2016-06-30 14:12:05 +02:00

38 lines
740 B
Plaintext

# $Id: range.mac 96172 2016-03-22 09:19:11Z gcosmo $
#
# Macro file for "TestEm11.cc"
#
# compute the csda range of the primary particle
# with or without fluctuations
#
/control/verbose 2
/run/verbose 2
#
/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