#include <AIDA_Cloud2D.h>
Inheritance diagram for Anaphe::AIDA_Histogram_native::AIDA_Cloud2D:
The Additional annotation items defined on top of those from the AIDA_BaseHistogram class are:
"MeanX", "RmsX", "MeanY", "RmsY"
Definition at line 27 of file AIDA_Cloud2D.h.
Public Methods | |
AIDA_Cloud2D (const std::string &title) | |
Constructor. | |
AIDA_Cloud2D (const AIDA_Cloud2D &h) | |
Copy constructor. | |
AIDA_Cloud2D (const AIDA::ICloud2D &h) | |
Constructor from another AIDA histogram. | |
~AIDA_Cloud2D () | |
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 y, double weight=1.) |
Methods to be implemented from ICloud2D. | |
double | lowerEdgeX () const |
double | lowerEdgeY () const |
double | upperEdgeX () const |
double | upperEdgeY () const |
double | valueX (int index) const |
double | valueY (int index) const |
double | weight (int index) const |
double | meanX () const |
double | meanY () const |
double | rmsX () const |
double | rmsY () const |
bool | convert (int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY) |
bool | convert (const std::vector< double > &binEdgeX, const std::vector< double > &binEdgeY) |
const AIDA::IHistogram2D & | histogram () const |
bool | fillHistogram (AIDA::IHistogram2D &hist) const |
bool | setCacheSize (unsigned int newCacheSize) |
Methods to be implemented from IDevCloud2D. | |
unsigned int | cacheSize () const |
Retrieves the cache size. | |
Static Public Attributes | |
const unsigned int | defaultCacheSize = 1000000 |
The default cache size. | |
const unsigned int | defaultNumberOfBins = 50 |
The default number of bins for the supporting histogram. | |
Protected Methods | |
void | updateAnnotation () const |
Private Methods | |
AIDA_Cloud2D & | operator= (const AIDA_Cloud2D &) |
No asignment operator. | |
Private Attributes | |
unsigned int | m_cacheSize |
The cache size. | |
std::vector< Cloud2DElement > | m_elements |
The vector holding the cloud elements. | |
double | m_sumOfWeights |
The running sum of weights. | |
double | m_sumOfWeightTimesValueX |
The running sum of squared weights. | |
double | m_sumOfWeightTimesValueY |
double | m_sumOfWeightTimesSquaredValueX |
The running sum of the weight times the value. | |
double | m_sumOfWeightTimesSquaredValueY |
double | m_lowEdgeX |
The low edge. | |
double | m_lowEdgeY |
double | m_highEdgeX |
The high edge. | |
double | m_highEdgeY |
AIDA::IHistogram2D * | m_histo |
The supporting histogram. |
|
Definition at line 17 of file AIDA_Cloud2D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), emptyString, m_cacheSize, meanXKey, meanYKey, rmsXKey, rmsYKey, and setCacheSize(). |
|
Definition at line 43 of file AIDA_Cloud2D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), and m_histo. |
|
Definition at line 78 of file AIDA_Cloud2D.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 119 of file AIDA_Cloud2D.cpp. References m_histo. |
|
Definition at line 449 of file AIDA_Cloud2D.cpp. References m_cacheSize. |
|
Definition at line 375 of file AIDA_Cloud2D.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 359 of file AIDA_Cloud2D.cpp. References lowerEdgeX(), lowerEdgeY(), 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(), upperEdgeX(), and upperEdgeY(). |
|
Definition at line 182 of file AIDA_Cloud2D.cpp. References defaultNumberOfBins, m_elements, m_highEdgeX, m_highEdgeY, m_histo, m_lowEdgeX, m_lowEdgeY, 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 158 of file AIDA_Cloud2D.cpp. References m_elements, and m_histo. Referenced by fillHistogram(). |
|
Definition at line 229 of file AIDA_Cloud2D.cpp. References convertToHistogram(), m_cacheSize, m_elements, m_highEdgeX, m_highEdgeY, m_histo, m_lowEdgeX, m_lowEdgeY, m_sumOfWeights, m_sumOfWeightTimesSquaredValueX, m_sumOfWeightTimesSquaredValueY, m_sumOfWeightTimesValueX, m_sumOfWeightTimesValueY, and weight(). Referenced by AIDA_Cloud2D(). |
|
Definition at line 388 of file AIDA_Cloud2D.cpp. References entries(), m_elements, and m_histo. |
|
Definition at line 432 of file AIDA_Cloud2D.cpp. References m_histo. |
|
Definition at line 204 of file AIDA_Cloud2D.cpp. References m_histo. |
|
Definition at line 256 of file AIDA_Cloud2D.cpp. References m_histo, and m_lowEdgeX. Referenced by convert(). |
|
Definition at line 264 of file AIDA_Cloud2D.cpp. References m_histo, and m_lowEdgeY. Referenced by convert(). |
|
Definition at line 315 of file AIDA_Cloud2D.cpp. References m_histo, m_sumOfWeights, and m_sumOfWeightTimesValueX. Referenced by updateAnnotation(). |
|
Definition at line 326 of file AIDA_Cloud2D.cpp. References m_histo, m_sumOfWeights, and m_sumOfWeightTimesValueY. Referenced by updateAnnotation(). |
|
|
|
Definition at line 140 of file AIDA_Cloud2D.cpp. References m_cacheSize, m_elements, m_highEdgeX, m_highEdgeY, m_histo, m_lowEdgeX, m_lowEdgeY, m_sumOfWeights, m_sumOfWeightTimesSquaredValueX, m_sumOfWeightTimesSquaredValueY, m_sumOfWeightTimesValueX, m_sumOfWeightTimesValueY, and setCacheSize(). |
|
Definition at line 337 of file AIDA_Cloud2D.cpp. References m_histo, m_sumOfWeights, m_sumOfWeightTimesSquaredValueX, and m_sumOfWeightTimesValueX. Referenced by updateAnnotation(). |
|
Definition at line 348 of file AIDA_Cloud2D.cpp. References m_histo, m_sumOfWeights, m_sumOfWeightTimesSquaredValueY, and m_sumOfWeightTimesValueY. Referenced by updateAnnotation(). |
|
Definition at line 211 of file AIDA_Cloud2D.cpp. References m_elements, m_histo, m_sumOfWeights, m_sumOfWeightTimesSquaredValueX, m_sumOfWeightTimesSquaredValueY, m_sumOfWeightTimesValueX, and m_sumOfWeightTimesValueY. |
|
Definition at line 440 of file AIDA_Cloud2D.cpp. References m_cacheSize, and m_elements. Referenced by AIDA_Cloud2D(), and reset(). |
|
Definition at line 170 of file AIDA_Cloud2D.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 126 of file AIDA_Cloud2D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), meanX(), meanXKey, meanY(), meanYKey, rmsX(), rmsXKey, rmsY(), rmsYKey, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::updateAnnotation(). |
|
Definition at line 272 of file AIDA_Cloud2D.cpp. References m_highEdgeX, and m_histo. Referenced by convert(). |
|
Definition at line 280 of file AIDA_Cloud2D.cpp. References m_highEdgeY, and m_histo. Referenced by convert(). |
|
Definition at line 288 of file AIDA_Cloud2D.cpp. References m_elements, and m_histo. |
|
Definition at line 297 of file AIDA_Cloud2D.cpp. References m_elements, and m_histo. |
|
Definition at line 306 of file AIDA_Cloud2D.cpp. References m_elements, and m_histo. Referenced by fill(). |
|
Definition at line 32 of file AIDA_Cloud2D.h. |
|
Definition at line 34 of file AIDA_Cloud2D.h. Referenced by convertToHistogram(). |
|
Definition at line 99 of file AIDA_Cloud2D.h. Referenced by AIDA_Cloud2D(), cacheSize(), fill(), reset(), and setCacheSize(). |
|
Definition at line 101 of file AIDA_Cloud2D.h. Referenced by convert(), convertToHistogram(), entries(), fill(), fillHistogram(), reset(), scale(), setCacheSize(), valueX(), valueY(), and weight(). |
|
Definition at line 114 of file AIDA_Cloud2D.h. Referenced by convertToHistogram(), fill(), reset(), and upperEdgeX(). |
|
Definition at line 115 of file AIDA_Cloud2D.h. Referenced by convertToHistogram(), fill(), reset(), and upperEdgeY(). |
|
Definition at line 117 of file AIDA_Cloud2D.h. Referenced by AIDA_Cloud2D(), convert(), convertToHistogram(), entries(), fill(), fillHistogram(), histogram(), isConverted(), lowerEdgeX(), lowerEdgeY(), meanX(), meanY(), reset(), rmsX(), rmsY(), scale(), sumOfWeights(), upperEdgeX(), upperEdgeY(), valueX(), valueY(), weight(), and ~AIDA_Cloud2D(). |
|
Definition at line 111 of file AIDA_Cloud2D.h. Referenced by convertToHistogram(), fill(), lowerEdgeX(), and reset(). |
|
Definition at line 112 of file AIDA_Cloud2D.h. Referenced by convertToHistogram(), fill(), lowerEdgeY(), and reset(). |
|
Definition at line 103 of file AIDA_Cloud2D.h. Referenced by fill(), meanX(), meanY(), reset(), rmsX(), rmsY(), scale(), and sumOfWeights(). |
|
Definition at line 108 of file AIDA_Cloud2D.h. |
|
Definition at line 109 of file AIDA_Cloud2D.h. |
|
Definition at line 105 of file AIDA_Cloud2D.h. Referenced by fill(), meanX(), reset(), rmsX(), and scale(). |
|
Definition at line 106 of file AIDA_Cloud2D.h. Referenced by fill(), meanY(), reset(), rmsY(), and scale(). |