FreeHEP API
Version v1.2.2

hep.aida.util
Class HistUtils

java.lang.Object
  |
  +--hep.aida.util.HistUtils

public class HistUtils
extends Object

Author:
The FreeHEP team @ SLAC.

Constructor Summary
HistUtils()
           
 
Method Summary
static double kolmogorovTest(double[] bins1, double[] bins2)
          Test the distribution of h1 and h2 using the Kolmogorov algorithm.
static double kolmogorovTest(hep.aida.IHistogram1D h1, hep.aida.IHistogram1D h2)
          Test the distribution of h1 and h2 using the Kolmogorov algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistUtils

public HistUtils()
Method Detail

kolmogorovTest

public static double kolmogorovTest(hep.aida.IHistogram1D h1,
                                    hep.aida.IHistogram1D h2)
Test the distribution of h1 and h2 using the Kolmogorov algorithm. The result is between 0 and 1; 1 is for identical histograms.


kolmogorovTest

public static double kolmogorovTest(double[] bins1,
                                    double[] bins2)
Test the distribution of h1 and h2 using the Kolmogorov algorithm. The result is between 0 and 1; 1 is for identical histograms.


FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.