# File: ntuple.mac # Brief: This simulates electron events and saves an ntuple. # # Date: 2014-05-29 # Contact: P G Jones, # Revisions: # 2014-05-29 : P Jones, added header info. # # The values in the ntuple can then be tested /rat/physics_list/OmitMuonicProcesses true /rat/physics_list/OmitHadronicProcesses true /run/initialize # BEGIN EVENT LOOP /rat/proc frontend /rat/proc trigger /rat/proc eventbuilder /rat/proc calibratePMT /rat/proc waterFitter /rat/proc count /rat/procset update 10 /rat/proc outntuple /rat/procset file "ntuple.root" # END EVENT LOOP /generator/add combo gun:fill /generator/vtx/set e- 0 0 0 3.0 /generator/pos/set 0 0 0 /generator/rate/set 1 /generator/add combo gun:fill /generator/vtx/set e- 0 0 0 5.0 /generator/pos/set 0 0 0 /generator/rate/set 1 /rat/run/start 100 exit