hep.aida.tfloat
Interface FloatIHistogram
-
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- FloatIHistogram1D, FloatIHistogram2D, FloatIHistogram3D
- All Known Implementing Classes:
- FloatHistogram1D, FloatHistogram2D, FloatHistogram3D
public interface FloatIHistogram extends java.io.SerializableA common base interface for IHistogram1D, IHistogram2D and IHistogram3D.
-
-
Field Summary
Fields Modifier and Type Field and Description static intOVERFLOWConstant specifying the overflow bin (can be passed to any method expecting a bin number).static longserialVersionUIDstatic intUNDERFLOWConstant specifying the underflow bin (can be passed to any method expecting a bin number).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intallEntries()Number of all entries in all (both in-range and under/overflow) bins in the histogram.intdimensions()Returns 1 for one-dimensional histograms, 2 for two-dimensional histograms, and so on.intentries()Number of in-range entries in the histogram.floatequivalentBinEntries()Number of equivalent entries.intextraEntries()Number of under and overflow entries in the histogram.voidreset()Reset contents; as if just constructed.floatsumAllBinHeights()Sum of all (both in-range and under/overflow) bin heights in the histogram.floatsumBinHeights()Sum of in-range bin heights in the histogram.floatsumExtraBinHeights()Sum of under/overflow bin heights in the histogram.java.lang.Stringtitle()Title of the histogram (will be set only in the constructor).
-
-
-
Field Detail
-
OVERFLOW
static final int OVERFLOW
Constant specifying the overflow bin (can be passed to any method expecting a bin number).- See Also:
- Constant Field Values
-
UNDERFLOW
static final int UNDERFLOW
Constant specifying the underflow bin (can be passed to any method expecting a bin number).- See Also:
- Constant Field Values
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
allEntries
int allEntries()
Number of all entries in all (both in-range and under/overflow) bins in the histogram.
-
dimensions
int dimensions()
Returns 1 for one-dimensional histograms, 2 for two-dimensional histograms, and so on.
-
entries
int entries()
Number of in-range entries in the histogram.
-
equivalentBinEntries
float equivalentBinEntries()
Number of equivalent entries.- Returns:
- SUM[ weight ] ^ 2 / SUM[ weight^2 ].
-
extraEntries
int extraEntries()
Number of under and overflow entries in the histogram.
-
reset
void reset()
Reset contents; as if just constructed.
-
sumAllBinHeights
float sumAllBinHeights()
Sum of all (both in-range and under/overflow) bin heights in the histogram.
-
sumBinHeights
float sumBinHeights()
Sum of in-range bin heights in the histogram.
-
sumExtraBinHeights
float sumExtraBinHeights()
Sum of under/overflow bin heights in the histogram.
-
title
java.lang.String title()
Title of the histogram (will be set only in the constructor).
-
-
DMelt 3.0 © DataMelt by jWork.ORG