hep.aida.ref.dataset.binner
Class GaussianBinError
java.lang.Object
hep.aida.ref.dataset.binner.GaussianBinError
- All Implemented Interfaces:
- BinError
public class GaussianBinError
- extends Object
- implements BinError
This class calculates the error on the bin assuming a gaussian distribution.
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. |
GaussianBinError
public GaussianBinError()
minusError
public double minusError(int entries,
double height)
- Get the minus error on a bin.
- Specified by:
minusError
in interface BinError
- Parameters:
entries
- The entries in the bin.height
- The height of the bin.
- Returns:
- The minus error.
plusError
public double plusError(int entries,
double height)
- Get the plus error on a bin.
- Specified by:
plusError
in interface BinError
- Parameters:
entries
- The entries in the bin.height
- The height of the bin.
- Returns:
- The plus error.
jHepWork 3.0 ©