NCLE: NCD Shaper charge to energy conversion


				Titles: NCLE:  NCD Shaper charge to energy conversion
                                =====================================================
	


Contact: Christine Kraus / Laura Stonehill

Revision History:-
================
	2005-09-02 A. Cox     - Original -- using number provided from Laura S. 
        2005-10-21 S. Peeters - Added more parameters
        2007-04-09 G. Prior   - KNCLA_XXX replaced by KNCLE_XXX to
	                        avoid confusion with NCLA banks
                                Updated description
        2007-04-23 G. Prior   - Added more words and updated documentation.

Titles Files
------------

Stored in SNO database.
 
Names are ncle_00000xxxxx.dat (xxxxx being the first run number for which the bank is valid).

Verification
------------

Description
-----------

Bank Number: Bank Version Number : 2

If the calibrated charge value (from NES bank: KNES_CALCHARGE) is
given, the energy value (in MeV) is equal to:
KNCLE_OFFSET + KNCLE_1ST*C + KNCLE_2ND*C**2 + KNCLE_3RD*C**3 + KNCLE_4TH*C**4
where C is corresponding to the calibrated charge.

In the current calibration, KNCLE_1ST and KNCLE_ERR_1ST only are different from zero. 

Data Words
----------

	Fixed length Database Header. See titles_dbhdr.html

    Data types: B(bit), I, F, D(double), H(hollerith 4 char)

Word		Type		Mnemonic                        Description
1               I               KNCLE_VERSION                   Bank version number
2..6            I               KNCLE_SPARE_GLOBAL              Five global spare words

    For i = 7 + KNCLE_NPAR*K (KNCLE_NPAR = 10 and K = 0...39) PAR = KNCLE_XXX+K*KNCLE_NPAR

i               F               KNCLE_OFFSET                    Offset for conversion
i+1             F               KNCLE_1ST                       1st order factor for conversion
i+2             F               KNCLE_2ND                       2nd order factor for conversion
i+3             F               KNCLE_3RD                       3rd order factor for conversion
i+4             F               KNCLE_4TH                       4th order factor for conversion
i+5             F               KNCLE_ERR_OFF                   Error on the offset
i+6             F               KNCLE_ERR_1ST                   Error on the 1st order factor
i+7             F               KNCLE_ERR_2ND                   Error on the 2nd order factor
i+8             F               KNCLE_ERR_3RD                   Error on the 3rd order factor
i+9             F               KNCLE_ERR_4TH                   Error on the 4th order factor
i+10..i+14      F               KNCLE_SPARE_LOCAL               Five spare words per string

For more details about the constants determination and the errors calculation see documentation. 

Go Back to the Snoman Companion Top Page