# File: cerenkov.mac # Brief: This simulates electron particles in order to study Cerenkov photons # # Date: 2014-07-21 # Contact: P G Jones, # Revisions: # 2014-07-21 : P Jones, moved to rat-tools validation. # # This macro simulates electron particles and stores the tracking of the Cerenkov photons /rat/tracking/omit e- /rat/tracking/store full /rat/physics_list/OmitMuonicProcesses true /rat/physics_list/OmitHadronicProcesses true /rat/db/set DETECTOR geo_file "geo/snoplus_water.geo" /run/initialize # BEGIN EVENT LOOP /rat/proc count /rat/procset update 100 /rat/proc outroot /rat/procset file "cerenkov.root" # END EVENT LOOP /generator/add combo gun:point /generator/vtx/set e- 0 0 0 5.0 /generator/pos/set 0 0 0 /generator/rate/set 1 /rat/run/start 2000 exit