FreeHEP API
Version current

hep.aida.util
Class HistUtils

java.lang.Object
  extended byhep.aida.util.HistUtils

public class HistUtils
extends Object

Author:
The FreeHEP team @ SLAC.
Source Code:
HistUtils.java

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.