Class AbstractHistogram1D
java.lang.Object
hep.aida.ref.Histogram
hep.aida.ref.AbstractHistogram1D
- All Implemented Interfaces:
IHistogram, IHistogram1D, Serializable
- Direct Known Subclasses:
Histogram1D
Abstract base class extracting and implementing most of the redundancy of the interface.
- Version:
- 1.0, 23/03/2000
-
Field Summary
FieldsFields inherited from interface IHistogram
OVERFLOW, serialVersionUID, UNDERFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintNumber of all entries in all (both in-range and under/overflow) bins in the histogram.intReturns 1 for one-dimensional histograms, 2 for two-dimensional histograms, and so on.intentries()Number of in-range entries in the histogram.intNumber of under and overflow entries in the histogram.(package private) intmap(int index) Package private method to map from the external representation of bin number to our internal representation of bin numberint[]Indexes of the in-range bins containing the smallest and largest binHeight(), respectively.doubleSum of all (both in-range and under/overflow) bin heights in the histogram.doubleSum of in-range bin heights in the histogram.doubleSum of under/overflow bin heights in the histogram.xAxis()Returns the X Axis.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IHistogram
equivalentBinEntries, reset, titleMethods inherited from interface IHistogram1D
binEntries, binError, binHeight, fill, fill, mean, rms
-
Field Details
-
xAxis
-
-
Constructor Details
-
AbstractHistogram1D
AbstractHistogram1D(String title)
-
-
Method Details
-
allEntries
public int allEntries()Description copied from interface:IHistogramNumber of all entries in all (both in-range and under/overflow) bins in the histogram.- Specified by:
allEntriesin interfaceIHistogram
-
dimensions
public int dimensions()Description copied from interface:IHistogramReturns 1 for one-dimensional histograms, 2 for two-dimensional histograms, and so on.- Specified by:
dimensionsin interfaceIHistogram
-
entries
public int entries()Description copied from interface:IHistogramNumber of in-range entries in the histogram.- Specified by:
entriesin interfaceIHistogram
-
extraEntries
public int extraEntries()Description copied from interface:IHistogramNumber of under and overflow entries in the histogram.- Specified by:
extraEntriesin interfaceIHistogram
-
map
int map(int index) Package private method to map from the external representation of bin number to our internal representation of bin number -
minMaxBins
public int[] minMaxBins()Description copied from interface:IHistogram1DIndexes of the in-range bins containing the smallest and largest binHeight(), respectively.- Specified by:
minMaxBinsin interfaceIHistogram1D- Returns:
- {minBin,maxBin}.
-
sumAllBinHeights
public double sumAllBinHeights()Description copied from interface:IHistogramSum of all (both in-range and under/overflow) bin heights in the histogram.- Specified by:
sumAllBinHeightsin interfaceIHistogram
-
sumBinHeights
public double sumBinHeights()Description copied from interface:IHistogramSum of in-range bin heights in the histogram.- Specified by:
sumBinHeightsin interfaceIHistogram
-
sumExtraBinHeights
public double sumExtraBinHeights()Description copied from interface:IHistogramSum of under/overflow bin heights in the histogram.- Specified by:
sumExtraBinHeightsin interfaceIHistogram
-
xAxis
Description copied from interface:IHistogram1DReturns the X Axis.- Specified by:
xAxisin interfaceIHistogram1D
-