To get the gain calibration information from the database domprodtest (example):
gains.pl 0 2005-11-25
Where the date is the starting date from which to get domcal info. The
output is printed on screen and saved into a file out.txt.
If the date is a 2005 date it might take a while until the program will
find the records.
The first argument (0) is a lower limit on the DOM voltage at gain 5E7.
So if one puts this on e.g. 2000, then one only gets the information of
DOMs with higher voltage.
A third argument may be given: the gain.
Example of usage:
gains.pl 2000 2005-11-24 5e7
will give you the voltages at gain 5e7 which are > 2000V
The slopes and intercepts can now be found in the file out.txt.
One can easily readout by:
cat out.txt | column -t