|
|||||||||
| 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
hep.aida.ref.histogram.Histogram
public abstract class Histogram
| Constructor Summary | |
|---|---|
Histogram()
|
|
Histogram(String name,
String title,
int dimension,
String options)
Create a new Histogram. |
|
| Method Summary | |
|---|---|
int |
allEntries()
Get all the entries in the Histogram, i.e. |
int |
entries()
Get the entries that are within the range of the Histogram; i.e. |
double |
equivalentBinEntries()
Get the number of equivalent entries; i.e. |
abstract int |
extraEntries()
Get the number of entries in the underflow and overflow bins. |
boolean |
isMeanAndRmsSet()
|
abstract double |
maxBinHeight()
Get the maximum height of in-range bins in the Histogram. |
abstract double |
minBinHeight()
Get the minimum height of in-range bins in the Histogram. |
int |
nanEntries()
Number of entries whose coordinate or weight is NaN. |
void |
reset()
Reset the Histogram. |
abstract void |
scale(double scaleFactor)
Scale the weights and the errors by a given factor. |
void |
setNEntries(int entries)
Developer area. |
void |
setValidEntries(int entries)
|
abstract double |
sumAllBinHeights()
Get the sum of the bin heights for all the entries, in-range and out-range ones. |
double |
sumBinHeights()
Get the sum of the bin heights for in-range entries. |
abstract double |
sumExtraBinHeights()
Get the sum of the bin heights for all the entries outside the Histogram's range. |
| Methods inherited from class hep.aida.ref.histogram.AbstractBaseHistogram |
|---|
annotation, dimension, mapBinNumber, setAnnotation, setTitle, 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.IBaseHistogram |
|---|
annotation, dimension, setTitle, title |
| Methods inherited from interface hep.aida.ref.event.IsObservable |
|---|
addListener, removeAllListeners, removeListener, setValid |
| Methods inherited from interface hep.aida.ref.event.Connectable |
|---|
isConnected, setConnected |
| Constructor Detail |
|---|
public Histogram(String name,
String title,
int dimension,
String options)
name - The name of the Histogram as a ManagedObject.title - The title of the Histogram.dimension - The dimension of the Histogram.public Histogram()
| Method Detail |
|---|
public void reset()
reset in interface IBaseHistogramreset in class AbstractBaseHistogrampublic int entries()
entries in interface IBaseHistogramentries in class AbstractBaseHistogrampublic int allEntries()
allEntries in interface IHistogrampublic abstract int extraEntries()
extraEntries in interface IHistogrampublic double equivalentBinEntries()
equivalentBinEntries in interface IHistogrampublic double sumBinHeights()
sumBinHeights in interface IHistogrampublic abstract double sumAllBinHeights()
sumAllBinHeights in interface IHistogrampublic abstract double sumExtraBinHeights()
sumExtraBinHeights in interface IHistogrampublic abstract double minBinHeight()
minBinHeight in interface IHistogrampublic abstract double maxBinHeight()
maxBinHeight in interface IHistogrampublic abstract void scale(double scaleFactor)
scale in interface IHistogramscaleFactor - The scale factor.public void setNEntries(int entries)
public void setValidEntries(int entries)
public int nanEntries()
AbstractBaseHistogram
nanEntries in interface IBaseHistogramnanEntries in class AbstractBaseHistogrampublic boolean isMeanAndRmsSet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||