# File: tracking_only.mac # Brief: Macro showing how to simulate nothing but tracking # # Date: 2014-07-24 # Contact: P G Jones, # Revisions: # # This macro demostrates how to only simulate tracking, i.e. turn off the DAQ # aspects, saving the output events to a root file called output.root # Store all the tracks via /rat/tracking/store full # Turn off DQXX /rat/db/set DAQ dqxx_info 0 # Turn of PMT calibration HHP usage /rat/db/set DAQ use_qhs_hhp 0 /run/initialize # BEGIN EVENT LOOP /rat/proc outroot /rat/procset file "output.root" # END EVENT LOOP # Generate something to track, 1MeV electrons /generator/add combo gun:point /generator/vtx/set e- 0 0 0 1.0 /generator/pos/set 0 0 0 /generator/rate/set 1 /rat/run/start 10 exit