################################################## # # Example Macro for the Cobalt-60 Source # # Co60Source.mac # Date: 18/11/2013 # Contact: L. Sibley, UAlberta # updated 09/03/2016 D Auty # ################################################## /rat/physics_list/OmitMuonicProcesses true /rat/physics_list/OmitHadronicProcesses true /rat/db/set DETECTOR geo_file "geo/snoplus_simple.geo" /rat/db/set DETECTOR geo_file "geo/Co60Source.geo" # There are many more parameters that may be altered, see Co60Source.geo /rat/db/set GEO[Co60Source] screws_enable 1 /rat/db/set GEO[Co60Source] check_overlaps 1 /rat/db/set GEO[inner_av] material "te_labppo_scintillator" /run/initialize # BEGIN EVENT LOOP /rat/proc frontend /rat/proc trigger /rat/proc eventbuilder /rat/proc calibratePMT /rat/proc scintFitter /rat/proc count /rat/procset update 1 /rat/proclast outroot /rat/procset file "Co60Source.root" # END EVENT LOOP # Load the co60source generator /generator/add co60source # Set the rate of the source (in Hz) /generator/rate/set 1 # If instead of a static number of events, one wants to simulate by time, # Set the time with the following command #/rat/run/duration 7 h # If the duration was set, remove the number of events from below /rat/run/start 10 exit