Raw signal processing
show macro

    The macro rawshow.C can be run under Phat. It has been created as a result of tests and debugging process during implementation of raw signal processing in Phat. It is now a good example of use of these features. This macro has been submitted to cvs repository on nighthawk and should be available with the standard Phat distribution.

    Currently the following features work and produce meaningfull results:

bulletPedestal evaluation
bulletCommon mode noise (6 sigma procedure)
bulletNoise calculation
bulletZero suppression of uncalibrated signals
bulletCalibration
- this procedure uses now temporary data base of calibration parameters for the electronics used with Test Beam 98. The parameters has not been determined yet correctly for most of the channels, some files are simply a copy with fake data.

    To run macro one needs access to raw data files from the Test Beam 98 runs and the latest release of the Phat. All the processing parameters are determined either by setting them explicitely inside the macro or by evaluation from the input data.

    Macro produces histograms of various quantities calculated in the above mentioned procedure. A trick has been used to stop macro execution in key points to allow user to interact with produced graphics and to store results of calculations in graphics files.

    Available to see is:

bulletThe macro rawshow.C itself and
bulletThe graphical screen dumps during the macro execution.
The dumps has been done after:
  1. pedestal preprocessing,
  2. determination of pedestals,
  3. calculation of noise,
  4. zero suppression and calibration procedures,
  5. final display of zero suppressed and of calibrated signal distributions for the whole TB98 detector.

Written by Andrzej Olszewski on 03/16/99