|
|||||||||
| PREV CLASS NEXT CLASS | All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.dataset.binner.DefaultBinner
hep.aida.ref.dataset.binner.EfficiencyBinner
public class 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 |
|---|
entries, fill, mean, minusError, plusError, reset, resetBin, rms, scale, setBinError |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 BinnersetBinContent in class DefaultBinnerbin - 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 rmss
public void addContentToBin(int[] bin,
int entries,
double height,
double[] mean,
double[] rms)
Binner
addContentToBin in interface BinneraddContentToBin in class DefaultBinnerbin - 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 rmss
public void removeContentFromBin(int[] bin,
int entries,
double height,
double[] mean,
double[] rms)
Binner
removeContentFromBin in interface BinnerremoveContentFromBin in class DefaultBinnerbin - 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 double height(int[] bin)
height in interface Binnerheight in class DefaultBinnerbin - The array specifying the bin.
|
|||||||||
| PREV CLASS NEXT CLASS | All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||