# File: livetimeProcessing.mac # # Date: 2018-01-18 # Contact: Aobo Li # Revisions: 2018-01-18 New File # # Run-level processing on one or more sub-files comprising a # full run. # Outputs are the ratdb tables for LIVETIME # # Prerequesites: second_pass_processing.mac: creates a rootfile per builder subrun # that contains all events, with data cleaning, hit cleaning and PMTCal applied, # including blinded ones that is used as input to this macro. # The only requirement for this macro would be the clock reconstruction from # second pass processing macro. # /rat/physics_list/OmitAll true /rat/db/set DETECTOR geo_file "geo/snoplusnative_water.geo" # Pass all subfiles that make up run ${INFILE_LOAD} /run/initialize ##########EVENT LOOP############ # Run Livetime Processing to produce LIVETIME table /rat/proc datacleaning /rat/procset add "livetimecuts" ##########EVENT LOOP############ ${INFILE_READ} exit