Single CDE Energy and Position Reconstruction
- Subtract pedestals from ADC values
- Convert pedestal subtracted
ADC values to DAC scale, using spline function DAC = adc2dac(ADC)
- Calculate logratio = log(DACplus/DACminus)
- Calculate position using
spline function pos = lograt2pos(logratio) for appropriate combination of
diodes at two sides of the crystal (PbigMbig,PsmallMbig, PbigMsmall,
PsmallMsmall)
- In case of different diodes at two ends of a
crystal, calculate the ratio of the signals in big and small diodes using
spline function ratioBig2Small(pos) for the end of the crystal where the small
diode is read out; using this ratio, calculate the big diode DAC signal for
this crystal end.
- Calculate the geometric
average DAC value for the crystal: DACavr = sqrt(DACplus*DACminus)
- Calculate the energy using the gain for
appropriate diode (Big or Small): energy = gain*DACavr