FreeHEP API
Version v1.2.2

hep.aida.ref.dataSet.binner
Class EfficiencyBinError

java.lang.Object
  |
  +--hep.aida.ref.dataSet.binner.EfficiencyBinError
All Implemented Interfaces:
BinError

public class EfficiencyBinError
extends Object
implements BinError

Calculates the bin error for efficiency-type histograms

Author:
The FreeHEP team at SLAC.

Constructor Summary
EfficiencyBinError()
           
 
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

EfficiencyBinError

public EfficiencyBinError()
Method Detail

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.

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.