Files
geant4/examples/extended/electromagnetic/TestEm7/ionC12.mac
T
2016-06-09 14:44:26 +02:00

41 lines
881 B
Plaintext

# $Id: ionC12.mac,v 1.14 2006/01/30 10:35:33 maire Exp $
#
# Macro file for "TestEm7.cc"
# (can be run in batch, without graphic)
#
#
/control/verbose 2
/run/verbose 2
#
/testem/det/setMat Water
/testem/det/setSizeX 20 cm
/testem/det/setSizeYZ 20 cm
#
/testem/det/tallyMat Water
/testem/det/tallySize 2. 2. 2. mm
/testem/det/tallyPosition -9.9 0. 0. cm
/testem/det/tallyPosition -5. 0. 0. cm
/testem/det/tallyPosition 0. 0. 0. cm
/testem/det/tallyPosition 5. 0. 0. cm
#
/testem/phys/addPhysics standard #em physics
#
/testem/phys/addPhysics binary #hadronic physics
/testem/phys/addPhysics binary_ion #hadronic physics
/testem/phys/addPhysics elastic #hadronic physics
#
/run/initialize
#
/gun/particle ion
/gun/ion 6 12 6
/gun/energy 3.5 GeV
# beam size
/testem/gun/rndm 2 mm
#
# step linit
/testem/stepMax 1 mm
#
/testem/event/printModulo 1000
#
/run/beamOn 10000