Files
geant4/examples/advanced/cosmicray_charging/shoot.mac
T
2016-06-09 11:11:55 +02:00

33 lines
685 B
Plaintext

#################################################################
# Shoots 1 GeV protons randomly from generator surface
#################################################################
#
/vis/enable
/tracking/storeTrajectory 1
/control/verbose 1
/run/verbose 1
/event/verbose 0
#
/control/suppressAbortion 1
#
# Random seeds
#/run/autoSeed 1
/random/resetEngineFrom seeds.rndm
#
# particle surveys
#/surveys/surveyParticles 1
#/surveys/surveyPrimaries 1
#/surveys/surveyTestMasses 1
#
/gps/particle proton
/gps/energy 1 GeV
#
# Isotropic distribution
/gps/pos/type Surface
/gps/pos/shape Sphere
/gps/pos/radius 1499. mm
/gps/pos/centre 0. 0. 0. mm
/gps/ang/type cos
#
/run/beamOn 10