# File: parentinfo.mac # Brief: This simulates solar events # # Date: 2014-05-29 # Contact: J Wilson, # Revisions: # 2014-05-29 : P Jones, added header info. # 2016-03-02 : F Descamps, change the DATE setting to RUN setting # This means DATE.day = 912 to RUN.start_time = 1341100800.0 # 2017-01-17 : F Descamps, changing the time format again # # The parent information is then tested to check it is correct /rat/physics_list/OmitMuonicProcesses true /rat/physics_list/OmitHadronicProcesses true # Set the starting time for the simulation (01-07-2012 at midnight UTC) /rat/db/set RUN start_day 912 /rat/db/set RUN start_sec 0 /rat/db/set RUN start_nsc 0.0 /rat/physics_list/OmitCerenkov true /run/initialize # Only interested in MC info so don't track photons /rat/physics/scintillation/off # BEGIN EVENT LOOP /rat/proc count /rat/procset update 5 /rat/proc outroot /rat/procset file "parentinfo.root" # END EVENT LOOP /rat/run/duration 10 day /generator/add solar pep:nue /generator/add solar be7:numu /rat/run/start exit