( is called by: hec_evt.f
, hec_online_pass1.f )
includes the following commons:
hec_par.inc
hec_adc.inc
hec_cub.inc
hec_datacard.inc
hec_geo.inc
hec_ped.inc
For multiple
sample data, this routine performs - for each event -
a simple
cubic fit to find the maximum adc value and the time
associated
with it.
First
find, for each adc, find the time slice with the maximum adc value.
Then
get the adc values of 4 points around the peak and do a
cubic
polynomial fit.
If all
is ok and the peak fits nicely inside a fit window, fill the
common
block for the adc channel.