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.


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

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

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.


jHepWork 3.0 ©