Description of mMvdCalib

The calling sequence for this module (with links to the source code) is:
mMvdCalib dMvbCal dMvdPar dMvbPar dMvcPar dMvdGeo dMvbRaw dMvbSkev

Sort and calibrate raw ADC data. This is for the barrel only. Needs to be updated, but our "real" calibration procedure is not yet defined.

Take ADC values (input via dMvbRaw), assumed calibration parameters, and convert raw data structures into a list of hits with keV energy loss per channel. Key calibration parameters are MvdPar->smax_kev (keV corresponding to ADC full scale, currently keV which corresponds to 8 mips) and MvdPar->full_scale (ADC full scale, currently 255). Using these two "calibration" parameters, MvbCal->gain is filled. This a a number which converts an ADC value to keV.

The various geometry tables are used for such parameters as the number of strips per Si wafer, the number of Si wafers along the z axis, the azimuthal segmentation, the number of shells, the size of the hole in the outer layer of the barrel, etc.


John Sullivan
comments to: sullivan@lanl.gov
updated 23-Dec-1999