# File: ext0NuTimeRes.mac # Brief: Short macro showing how to run the Ext0NuTimeRes Classifier # # Date: 01-07-2018 # Contact: T Kroupa, # Revisions: # # This macro shows how to run the Ext0NuTimeRes Classifier. # The classifier should be initialised using its name, followed # by a hyphen, followed by the background wrt which the classification # is desired. Refer to the RATDB tables to see what backgrounds are # available. Seed is required. Scintillator can be also specified # in the initialisation after another hyphen. Uses Fisher weights # as default but other weights available. /run/initialize # BEGIN EVENT LOOP /rat/proc frontend /rat/proc trigger /rat/proc eventbuilder /rat/proc count /rat/procset update 10 /rat/proc calibratePMT # Use quad to get a seed /rat/proc fitter /rat/procset method "quad" # Initialise classifier without specifying scintillator /rat/proc classifier /rat/procset classifier "Ext0NuTimeRes-Tl208AV" /rat/procset seed "quad" # Initialise classifier wrt to different background and specifying scintillator /rat/proc classifier /rat/procset classifier "Ext0NuTimeRes-Tl208Hdropes-te_diol_0p5_labppo_scintillator_bisMSB_Jan2016" /rat/procset seed "quad" # Initialise classifier and use naive weights instead of default fisher ones /rat/proc classifier /rat/procset classifier "Ext0NuTimeRes-Tl208AV_NAIVE" /rat/procset seed "quad" /rat/proclast outroot /rat/procset file "Ext0NuTimeRes.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