# File: partialFitterMultiPath.mac # Brief: Short macro showing how to run the Multipath PartialFitter # in a "recipe" mode. # Date: 12-09-2018 # Contact: Jie Hu # # This is a macro which shows how to run the partialFitterMP. It runs # multipath fitter in a recipe mode: use the MP fit position and time # as the seed to fit for energy and to do calculations in classifiers. # 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 partialFitterMP /rat/proc partialFitterMP /rat/proclast outroot /rat/procset file "partialFitMP.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