MCNQ NCD Shaper Charge =========================== Contact: H. Deng Revision History:- ================ 5.00 H. Deng First version. Make _TIME double precision. 5.02 N. Oblath Added status bits to differentiate NCD signals Added trigger-flag, trigger-time, and shaper-card-info words Changed a reference link from MCNC to MCNA 5.03 N. Oblath Added Note 1 N. Oblath Added KMCNQ_EV Description ----------- This bank holds the shaper peak ADC. It is formed from a sum of individual MCNC unamplified currents. Reference Links --------------- -1 -KMCNQ_MCNA MCNA The amplified current that contributed to this shaper. (Follow MCNC's _MCNC link for the remainder). -2 -KMCNQ_MCNQ MCNQ The next shaper event which will contribute to the same EV (i.e. the chain of NESs) -3 -KMCNQ_EV EV The EV bank to which this MCNQ contributed Structural Links ---------------- None. Status Bits ----------- Note: Any status bit parameters are defined to work with bit functions such as IAND and BTEST. Bit Mnemonic Description --- -------- ----------- 0 KMCNS_MUX_SIGNAL Indicates this bank is a MUX (MCNS) bank -- should never be set when lifting this bank 1 KMCNS_SHP_SIGNAL Indicates this bank is a Shaper bank -- should always be set when lifting this bank 2 KMCNS_PREAMP_SIGNAL Indicates this bank is a preamplified-current (MCNA) bank -- should never be set when lifting this bank Data Words ---------- Data types: B(bit), I, F, D(double), H(hollerith 4 char) +1 I KMCNQ_ADC ADC value (see Note 1) +2 D KMCNQ_TIME Pulse time first word +3 second word +4 I KMCNQ_TRIG_FLAG Trigger flag +5 D KMCNQ_TRIG_TIME Trigger time first word +6 second word +7 I KMCNQ_SHAPER_CHAN Shaper channel +8 I KMCNQ_SHAPER_SLOT Shaper-card slot +9 I KMCNQ_SHAPER_ADDR Shaper-card address 10 I Spare. 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)