hep.aida.ref.histogram
Class Cloud
- java.lang.Object
-
- hep.aida.ref.event.AIDAObservable
-
- hep.aida.ref.ManagedObject
-
- hep.aida.ref.histogram.AbstractBaseHistogram
-
- hep.aida.ref.histogram.Cloud
-
- All Implemented Interfaces:
- IDevManagedObject, IBaseHistogram, ICloud, IManagedObject, Connectable, IsObservable, java.io.Serializable
public abstract class Cloud extends AbstractBaseHistogram implements ICloud, java.io.Serializable, IsObservable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static intCLOUD_ARRAY_ENTRIES
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract voidconvertToHistogram()Convert the ICloud to an IHistogram using the default number of bins.java.lang.StringgetOptions()Get the options with which the Cloud was created.voidinitCloud(int maxEntries, java.lang.String options)abstract booleanisConverted()Check if the ICloud has been converted to an IHistogram.intmaxEntries()Get the maximum number of entries after which the Cloud will convert to an Histogram.intnanEntries()Number of entries whose coordinate or weight is NaN.voidreset()Reset the histogram; as if just created.abstract voidscale(double scaleFactor)Scale the weights by a given factor.abstract doublesumOfWeights()Get the sum of weights of of all the entries-
Methods inherited from class hep.aida.ref.histogram.AbstractBaseHistogram
annotation, dimension, entries, 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, 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
-
CLOUD_ARRAY_ENTRIES
public static final int CLOUD_ARRAY_ENTRIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
reset
public void reset()
Reset the histogram; as if just created.- Specified by:
resetin interfaceIBaseHistogram- Overrides:
resetin classAbstractBaseHistogram
-
sumOfWeights
public abstract double sumOfWeights()
Get the sum of weights of of all the entries- Specified by:
sumOfWeightsin interfaceICloud- Returns:
- The sum of the weights of all the entries.
-
convertToHistogram
public abstract void convertToHistogram()
Convert the ICloud to an IHistogram using the default number of bins.- Specified by:
convertToHistogramin interfaceICloud
-
isConverted
public abstract boolean isConverted()
Check if the ICloud has been converted to an IHistogram.- Specified by:
isConvertedin interfaceICloud- Returns:
trueif it has been converted.
-
scale
public abstract void scale(double scaleFactor)
Scale the weights by a given factor.
-
maxEntries
public int maxEntries()
Get the maximum number of entries after which the Cloud will convert to an Histogram.- Specified by:
maxEntriesin interfaceICloud- Returns:
- The maximum number of entries.
-
getOptions
public java.lang.String getOptions()
Get the options with which the Cloud was created.- Returns:
- The String of options.
-
initCloud
public void initCloud(int maxEntries, java.lang.String options)
-
nanEntries
public int nanEntries()
Description copied from class:AbstractBaseHistogramNumber of entries whose coordinate or weight is NaN. Such entries are counted as allEntries but don't contribute to the statistics.- Specified by:
nanEntriesin interfaceIBaseHistogram- Specified by:
nanEntriesin classAbstractBaseHistogram- Returns:
- The number of entries whose value or weight is NaN.
-
-
DMelt 3.0 © DataMelt by jWork.ORG