TledCntrs_c

 pro TledCntrs_c__DEFINE

 Version: 1.0


 Definition of the LED Science Counter structure

 Sub-type: c

 Level(s): 2

 Format(s): f40, f50


 NOTE: The bit numbering used here is reversed as compared to the one in the Onboard Science
       Software documentation. The numbering here is the standard one for Intel- and Alpha-
       technologies, while the OSS documentation follows the numbering of the MIL-STD-1750A,
       used in ERNE onboard processor.


 TledCntrs_c::
    readOrder      : INT        H/W counter read order (0x0100)
    hwCs           : LONG[8]    Hardware counters
    tot_IC         : LONG       Total Interrupt Counter (IC)
    pr2sr_IC       : LONG       PR2 Sample Rate Divider updated IC
    pr1d1_ICs      : LONG[7]    PR1 D1 IC
    pr2d1_ICs      : LONG[7]    PR2 D1 IC
    pr0sr_IC       : LONG       PR0 PR2-SRD updated IC
    pr0_IC         : LONG       PR0 IC
    pr1err_IC      : LONG       PR1 Error IC
    pr2err_IC      : LONG       PR2 Error IC
    intERRflags    : INT        Interrupt error flags:
                                   b15    = PR0 D11             (most significant bit)
                                   b14    = PR0 D12
                                   b13    = PR0 D13
                                   b12    = PR0 D14
                                   b11    = PR0 D15
                                   b10    = PR0 D16
                                   b9     = PR0 D17
                                   b8     = RESERVED
                                   b7     = RESERVED
                                   b6     = PR1 but not PR2 bit set
                                   b5     = PR1 D11-hit
                                   b4     = PR1 D16-hit
                                   b3     = No D2-hit
                                   b2     = No D1-hit
                                   b1     = Multiple D1-hits
                                   b0     = AC hit              (least significant bit)
    tot_AC         : LONG       Total Analysis Counter (AC)
    errACK_AC      : INT        Acknowledged error AC
    pr1heavy_AC    : INT        PR1 heavy isotope AC
    pr2heavy_AC    : INT        PR2 heavy isotope AC
    pr1dORt_AC     : INT        PR1 deuteron or triton AC
    pr2dORt_AC     : INT        PR2 deuteron or triton AC
    pr1Noise_AEC   : INT        PR1 noise Error AC
    pr2noise_AEC   : INT        PR2 noise Error AC
    pr1rLim_AEC    : INT        PR1 background Error AC
    pr2rLim_AEC    : INT        PR2 background Error AC
    pr1pifSmall_AEC: INT        PR1 small pif Error AC
    pr2pifSmall_AEC: INT        PR2 small pif Error AC
    pr1pifGap_AEC  : INT        PR1 t-He3 pif gap Error AC
    pr2pifGap_AEC  : INT        PR2 t-He3 pif gap Error AC
    pr1other_AEC   : INT        PR1 other Error AC
    pr2other_AEC   : INT        PR2 other Error AC
    internal_AEC   : INT        Internal Error AC&flags:
                                   b5-b15 = error counter (11 bits)
                                   b4     = Noise
                                   b3     = PR
                                   b2     = PR1
                                   b1     = PR2
                                   b0     = PIF
    anaERRflags    : INT        Analysis error flags:
                                   b15    = D1 low energy PR2   (most significant bit)
                                   b14    = D1 low energy PR1
                                   b13    = D2 low energy PR2
                                   b12    = D2 low energy PR1
                                   b11    = D11 noise PR2
                                   b10    = D12 noise PR2
                                   b9     = D13 noise PR2
                                   b8     = D14 noise PR2
                                   b7     = D15 noise PR2
                                   b6     = D16 noise PR2
                                   b5     = D17 noise PR2
                                   b4     = D12 noise PR1
                                   b3     = D13 noise PR1
                                   b2     = D14 noise PR1
                                   b1     = D15 noise PR1
                                   b0     = D17 noise PR1       (least significant bit)
    nPR1p          : LONG       PR1spectra: total number of protons
    nPR2p          : LONG       PR2spectra: total number of protons
    nPR1he3        : LONG       PR1spectra: total number of He3
    nPR2he3        : LONG       PR2spectra: total number of He3
    nPR1he4        : LONG       PR1spectra: total number of He4
    nPR2he4        : LONG       PR2spectra: total number of He4
    nPhaHeavy      : BYTE       PHA data: heavy isotope counter
    nPhaHelium     : BYTE       PHA data: Helium, Deuteron and Triton counter
    nPhaLight      : BYTE       PHA data: Light isotope counter
    nPhaRescued    : BYTE       PHA data: Rescued part (included in light counter above);


 VERSION HISTORY:

 1.0 - 2006-10-25

       First version for automated (on-need) structure definition (ER)