# File: insoc.mac # Brief: Macro showing how to load a SOC root file and run processoers on the data # # Date: 2014-07-24 # Contact: P G Jones, # Revisions: # # This macro demostrates how to load a SOC root file called input.soc.root and # run processors on it including output to a SOC root file called # output.soc.root. /rat/insoc/load input.soc.root # Extra files can also be loaded by including extra lines, such as: #/rat/inroot/load input2.soc.root /run/initialize # BEGIN EVENT LOOP /rat/proc count # An example processor /rat/procset update 5 /rat/proc outsoc /rat/procset file "output.soc.root" # END EVENT LOOP /rat/insoc/read exit