Currently we support LeCroy 1885 and 1881 Fastbus ADCs and IU ADCs.
To prepare for a pedestals run, frm the DAQcontrol program, pressing the 'pedestals' button. This will tell 'DAQinit' to initialize the hardware for the pedestals run. The 'DAQinit' program will pop-up a series of windows asking to select ADCs, etc... Just follow the prompts... :-)
After 'DAQinit' finishes, it will leave the DAQ in the 'no run' mode. To start the pedestals run, press the 'begin run' button. After taking enough data, stop the run by pressing the 'end run' button.
During the pedestals run, data is routed to the pedestal measuring program (called 'pedestals'). The progress of this program can be monitored using the DAQ Logging System, the pedestals measuring program will appear under the name 'pedestals'.
After the end of the pedestals run, the pedestals measuring program will store the pedestals into the Map Manager file and terminate.
nevents - number of events where this channel fired.
Useful to detect sick channels.
min - minimum ADC value the program ever saw
max - maximum ADC value, note that overflows are seen as 65535
average - the average ADC values
sigma - the standard deviation of the ADC values
threshold - the ADC zero suppression threshold
If zero suppression on an ADC is turned on, the ADC zero suppression thresholds are downloaded into that ADC and the ADC values below the threshold are not read-out during normal running.
Currently, the thresholds are calculated using the formula:
threshold = average + 3.0 * sigma
The subsystem name is (for example) '0x10712-64', where '0x10712' is the ADC's Fastbus address and '64' is the number of channels in that ADC.
The item names are 'average', 'max', 'min', 'n', 'sigma' and 'threshold'.
The access time is the run number when the pedestals were measured.
Otherwise, you can use the printPedestals program to print the pedestals data for any particular run for any subsystem.
The pedestals for a given run and subsystem can be loaded using the functions from the 'libdata' library declared and documented in the pedestals.h include file.
//end file. CO 1.Apr.1994