|
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.Cloud
| Field Summary | |
protected int |
arraySize
|
static int |
CLOUD_ARRAY_ENTRIES
|
protected int |
maxEntries
|
protected int |
validEntries
|
| Fields inherited from class hep.aida.ref.ManagedObject |
fillable |
| Fields inherited from class hep.aida.ref.event.AIDAObservable |
connectionDidChange, isConnected, isValid |
| Constructor Summary | |
protected |
Cloud(String name,
String title,
int dimension,
int maxEntries,
String options)
Create a Cloud. |
| Method Summary | |
protected boolean |
autoConvert()
Check if the Cloud is set to convert to an Histogram automatically. |
abstract void |
convertToHistogram()
Convert the ICloud to an IHistogram using the default number of bins. |
protected EventObject |
createEvent()
|
String |
getOptions()
Get the options with which the Cloud was created. |
protected abstract hep.aida.IHistogram |
hist()
|
void |
initCloud(int maxEntries,
String options)
|
abstract boolean |
isConverted()
Check if the ICloud has been converted to an IHistogram. |
protected double |
margin()
|
int |
maxEntries()
Get the maximum number of entries after which the Cloud will convert to an Histogram. |
int |
nanEntries()
Number of entries whose coordinate or weight is NaN. |
void |
reset()
Reset the histogram; as if just created. |
abstract void |
scale(double scaleFactor)
Scale the weights by a given factor. |
abstract double |
sumOfWeights()
Get the sum of weights of of all the entries |
| Methods inherited from class hep.aida.ref.histogram.AbstractBaseHistogram |
annotation, dimension, entries, 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, entries, 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 int arraySize
protected int maxEntries
public static final int CLOUD_ARRAY_ENTRIES
protected int validEntries
| Constructor Detail |
protected Cloud(String name,
String title,
int dimension,
int maxEntries,
String options)
name - The name of the Cloud as a ManagedObject.title - The title of the Cloud.dimension - The Cloud's dimension.maxEntries - The maximum number of entries after which the Cloud will convert to a Histogram.
If maxEntries is negative the Cloud will not convert automatically.options - A String containing options (e.g. "autoconvert=false")| Method Detail |
protected EventObject createEvent()
createEvent in class AIDAObservablepublic void reset()
reset in interface hep.aida.IBaseHistogramreset in class AbstractBaseHistogrampublic abstract double sumOfWeights()
sumOfWeights in interface hep.aida.ICloudpublic abstract void convertToHistogram()
convertToHistogram in interface hep.aida.ICloudpublic abstract boolean isConverted()
isConverted in interface hep.aida.ICloudtrue if it has been converted.public abstract void scale(double scaleFactor)
scale in interface hep.aida.ICloudscaleFactor - The scale factor.protected boolean autoConvert()
true if it will convert automatically, false otherwise.public int maxEntries()
maxEntries in interface hep.aida.ICloudpublic String getOptions()
public void initCloud(int maxEntries,
String options)
protected double margin()
protected abstract hep.aida.IHistogram hist()
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 | |||||||||