|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
User level interface to a Cloud. A Cloud is an unbinned collection of points. It can be used to represent scatter plots or dynamically rebinnable histograms. If they number of entries in the cloud exceeds some threshold they may be automatically converted to a binned histogram.
Method Summary | |
void |
convertToHistogram()
Convert the ICloud to an IHistogram using the default number of bins. |
boolean |
isConverted()
Check if the ICloud has been converted to an IHistogram. |
void |
scale(double scaleFactor)
Scale the weights by a given factor. |
double |
sumOfWeights()
Get the sum of weights of all the entries. |
Methods inherited from interface hep.aida.IBaseHistogram |
annotation, dimension, entries, reset, setTitle, title |
Method Detail |
public double sumOfWeights()
public void convertToHistogram() throws AlreadyConvertedException
AlreadyConvertedException
- If the ICloud has already been converted.public boolean isConverted()
true
if it has been converted.public void scale(double scaleFactor) throws IllegalArgumentException
scaleFactor
- The scale factor.
IllegalArgumentException
- If a non-positive scale factor is provided.
|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |