hec_beam_survey.f     [#]

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

    ( is called by:   hec_beam_pass.f  )
 

    includes the following commons:

    hec_par.inc
    hec_beam_sys_clusters.inc
    hec_beam_sys_config.inc
    hec_beam_sys_shifts.inc
    hec_datacard.inc
    hec_runh.inc
 

    The call to this fairly lengthy routine comes with an argument `mode'.
    For:    mode = 1  an initialization is done and histograms are booked.
            Then the information of the events is filled into the histograms.
            and the alignment constants are calculated.
          hec_beam_getclust(0)
            is called at the beginning of the histogram filling. It gets all the MWPC clusters
            and fills the cluster common blocks,

    If the routine is called with:   mode=2   the initialization steps are skipped
    and the alignment constants are calculated.

    (?  I am not sure whether these descriptions are really correct....)