# File: omit_physics.mac
# Brief: Macro showing how to omit various physics from the simulation.
#
# Date: 2014-08-05
# Contact: P G Jones,
# Revisions:
#
# This macro demostrates how to omit various physics.
/rat/physics_list/Optical/OmitBoundaryEffects true
/rat/physics_list/Optical/OmitAttenuation true
/rat/physics_list/Optical/OmitAbsorption true
/rat/physics_list/Optical/OmitRayleigh true
/rat/physics_list/Optical/OmitMie true
/rat/physics_list/OmitCerenkov true
/rat/physics_list/OmitHadronicPhysicsList true
/rat/physics_list/OmitHadronicProcesses true
/rat/physics_list/OmitMuonicProcesses true
/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