( is called by: hec_ped_pass2.f
)
includes the following commons:
hec_par.inc
hec_adc.inc
hec_datacard.inc
hec_evth.inc
hec_geo.inc
hec_ped.inc
hec_ped_sys.inc
hec_trig.inc
This does
...
First
it resets the channel arrays and gather adc sums.
Then
there are 3 possibilities in the second pass:
c possibilities after pass
1:
c
1- ped>0 and rms>0 all ok
c
2- ped>0 and var<=0 set rms=0.
c
3- ped=0 and rms=0 no data for channel
c apply sigma cut only for
case 1
c leave cases 2 and 3 as
bad peds
Then compute
the pedestal for the event by calling
hec_ped_evt.f
Then gather
the adc sums again, taking pedestal into account.
and apply
sigma cut.