|
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.DefaultBinner hep.aida.ref.dataSet.binner.EfficiencyBinner
This binner is for efficiency-type of data. The bins are re-normalized to be between 0 and 1 by taking the ratio between the bin height and the bin entries.
Constructor Summary | |
EfficiencyBinner(int[] bins,
String options)
Creates a new instance of Binner. |
Method Summary | |
void |
addContentToBin(int[] bin,
int entries,
double height,
double[] mean,
double[] rms)
Add a set of entries to the existing content of the bin. |
double |
height(int[] bin)
Get the height of a bin. |
void |
removeContentFromBin(int[] bin,
int entries,
double height,
double[] mean,
double[] rms)
Remove a set of entries from a bin. |
void |
setBinContent(int[] bin,
int entries,
double height,
double[] mean,
double[] rms)
Set at once the content of a bin. |
Methods inherited from class hep.aida.ref.dataSet.binner.DefaultBinner |
binStatistics, entries, fill, internalBin, mean, minusError, plusError, reset, resetBin, rms, scale, setBinError |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EfficiencyBinner(int[] bins, String options)
bins
- The array containing the number of bins per coordinate.options
- The options.Method Detail |
public void setBinContent(int[] bin, int entries, double height, double[] mean, double[] rms)
setBinContent
in interface Binner
setBinContent
in class DefaultBinner
bin
- The array specifying the bin.entries
- The entries in the bin.height
- The height of the bin.mean
- The array with the coordinate meansrms
- The array with the coordinate rmsspublic void addContentToBin(int[] bin, int entries, double height, double[] mean, double[] rms)
Binner
addContentToBin
in interface Binner
addContentToBin
in class DefaultBinner
public void removeContentFromBin(int[] bin, int entries, double height, double[] mean, double[] rms)
Binner
removeContentFromBin
in interface Binner
removeContentFromBin
in class DefaultBinner
public double height(int[] bin)
height
in interface Binner
height
in class DefaultBinner
bin
- The array specifying the bin.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |