CHIWEI: A code of goodness of fit tests for weighted and unweighted   histograms
  A self-contained Fortran-77 program for goodness of fit tests for histograms with weighted entries as well as with unweighted entries is presented. The code calculates test statistics for case of histogram with normalized weights of events and in case of unnormalized weights of events. 
Nikolai Gagunashvili
physics.data-an astro-ph.IM hep-ex nucl-ex stat.ME