# File: partialFitter.mac # Brief: Short macro showing how to run the partialFitter # # Date: 19-05-2014 # Contact: R Bonventre, # Revisions: # 19-05-2014 I. Coulter Initial commit. # # This is a macro which shows how to run the partialFitter, which # gives the "best" fit for the partial fill phase, as defined by the # reconstruction group. Details of what this contains can be found # in the user manual or within the code itself. # # Load a partial fill phase geometry /rat/db/set DETECTOR geo_file "geo/snoplus_partial.geo" /run/initialize # BEGIN EVENT LOOP /rat/proc frontend /rat/proc trigger /rat/proc eventbuilder /rat/proc count /rat/procset update 10 /rat/proc calibratePMT # Run the partialFitter /rat/proc partialFitter /rat/proclast outroot /rat/procset file "partialFit.root" # END EVENTLOOP /generator/add combo gun:fill /generator/vtx/set e- 0 0 0 5.0 /generator/pos/set 0 0 0 /generator/rate/set 1 /rat/run/start 10 exit