hep.aida
Interface IBaseHistogram
-
- All Known Subinterfaces:
- ICloud, ICloud1D, ICloud2D, ICloud3D, IHistogram, IHistogram1D, IHistogram2D, IHistogram3D, IProfile, IProfile1D, IProfile2D
- All Known Implementing Classes:
- AbstractBaseHistogram, Cloud, Cloud1D, Cloud2D, Cloud3D, H3D, Histogram, Histogram1D, Histogram2D, Histogram3D, Profile, Profile1D, Profile2D
public interface IBaseHistogramUser level interface to Histogram. Provides the common functionality of the histogram-like classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IAnnotationannotation()Get the IAnnotation associated with the Histogram.intdimension()Get the Histogram's dimension.intentries()Get the number of in-range entries in the Histogram.intnanEntries()Number of entries whose coordinate or weight is NaN.voidreset()Reset the Histogram; as if just created.voidsetTitle(java.lang.String title)Set the histogram title.java.lang.Stringtitle()Get the Histogram's title.
-
-
-
Method Detail
-
title
java.lang.String title()
Get the Histogram's title.- Returns:
- The Histogram's title.
-
setTitle
void setTitle(java.lang.String title) throws java.lang.IllegalArgumentExceptionSet the histogram title.- Parameters:
title- The title.- Throws:
java.lang.IllegalArgumentException- If title cannot be changed.
-
annotation
IAnnotation annotation()
Get the IAnnotation associated with the Histogram.- Returns:
- The IAnnotation.
-
dimension
int dimension()
Get the Histogram's dimension.- Returns:
- The Histogram's dimension.
-
reset
void reset() throws java.lang.RuntimeExceptionReset the Histogram; as if just created.- Throws:
java.lang.RuntimeException- If something goes wrong.
-
entries
int entries()
Get the number of in-range entries in the Histogram.- Returns:
- The number of in-range entries.
-
nanEntries
int nanEntries()
Number of entries whose coordinate or weight is NaN. Such entries are counted as allEntries but don't contribute to the statistics.- Returns:
- The number of entries whose value or weight is NaN.
-
-
DMelt 3.0 © DataMelt by jWork.ORG