|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.aida.ref.dataSet.binner.PoissonBinError
This class calculates the error on the bin assuming a Poisson distribution. The error is calculated using the approximation ~ 1 + sqrt( h + 0.75 ) where h is the height of the bin.
Constructor Summary | |
PoissonBinError()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PoissonBinError()
Method Detail |
public double minusError(int entries, double height)
minusError
in interface BinError
entries
- The entries in the bin.height
- The height of the bin.
public double plusError(int entries, double height)
plusError
in interface BinError
entries
- The entries in the bin.height
- The height of the bin.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |