Bank NES


                    NES  NCD Event Shaper ADC
                    =========================
 
    Contact:  N. West, Oxford.
 
    Revision History:-
    ================
 
    5.00  N. West      First version
    5.01  C. Kraus     Change _CHARGE to calibrated energy
                       Add  _RAWCHARGE to hold uncalibrated raw charge
          SJM Peeters  Revert parameters to original meaning
	               RAWCHARGE now is CALCHARGE, add ENERGY
    5.02  N. Oblath    Added Note 1
    5.03  G. Prior     Correct definition of _CHARGE


 
Description
-----------
 
This bank exists shipped whenever data appears on any ADC Shaper Board.
It records the number of Channels that have events.

This bank comes from the NCD Shaper Record.
This bank maps to QADC.

Reference Links
---------------
 
    None.
 
 
Structural Links
----------------
 
    None.
 
Status Bits
-----------
 
Note: Any status bit parameters are defined to work with bit functions such as
      IAND and BTEST.
 
Data Words
----------
 
    Data types: B(bit), I, F, D(double), H(hollerith 4 char)

       The following come from the Shaper Record

 +1  I KNES_CHARGE     ADC value from shaper (see Note 1 for MC usage).
 +2  I KNES_CHAN       Shaper channel.
 +3  I KNES_SLOT       ORCA assigned slot number.

       The following come from the NQxx banks.

 +4  I KNES_ADDRESS    Shaper hardware address (typically 0x8000 - 0x8f00).
 +5  I KNES_NCDSTRING  NCD String number.

       The following come from the NCD shaper record

 +6  F KNES_CALCHARGE  Calibrated charge (using NCLI)
 +7  F KNES_ENERGY     Energy (using NCLE)

Notes
-----
 
1)  If full pulses are not being simulated this word contains a hard-coded approximation of the ADC value.  As of 5_0281, this is the conversion used (in mc_ncd_shaper.for):
ADC = nint(127.556 * Energy / 0.764MeV)

Go Back to the Snoman Companion Top Page