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:
![]() | Pedestal evaluation |
![]() | Common mode noise (6 sigma procedure) |
![]() | Noise calculation |
![]() | Zero suppression of uncalibrated signals |
![]() | Calibration - 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:
![]() | The macro rawshow.C itself and |
![]() | The graphical screen dumps during the macro execution. The dumps has been done after:
|
Written by Andrzej Olszewski on 03/16/99