# File: ext0NuCosTheta.mac # Brief: Short macro showing how to run the Ext0NuCosTheta Classifier # # Date: 01-07-2018 # Contact: T Kroupa, # Revisions: # # This macro shows how to run the Ext0NuCosTheta 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. /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 "Ext0NuCosTheta-Tl208AV" /rat/procset seed "quad" # Initialise classifier wrt to different background and specifying scintillator /rat/proc classifier /rat/procset classifier "Ext0NuCosTheta-Tl208Hdropes-te_diol_0p5_labppo_scintillator_bisMSB_Jan2016" /rat/procset seed "quad" /rat/proclast outroot /rat/procset file "Ext0NuCosTheta.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