# File: PMTTimeJitter.mac # Process: PMT Hit Time Smearing # # Date: 09/10/2015 # Contact: J. Sinclar, # /rat/physics_list/OmitHadronicProcesses true /rat/physics_list/OmitMuonicProcesses true /rat/db/set DETECTOR geo_file "geo/snoplus.geo" /run/initialize /rat/proc frontend /rat/proc trigger /rat/proc eventbuilder /rat/proc calibratePMT #Insert PMT time jitter proc before fitter /rat/proc PMTjitter /rat/procset sigma 1.6 #The number following sigma sets the width of the smearing Gaussian, in ns. Must be > 0. /rat/proc scintFitter /rat/proc outroot /rat/procset file "output.root" #Something to save, 2.6 MeV electrons /generator/add combo gun:point:poisson /generator/vtx/set e- 0 0 0 2.6 /generator/pos/set 0.0 0.0 0.0 /generator/rate/set 1 /rat/run/start 10 exit