hec_his_pass1.f      [#]

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    ( is called by:   hec_his.f  )
 

    includes the following commons:

    hec_par.inc
    hec_datacard.inc
    hec_evth.inc
    hec_search.inc
 

    This routine does a pass over the data to fill some system histograms.
    it calls the following subroutines:
 

    hec_io_pass_ini.f
    which initializes the data I/O

    Then start the loop over all events

           make a call to function:
           hec_nextevt()
 

           hec_evt.f
            which processes the event

           hec_online_mwpc.f
           This gets the MWPC clusters

           hec_his_evt1.f
           Fills histograms for each event

           hec_io_pass_evt.f
           Calls mzwipe if Zebra files have been read

    End of event loop.

    hec_his_book_ana.f
    Books online histograms (after the event loop)

    hec_his_ana1.f
    Fills different histograms according to histogram switches

    hec_his_fit.f
    Fits Z-clusters with the help of hbook

    hec_io_pass_ter.f
    Finishes I/O and prints statistics if requested.