# File: snoman_physics.mac
# Brief: Macro shows how to choose the SNOMAN physics models
#
# Date: 2014-08-05
# Contact: P G Jones,
# Revisions:
#
# This macro demostrates how change the Optical Rayleigh and Cerenkov models to
# the SNOMAN version
/rat/physics_list/SelectCerenkovProcess SNOMAN
/rat/physics_list/SelectOpRayleighProcess SNOMAN
/run/initialize
# BEGIN EVENT LOOP
/rat/proc outroot
/rat/procset file "output.root"
# END EVENT LOOP
# Generate something to save, 1MeV electrons
/generator/add combo gun:point
/generator/vtx/set e- 0 0 0 1.0
/generator/pos/set 0 0 0
/generator/rate/set 1
/rat/run/start 10
exit