The best way of introducing the Calibration database is to describe a typical sequence of events concerning calibration which happen during the normal course of CDF operations. Important terms will be highlighted on the way through. We will use the context of the SiChipPed table as an example.
Before we get started, here is a list of the important terms described in this page which are bookmarked to the places where they occur.
SiChipPed is a table in the calibration database which contains information about the pedestal values for the Silicon detectors. The pedestal value for a single channel (usually 1 strip) in the silicon detector tells you what the mean output voltage is when there is no beam in the machine. These are then reference values to compare to when reading actual data. The standard deviation on this pedestal is then called the "noise" in this context. As a further refinement, it is possible to get a more accurate estimate of the noise for a given channel by subtracting the noise for one channel from its neighbour's noise. This is called DNOISE (delta-noise) and is a better estimate for one single channel as opposed to noise characteristics shared by all the channels in the chip.
In the database, this information is stored in a table called SiChipPed. If you fire up sqlplus on fcdflnx3 by doing:
source ~cdfsoft/cdf2.cshrc setup cdfsoft2 development sqlplus cdf_reader/reader@cdfofreadand execute the sql command:
desc SiChipPedthis gives you the description of the SiChipPed table in the database (ie the colum names and properties). The output is:
SQL> desc SiChipPed Name Null? Type ----------------------------------------- -------- ---------------------------- CID NOT NULL NUMBER(38) CHIPKEY NOT NULL NUMBER(38) PED1 RAW(128) PED2 RAW(128) PED3 RAW(128) PED4 RAW(128) NOISE1 RAW(128) NOISE2 RAW(128) NOISE3 RAW(128) NOISE4 RAW(128) DNOISE RAW(128)Here is what the column names mean:
Once a ValidSet has been created, a UsedSet can be created. A UsedSet is the combination of a ValidSet and the run number (or more usually range of run numbers) for which this calibration is useful for. There are many combinations of Calibrations and the run ranges they are useful for going all the way back to the dawn of data-taking.
Once the UsedSet has been created, the offline Calibration folks can create a Calibration Production "Pass" which consists of all the Calibration data to enable someone to run production with the most recent Calibrations. This consists of all the UsedSets for all the run-ranges there are (apart from data which is deemed to be useless).
Here is a fairly irrelavent feynmann diagram to chew out a bit of
space so that the advertised bookmarks at the top of the page actually
take your browser to where the words appear in the text. That is unless
you have your browser in teeny tiny text mode on an enormous screen.
Matthew Martin Last modified: Fri Sep 26 10:05:01 CDT 2003