#
# Macro file 'run11.mac' for the initialization phase of "TestEm8.cc"
#
# It creates the default geometry (simple absorber cylinder )        
#
/control/verbose 2
/run/verbose 2
#/tracking/verbose 2
#
#
#  select EM PhysicsList
#
#/testem/phys/addPhysics  pai
#
/testem/phys/addPhysics  pai_photon
#
#/testem/phys/addPhysics  standard
#
#/testem/phys/addPhysics model
#
/testem/phys/setCuts    1.01 mm
#/testem/phys/VertexCuts 0.1 mm
#/testem/phys/MuonCuts  10.0 mm
#/testem/stepMax         10 mm
#
#/process/eLoss/preciseRange  true
#/process/eLoss/integral      true
#
#  hist file name
#
/plots/sethistName g4.p11
#
#  PLOT: energy deposit distribution in absorber
#
/plots/setnbinEn 50
/plots/setEnlow 0.00 MeV
/plots/setEnhigh 0.5  MeV  
#
#
#/process/eLoss/verbose 2
#
/run/initialize
/run/particle/dumpCutValues
#
#/gun/particle e-
#
#/gun/particle proton
#
/gun/particle pi+
#
#/gun/particle mu-
# 
#/gun/energy 4862.38 MeV
# 
#/gun/energy 2210.00 MeV
# 
#/gun/energy 1.00 MeV
# 
#/gun/energy 8861.00 MeV
#
#/gun/energy 2864.00 MeV
#
/gun/energy 3863.00 MeV
#
#/gun/energy 318.0 MeV
#
#/gun/energy 10.46 MeV
#
#/tracking/verbose 1
#
/calor/setGammaCut 0.1
/calor/setElectronCut 0.1
/calor/setPositronCut 0.1
/calor/update
#
#/testem/stepMax 10 mm
#
/run/initialize
#
#/tracking/verbose 1
#
/event/printModulo 10000
/run/beamOn 50000
#
#/run/beamOn 3820
#/tracking/verbose 6
#/event/printModulo 1
#/run/beamOn 10
#








