hec_ped_write.f    [#]

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

    ( is called by:   hec_ped.f  )
 

    includes the following commons:

    hec_par.inc
    hec_datacard.inc
    hec_geo.inc
    hec_ped.inc
    hec_runh.inc
 

    This routine opens  the file:        'ped_out.dat'

    and then writes the pedestals into it:

      do ic = 1, i_adc_used
        write(io_ped(4), *, err=1) ic, adc_ped_run(ic), adc_rms_run(ic)
      enddo