( is called by:
hec_his_pass1.f , hec_pass1.f
, hec_pass2.f , hec_pass3.f
,
hec_ntuple_pass1.f )
includes the following commons:
hec_par.inc
hec_datacard.inc
This routine processes the event. It does:
1- fill adc values
for the different coordinate systems
2- produce useful
trigger words
3- produce useful
tdc value
4- produce pedestals
for the event
5- fill preferred
pedestals and rms
6- find max adc and
time using cubic fit
7- find max adc and
time using digital filtering
8- fill preferred
max adc and time
9- reconstruct beam
particle trajectory
10- produce calibrated
channel values (in nA)
11- prepare the search
package
In order to do this all, it calls the following subroutines:
hec_adc_fill.f
reads
testbeam data and fills the adc values into the adc
channel
system (ic)
hec_trig_evt.f
defines
all the available triggers
hec_tdc_evt.f
processes
the raw tdc time
hec_ped_evt.f
calculates
pedestal and rms of pedestal
hec_ped_fill.f
fills
preferred pedestals into pedestal arrays
hec_cub_evt.f
does
a cubic fit to find the adc maximum
hec_dig_evt.f
Finds
the adc maximum using digital filtering
hec_max_fill.f
Fills
the adc and time value arrays.
hec_beam_fit(1).f
Performs
a beam fit using clusters from the MWPC
hec_cal_evt.f
Applies
aclibration to obtain energies in [nA]
hec_search_evt.f
Calls
the relevant signal search routine