Description of mMvdFEM


The calling sequence for this module (with links to the source code) is: mMvdFEM dMvbRaw dMvcRaw dMvdFEM

This module takes the staf "raw data" data tables for the MVD as input and generates "packets" in the format used by the MVD's DCM/IM modules as output. In the case of the MVD, the DCIM output is called the "FEM output". Note that this format is different than the MCM output (which goes into the DCIM and is not seen by the outside world).

The input is dMvbRaw (barrel) and dMvcRaw (pads). The output is dMvdFEM.

The first step is that the lists of ADC values (zero-suppressed and not necessarily in any particular order) in the raw arrays and constructs local arrays organized as adc_barrel[strip][cell][row][shell] for the barrel and adc_pad[nadc][wedge][end] for the pads. From these internal local arrays, the dMvdFEM packets are constructed. These contain things like event counts, beam clock, amu cell numbers, etc. These various counters are constructed locally since I do not know where to find "global" values. Parity words are included.


John Sullivan
comments to: sullivan@lanl.gov
updated 15-Jul-1999