38 lines
765 B
Plaintext
38 lines
765 B
Plaintext
# $Id: range.mac,v 1.9 2006/01/25 15:28:27 maire Exp $
|
|
#
|
|
# Macro file for "TestEm1.cc"
|
|
#
|
|
# compute the csda range of the primary particle
|
|
# with or without fluctuations
|
|
#
|
|
/control/verbose 2
|
|
/run/verbose 2
|
|
#
|
|
/testem/det/setMat Water
|
|
/testem/det/setSize 10 cm
|
|
#
|
|
/testem/phys/addPhysics standard
|
|
###/testem/phys/addPhysics penelope
|
|
###/testem/phys/addPhysics livermore
|
|
#
|
|
/run/initialize
|
|
#
|
|
# prevent any secondary production
|
|
/testem/phys/setCuts 1 km
|
|
#
|
|
# eliminate straggling
|
|
/process/inactivate msc
|
|
/process/eLoss/fluct false
|
|
#
|
|
/testem/gun/setDefault
|
|
/gun/particle proton
|
|
/gun/energy 100 MeV
|
|
#
|
|
/testem/histo/setFileName range
|
|
/testem/histo/setFileType hbook
|
|
/testem/histo/setHisto 1 150 70 85 mm # csda range
|
|
#
|
|
/testem/event/printModulo 2000
|
|
#
|
|
/run/beamOn 20000
|