#include <ProfileBin2D.h>
Inheritance diagram for Anaphe::AIDA_Histogram_native::ProfileBin2D:
Public Methods | |
ProfileBin2D () | |
Constructor. | |
~ProfileBin2D () | |
Destructor. | |
bool | fill (double weight, double coordX, double coordY, double coordZ) |
bool | reset () |
Reset method. | |
bool | scale (double factor) |
Scale method. | |
bool | increment (const ProfileBin2D &otherBin) |
Increment methods. | |
bool | increment (int extraEntries, double extraHeight, double extraError, double extraSpread, double extraCentreX, double extraCentreY) |
bool | set (int entriesNew, double heightNew, double errorNew, double spreadNew, double centreXNew, double centreYNew) |
Set method. | |
double | centreOfGravityY () const |
Returns the gravity point along Y. | |
Private Attributes | |
double | m_sumOfWeightTimesCoordinate |
|
Definition at line 3 of file ProfileBin2D.cpp. |
|
Definition at line 18 of file ProfileBin2D.h. |
|
Definition at line 61 of file ProfileBin2D.cpp. References m_sumOfWeightTimesCoordinate, and Anaphe::AIDA_Histogram_native::ProfileBin1D::sumOfWeights(). Referenced by Anaphe::AIDA_Histogram_native::AIDA_Profile2D::binMeanY(), and Anaphe::AIDA_Histogram_native::AIDA_Profile2D::calculateStatistics(). |
|
Main fill method. The weight of the entry and the x, y, z coordinates |
|
Definition at line 34 of file ProfileBin2D.cpp. |
|
Definition at line 26 of file ProfileBin2D.cpp. References Anaphe::AIDA_Histogram_native::ProfileBin1D::increment(), and m_sumOfWeightTimesCoordinate. Referenced by increment(). |
|
Reimplemented from Anaphe::AIDA_Histogram_native::ProfileBin1D. Definition at line 10 of file ProfileBin2D.cpp. References m_sumOfWeightTimesCoordinate, and Anaphe::AIDA_Histogram_native::ProfileBin1D::reset(). |
|
Reimplemented from Anaphe::AIDA_Histogram_native::ProfileBin1D. Definition at line 18 of file ProfileBin2D.cpp. References m_sumOfWeightTimesCoordinate, and Anaphe::AIDA_Histogram_native::ProfileBin1D::scale(). |
|
Definition at line 48 of file ProfileBin2D.cpp. References m_sumOfWeightTimesCoordinate, and Anaphe::AIDA_Histogram_native::ProfileBin1D::set(). Referenced by increment(). |
|
Reimplemented from Anaphe::AIDA_Histogram_native::ProfileBin1D. Definition at line 47 of file ProfileBin2D.h. Referenced by centreOfGravityY(), increment(), reset(), scale(), and set(). |