|
FreeHEP API Version current |
|||||||||
| 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
| Field Summary | |
protected int |
allEntries
|
protected boolean |
isFillable
|
protected double |
sumOfWeights
|
protected double |
sumOfWeightsSquared
|
protected int |
validEntries
|
protected static int |
X_AXIS
|
protected static int |
Y_AXIS
|
protected static int |
Z_AXIS
|
| Fields inherited from class hep.aida.ref.ManagedObject |
fillable |
| Fields inherited from class hep.aida.ref.event.AIDAObservable |
connectionDidChange, isConnected, isValid |
| Constructor Summary | |
protected |
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. the number of times the method fill was called. |
protected EventObject |
createEvent()
|
int |
entries()
Get the entries that are within the range of the Histogram; i.e. all the entries (the number of times the fill method was called) minus the entries in the overflow or underflow bins. |
double |
equivalentBinEntries()
Get the number of equivalent entries; i.e. |
abstract int |
extraEntries()
Get the number of entries in the underflow and overflow bins. |
protected int |
mapBinNumber(int index,
hep.aida.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 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. |
protected String |
options()
|
void |
reset()
Reset the Histogram. |
abstract void |
scale(double scaleFactor)
Scale the weights and the errors by a given factor. |
void |
setNEntries(int entries)
|
protected void |
setUseOutflows(boolean useOutflows)
|
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. |
protected boolean |
useOutflows()
|
| Methods inherited from class hep.aida.ref.histogram.AbstractBaseHistogram |
annotation, dimension, setAnnotation, setTitle, title |
| Methods inherited from class hep.aida.ref.ManagedObject |
isFillable, name, setFillable, setName, type |
| Methods inherited from class hep.aida.ref.event.AIDAObservable |
addListener, fireStateChanged, fireStateChanged, fireStateChanged, isConnected, removeAllListeners, removeListener, setConnected, setIsValidAfterNotify, setValid, setValidForAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, 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 |
| Field Detail |
protected static final int X_AXIS
protected static final int Y_AXIS
protected static final int Z_AXIS
protected int allEntries
protected int validEntries
protected double sumOfWeights
protected double sumOfWeightsSquared
protected boolean isFillable
| Constructor Detail |
protected 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.| Method Detail |
protected EventObject createEvent()
createEvent in class AIDAObservablepublic void reset()
reset in interface hep.aida.IBaseHistogramreset in class AbstractBaseHistogrampublic int entries()
entries in interface hep.aida.IBaseHistogramentries in class AbstractBaseHistogrampublic int allEntries()
allEntries in interface hep.aida.IHistogrampublic abstract int extraEntries()
extraEntries in interface hep.aida.IHistogrampublic double equivalentBinEntries()
equivalentBinEntries in interface hep.aida.IHistogrampublic double sumBinHeights()
sumBinHeights in interface hep.aida.IHistogrampublic abstract double sumAllBinHeights()
sumAllBinHeights in interface hep.aida.IHistogrampublic abstract double sumExtraBinHeights()
sumExtraBinHeights in interface hep.aida.IHistogrampublic abstract double minBinHeight()
minBinHeight in interface hep.aida.IHistogrampublic abstract double maxBinHeight()
maxBinHeight in interface hep.aida.IHistogrampublic abstract void scale(double scaleFactor)
scale in interface hep.aida.IHistogramscaleFactor - The scale factor.
protected int mapBinNumber(int index,
hep.aida.IAxis axis)
index - The bin number in the external representation.axis - The axis to which the bin belongs to.
public void setNEntries(int entries)
public void setValidEntries(int entries)
protected String options()
protected boolean useOutflows()
protected void setUseOutflows(boolean useOutflows)
public int nanEntries()
AbstractBaseHistogram
nanEntries in interface hep.aida.IBaseHistogramnanEntries in class AbstractBaseHistogram
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||