# File: beta14.mac # Brief: Short macro showing how to run the beta14 classifier # # Date: 19-05-2014 # Contact: P G Jones, # Revisions: # 19-05-2014 I. Coulter Initial commit. # # This is a macro which shows how to run the beta14 classifier. # This returns a parameter which characterises the aniostropy of the # PMT hits. # /run/initialize # BEGIN EVENT LOOP /rat/proc frontend /rat/proc trigger /rat/proc eventbuilder /rat/proc count /rat/procset update 10 /rat/proc calibratePMT # beta14 classifier requires a position seed. # Use the quadFitter. /rat/proc fitter /rat/procset method "quad" # Now run the beta14 classifier /rat/proc classifier /rat/procset classifier "beta14" /rat/procset seed "quad" /rat/proclast outroot /rat/procset file "beta14.root" # END EVENTLOOP /generator/add combo gun:fill /generator/vtx/set e- 0 0 0 1.0 /generator/pos/set 0 0 0 /generator/rate/set 1 /rat/run/start 10 exit