PrimEx Analyzer
The primex analyzer is the program used to monitor the incoming data online from the
data stream. The source code for this program is in the primex/jul_00/src directory
of the clasrun account. To work on and use the code, login as clasrun and
source primex/jul_00/primex.cshrc.
How to start it
- log in as clasrun to clon00
- source primex/jul_oo/primex.cshrc
- type "rehash" (no quotes)
- start the analyzer with: "primex_analyzer -e"
How to look at histograms
- look at online histograms from PAW using "global_sec PRIM" (clon00 only).
- look at histograms in hbook files. The files are located in ~clasrun/primex/jul_00/hbook
How to modify the program
The directory primex/jul_00/src/primex_analyzer contains the code of interest.
The routines you probably want are in hist_book.c, and hist_fill.c. To compile a new
executable, type "make ONLINE=yes" in the primex_analyzer directory.
Pedestals and gains
The files pedestals, gains, and energy_calib in the ~clasrun/primex/jul_00/config_files
directory are used by the analyzer to try and convert each channel from ADC counts
to energy.