|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.event.AIDAObservable
hep.aida.ref.ManagedObject
hep.aida.ref.histogram.AbstractBaseHistogram
public abstract class AbstractBaseHistogram
| Constructor Summary | |
|---|---|
AbstractBaseHistogram()
|
|
AbstractBaseHistogram(String name,
String title,
int dimension)
Creates a new instance of BaseHistogram. |
|
AbstractBaseHistogram(String name,
String title,
int dimension,
String options)
|
|
| Method Summary | |
|---|---|
IAnnotation |
annotation()
Get the IAnnotation associated with the histogram. |
int |
dimension()
Get the dimension of the histogram. |
abstract int |
entries()
Number of in-range entries in the histogram. |
int |
mapBinNumber(int index,
IAxis axis)
Utility method to map the bin number from the external representation (from -2 to nBins-1 where -2 is the overflow and -1 is the underflow) to the internal one (from 0 to nBins+1 where 0 is the underflow and nBins+1 if the overflow bin) |
abstract int |
nanEntries()
Number of entries whose coordinate or weight is NaN. |
void |
reset()
Reset the histogram; as if just created. |
void |
setAnnotation(IAnnotation annotation)
|
void |
setTitle(String title)
Set the histogram title. |
String |
title()
Get the histogram title. |
| Methods inherited from class hep.aida.ref.ManagedObject |
|---|
isFillable, name, setFillable, setName, type, typeForClass |
| Methods inherited from class hep.aida.ref.event.AIDAObservable |
|---|
addListener, isConnected, removeAllListeners, removeListener, setConnected, setValid, setValidForAll |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hep.aida.ref.event.Connectable |
|---|
isConnected, setConnected |
| Constructor Detail |
|---|
public AbstractBaseHistogram(String name,
String title,
int dimension)
name - The name of the BaseHistogram. See ManagedObject for details.title - The title of the BaseHistogram.dimension - The dimension of the BaseHistogram.public AbstractBaseHistogram()
public AbstractBaseHistogram(String name,
String title,
int dimension,
String options)
| Method Detail |
|---|
public int mapBinNumber(int index,
IAxis axis)
index - The bin number in the external representation.axis - The axis to which the bin belongs to.
public String title()
title in interface IBaseHistogrampublic void setTitle(String title)
setTitle in interface IBaseHistogramtitle - The title.public IAnnotation annotation()
annotation in interface IBaseHistogrampublic void setAnnotation(IAnnotation annotation)
public int dimension()
dimension in interface IBaseHistogrampublic void reset()
reset in interface IBaseHistogrampublic abstract int entries()
entries in interface IBaseHistogrampublic abstract int nanEntries()
nanEntries in interface IBaseHistogram
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||