#include <AIDA_Cloud1D.h>
Inheritance diagram for Anaphe::AIDA_Histogram_native::AIDA_Cloud1D:
The Additional annotation items defined on top of those from the AIDA_BaseHistogram class are:
"Mean", "Rms"
Definition at line 27 of file AIDA_Cloud1D.h.
Public Methods | |
AIDA_Cloud1D (const std::string &title) | |
Constructor. | |
AIDA_Cloud1D (const AIDA_Cloud1D &h) | |
Copy constructor. | |
AIDA_Cloud1D (const AIDA::ICloud1D &h) | |
Constructor from another AIDA histogram. | |
~AIDA_Cloud1D () | |
Destructor. | |
bool | reset () |
int | entries () const |
double | sumOfWeights () const |
Methods to be implemented from ICloud. | |
bool | convertToHistogram () |
bool | isConverted () const |
bool | scale (double scaleFactor) |
bool | fill (double x, double weight=1.) |
Methods to be implemented from ICloud1D. | |
double | lowerEdge () const |
double | upperEdge () const |
double | value (int index) const |
double | weight (int index) const |
double | mean () const |
double | rms () const |
bool | convert (int nBins, double lowerEdge, double upperEdge) |
bool | convert (const std::vector< double > &binEdge) |
const AIDA::IHistogram1D & | histogram () const |
bool | fillHistogram (AIDA::IHistogram1D &hist) const |
bool | setCacheSize (unsigned int newCacheSize) |
Methods to be implemented from IDevCloud1D. | |
unsigned int | cacheSize () const |
Retrieves the cache size. | |
Static Public Attributes | |
const unsigned int | defaultCacheSize = 1000000 |
The default cache size. | |
const unsigned int | defaultNumberOfBins = 100 |
The default number of bins for the supporting histogram. | |
Protected Methods | |
void | updateAnnotation () const |
Private Methods | |
AIDA_Cloud1D & | operator= (const AIDA_Cloud1D &) |
No asignment operator. | |
Private Attributes | |
unsigned int | m_cacheSize |
The cache size. | |
std::vector< Cloud1DElement > | m_elements |
The vector holding the cloud elements. | |
double | m_sumOfWeights |
The running sum of weights. | |
double | m_sumOfWeightTimesValue |
The running sum of squared weights. | |
double | m_sumOfWeightTimesSquaredValue |
The running sum of the weight times the value. | |
double | m_lowEdge |
The low edge. | |
double | m_highEdge |
The high edge. | |
AIDA::IHistogram1D * | m_histo |
The supporting histogram. |
|
Definition at line 16 of file AIDA_Cloud1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), emptyString, m_cacheSize, meanKey, rmsKey, and setCacheSize(). |
|
Definition at line 36 of file AIDA_Cloud1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), and m_histo. |
|
Definition at line 67 of file AIDA_Cloud1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), fill(), m_cacheSize, m_histo, and setCacheSize(). |
|
Definition at line 104 of file AIDA_Cloud1D.cpp. References m_histo. |
|
Definition at line 356 of file AIDA_Cloud1D.cpp. References m_cacheSize. |
|
Definition at line 290 of file AIDA_Cloud1D.cpp. References m_elements, m_histo, Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::name(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setName(), and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::title(). |
|
Definition at line 277 of file AIDA_Cloud1D.cpp. References lowerEdge(), m_elements, m_histo, Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::name(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setName(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::title(), and upperEdge(). |
|
Definition at line 161 of file AIDA_Cloud1D.cpp. References defaultNumberOfBins, m_elements, m_highEdge, m_histo, m_lowEdge, Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::name(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setName(), and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::title(). Referenced by fill(). |
|
Definition at line 137 of file AIDA_Cloud1D.cpp. References m_elements, and m_histo. Referenced by fillHistogram(). |
|
Definition at line 202 of file AIDA_Cloud1D.cpp. References convertToHistogram(), m_cacheSize, m_elements, m_highEdge, m_histo, m_lowEdge, m_sumOfWeights, m_sumOfWeightTimesSquaredValue, m_sumOfWeightTimesValue, and weight(). Referenced by AIDA_Cloud1D(). |
|
Definition at line 311 of file AIDA_Cloud1D.cpp. References entries(), m_elements, and m_histo. |
|
Definition at line 303 of file AIDA_Cloud1D.cpp. References m_histo. |
|
Definition at line 179 of file AIDA_Cloud1D.cpp. References m_histo. |
|
Definition at line 222 of file AIDA_Cloud1D.cpp. References m_histo, and m_lowEdge. Referenced by convert(). |
|
Definition at line 255 of file AIDA_Cloud1D.cpp. References m_histo, m_sumOfWeights, and m_sumOfWeightTimesValue. Referenced by updateAnnotation(). |
|
|
|
Definition at line 123 of file AIDA_Cloud1D.cpp. References m_cacheSize, m_elements, m_highEdge, m_histo, m_lowEdge, m_sumOfWeights, m_sumOfWeightTimesSquaredValue, m_sumOfWeightTimesValue, and setCacheSize(). |
|
Definition at line 266 of file AIDA_Cloud1D.cpp. References m_histo, m_sumOfWeights, m_sumOfWeightTimesSquaredValue, and m_sumOfWeightTimesValue. Referenced by updateAnnotation(). |
|
Definition at line 186 of file AIDA_Cloud1D.cpp. References m_elements, m_histo, m_sumOfWeights, m_sumOfWeightTimesSquaredValue, and m_sumOfWeightTimesValue. |
|
Definition at line 347 of file AIDA_Cloud1D.cpp. References m_cacheSize, and m_elements. Referenced by AIDA_Cloud1D(), and reset(). |
|
Definition at line 149 of file AIDA_Cloud1D.cpp. References m_histo, and m_sumOfWeights. |
|
Methods still to be implemented from the AIDA_BaseHistogram inheritence tree : (IBaseHistogram, IDevManagedObject, IManagedObject ) Reimplemented from Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram. Definition at line 111 of file AIDA_Cloud1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), mean(), meanKey, rms(), rmsKey, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::updateAnnotation(). |
|
Definition at line 230 of file AIDA_Cloud1D.cpp. References m_highEdge, and m_histo. Referenced by convert(). |
|
Definition at line 238 of file AIDA_Cloud1D.cpp. References m_elements, and m_histo. |
|
Definition at line 246 of file AIDA_Cloud1D.cpp. References m_elements, and m_histo. Referenced by fill(). |
|
Definition at line 32 of file AIDA_Cloud1D.h. |
|
Definition at line 34 of file AIDA_Cloud1D.h. Referenced by convertToHistogram(). |
|
Definition at line 92 of file AIDA_Cloud1D.h. Referenced by AIDA_Cloud1D(), cacheSize(), fill(), reset(), and setCacheSize(). |
|
Definition at line 94 of file AIDA_Cloud1D.h. Referenced by convert(), convertToHistogram(), entries(), fill(), fillHistogram(), reset(), scale(), setCacheSize(), value(), and weight(). |
|
Definition at line 104 of file AIDA_Cloud1D.h. Referenced by convertToHistogram(), fill(), reset(), and upperEdge(). |
|
Definition at line 106 of file AIDA_Cloud1D.h. Referenced by AIDA_Cloud1D(), convert(), convertToHistogram(), entries(), fill(), fillHistogram(), histogram(), isConverted(), lowerEdge(), mean(), reset(), rms(), scale(), sumOfWeights(), upperEdge(), value(), weight(), and ~AIDA_Cloud1D(). |
|
Definition at line 102 of file AIDA_Cloud1D.h. Referenced by convertToHistogram(), fill(), lowerEdge(), and reset(). |
|
Definition at line 96 of file AIDA_Cloud1D.h. Referenced by fill(), mean(), reset(), rms(), scale(), and sumOfWeights(). |
|
Definition at line 100 of file AIDA_Cloud1D.h. |
|
Definition at line 98 of file AIDA_Cloud1D.h. |