# File: multipathFitter.mac # Brief: Short macro showing how to run the MultiPath ScintWater(Partial) fitter # # Date: 1-8-2018 # Author: Jie Hu, # # This is a macro which shows how to run the MultiPath Partial(ScintWater) fitter. # This macro should be run on the processed data after cuts or Monte Carlo simulations. # Two PMT selectors: uniformPMTSelector and earlyHitPMTSelector are also shown here. /rat/inroot/load output.root /run/initialize # BEGIN EVENT LOOP #/rat/proc count #/rat/procset update 10 #/rat/procset stop 10 #/rat/proc/if taggedSource #/rat/proc/if nhitCut #/rat/procset nhit 10 #/rat/procset clean 1 # /rat/proc/if numberProcessed # /rat/procset number 10 /rat/proc fitter /rat/procset method "multipath-scintwater" # /rat/procset selector "uniformPMTSelector" # /rat/procset selector.reducePMTto 300 # /rat/procset selector "earlyHitPMTSelector" # /rat/procset selector.panels 16 # /rat/procset selector.nthresh 100 /rat/procset name "multipath" /rat/proc count /rat/procset update 100 /rat/proclast outroot /rat/procset file "FitMPScintWater_output.root" # /rat/proc/endif #/rat/proc/endif #/rat/proc/endif # END EVENTLOOP /rat/inroot/read exit