next up previous contents
Next: Note on NHIT cuts Up: Programming the Event Loop Previous: RSP   Contents

Case Study

Suppose we have a file of data called input.dat that we wish to process as follows:-

  1. Discard events with less than 10 hits.

  2. Output and then discard events with less than 20 hits to small_events.dat

  3. Pass the others through the Event Time Fitter (FTT).

  4. Output fit failures to fit_fails.dat

  5. Output passes to fitted_events.dat

Here are the commands that would achieve this:-


next up previous contents
Next: Note on NHIT cuts Up: Programming the Event Loop Previous: RSP   Contents
sno Guest Acct 2009-09-09