FreeHEP API
Version current

hep.aida.ref.dataSet.binner
Interface BinError

All Known Implementing Classes:
EfficiencyBinError, GaussianBinError, PoissonBinError

public interface BinError

Classes implementing this interfaces calculate the plus and minus error on a bin given its entries and height.

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

Method Summary
 double minusError(int entries, double height)
          Get the minus error on a bin.
 double plusError(int entries, double height)
          Get the plus error on a bin.
 

Method Detail

plusError

public double plusError(int entries,
                        double height)
Get the plus error on a bin.

Parameters:
entries - The entries in the bin.
height - The height of the bin.
Returns:
The plus error.

minusError

public double minusError(int entries,
                         double height)
Get the minus error on a bin.

Parameters:
entries - The entries in the bin.
height - The height of the bin.
Returns:
The minus error.

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.