#include <AIDA_Profile1D.h>
Inheritance diagram for Anaphe::AIDA_Histogram_native::AIDA_Profile1D:
The Additional annotation items defined on top of those from the AIDA_BaseHistogram class are:
"Mean", "Rms", "Extra Entries", "Overflow", "Underflow"
Definition at line 23 of file AIDA_Profile1D.h.
Public Methods | |
AIDA_Profile1D (const std::string &title, int numberOfBins, double lowEdge, double highEdge) | |
Constructor for fixed-sized bin profile histogram. | |
AIDA_Profile1D (const std::string &title, const std::vector< double > &edges) | |
Constructor for variable-sized bin profile histogram. | |
AIDA_Profile1D (const AIDA_Profile1D &h) | |
Copy constructor. | |
AIDA_Profile1D (const AIDA::IProfile1D &h) | |
Constructor from another AIDA profile histogram. | |
virtual | ~AIDA_Profile1D () |
Destructor. | |
virtual bool | reset () |
int | entries () const |
int | allEntries () const |
Methods to be implemented from IProfile. | |
virtual int | extraEntries () const |
double | sumBinHeights () const |
double | sumAllBinHeights () const |
double | sumExtraBinHeights () const |
double | minBinHeight () const |
double | maxBinHeight () const |
virtual bool | fill (double x, double y, double weight=1.) |
Methods to be implemented from IProfile1D. | |
double | binMean (int index) const |
int | binEntries (int index) const |
double | binHeight (int index) const |
double | binError (int index) const |
double | binRms (int index) const |
double | mean () const |
double | rms () const |
const AIDA::IAxis & | axis () const |
int | coordToIndex (double coord) const |
virtual bool | add (const AIDA::IProfile1D &h) |
bool | setBinContents (int binIndex, int entries, double height, double error, double spread, double centre) |
Methods to be implemented from IDevProfile1D. | |
Protected Methods | |
void | updateAnnotation () const |
Private Methods | |
bool | calculateStatistics () const |
Private methods. | |
bool | increment (const AIDA_Profile1D &h) |
AIDA_Profile1D & | operator= (const AIDA_Profile1D &) |
No asignment operator. | |
Private Attributes | |
AIDA::IAxis * | m_axis |
std::vector< ProfileBin1D * > | m_bins |
bool | m_validStatistics |
double | m_mean |
double | m_rms |
int | m_entries |
int | m_extraEntries |
double | m_sumBinHeights |
double | m_sumExtraBinHeights |
double | m_minHeight |
double | m_maxHeight |
|
Definition at line 19 of file AIDA_Profile1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), emptyString, extra_entriesKey, m_bins, meanKey, numberOfExtraBins, overflowKey, rmsKey, and underflowKey. |
|
Definition at line 40 of file AIDA_Profile1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), emptyString, extra_entriesKey, m_bins, meanKey, numberOfExtraBins, overflowKey, rmsKey, and underflowKey. |
|
Definition at line 59 of file AIDA_Profile1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), m_axis, and m_bins. |
|
Definition at line 99 of file AIDA_Profile1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), m_axis, m_bins, and numberOfExtraBins. |
|
Definition at line 164 of file AIDA_Profile1D.cpp. |
|
Reimplemented in Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D. Definition at line 398 of file AIDA_Profile1D.cpp. References increment(), and m_axis. Referenced by Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D::add(). |
|
Definition at line 192 of file AIDA_Profile1D.cpp. References entries(), and extraEntries(). |
|
Definition at line 384 of file AIDA_Profile1D.cpp. References m_axis. |
|
Definition at line 285 of file AIDA_Profile1D.cpp. References m_bins, and numberOfExtraBins. |
|
Definition at line 303 of file AIDA_Profile1D.cpp. References m_bins, and numberOfExtraBins. |
|
Definition at line 294 of file AIDA_Profile1D.cpp. References m_bins, and numberOfExtraBins. Referenced by calculateStatistics(). |
|
Definition at line 272 of file AIDA_Profile1D.cpp. References Anaphe::AIDA_Histogram_native::ProfileBin1D::centreOfGravityX(), Anaphe::AIDA_Histogram_native::ProfileBin1D::entries(), m_axis, m_bins, and numberOfExtraBins. Referenced by calculateStatistics(). |
|
Definition at line 312 of file AIDA_Profile1D.cpp. References m_bins, and numberOfExtraBins. |
|
Definition at line 337 of file AIDA_Profile1D.cpp. References binHeight(), binMean(), Anaphe::AIDA_Histogram_native::ProfileBin1D::centreOfGravityX(), Anaphe::AIDA_Histogram_native::ProfileBin1D::entries(), m_bins, m_entries, m_extraEntries, m_maxHeight, m_mean, m_minHeight, m_rms, m_sumBinHeights, m_sumExtraBinHeights, m_validStatistics, numberOfExtraBins, and Anaphe::AIDA_Histogram_native::ProfileBin1D::value(). Referenced by entries(), extraEntries(), maxBinHeight(), mean(), minBinHeight(), rms(), sumBinHeights(), and sumExtraBinHeights(). |
|
Definition at line 391 of file AIDA_Profile1D.cpp. References m_axis. |
|
Definition at line 184 of file AIDA_Profile1D.cpp. References calculateStatistics(), and m_entries. Referenced by allEntries(), and setBinContents(). |
|
Reimplemented in Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D. Definition at line 199 of file AIDA_Profile1D.cpp. References calculateStatistics(), and m_extraEntries. Referenced by allEntries(), Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D::extraEntries(), and updateAnnotation(). |
|
Reimplemented in Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D. Definition at line 261 of file AIDA_Profile1D.cpp. References m_axis, m_bins, m_validStatistics, numberOfExtraBins, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). Referenced by Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D::fill(). |
|
Definition at line 427 of file AIDA_Profile1D.cpp. References m_bins, m_validStatistics, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). Referenced by add(). |
|
Definition at line 253 of file AIDA_Profile1D.cpp. References calculateStatistics(), and m_maxHeight. |
|
Definition at line 321 of file AIDA_Profile1D.cpp. References calculateStatistics(), and m_mean. Referenced by updateAnnotation(). |
|
Definition at line 245 of file AIDA_Profile1D.cpp. References calculateStatistics(), and m_minHeight. |
|
|
|
Reimplemented in Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D. Definition at line 174 of file AIDA_Profile1D.cpp. References m_bins, m_validStatistics, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). Referenced by Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D::reset(). |
|
Definition at line 329 of file AIDA_Profile1D.cpp. References calculateStatistics(), and m_rms. Referenced by updateAnnotation(). |
|
Definition at line 439 of file AIDA_Profile1D.cpp. References entries(), m_bins, m_validStatistics, numberOfExtraBins, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). |
|
Definition at line 238 of file AIDA_Profile1D.cpp. References sumBinHeights(), and sumExtraBinHeights(). |
|
Definition at line 222 of file AIDA_Profile1D.cpp. References calculateStatistics(), and m_sumBinHeights. Referenced by sumAllBinHeights(). |
|
Definition at line 230 of file AIDA_Profile1D.cpp. References calculateStatistics(), and m_sumExtraBinHeights. Referenced by sumAllBinHeights(). |
|
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 207 of file AIDA_Profile1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), extra_entriesKey, extraEntries(), m_bins, mean(), meanKey, numberOfExtraBins, overflowKey, rms(), rmsKey, underflowKey, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::updateAnnotation(). |
|
Definition at line 88 of file AIDA_Profile1D.h. Referenced by add(), AIDA_Profile1D(), axis(), binMean(), coordToIndex(), fill(), and ~AIDA_Profile1D(). |
|
Definition at line 89 of file AIDA_Profile1D.h. Referenced by AIDA_Profile1D(), binEntries(), binError(), binHeight(), binMean(), binRms(), calculateStatistics(), fill(), increment(), reset(), setBinContents(), updateAnnotation(), and ~AIDA_Profile1D(). |
|
Definition at line 95 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), and entries(). |
|
Reimplemented in Anaphe::AIDA_Histogram_native::AIDA_BoundedProfile1D. Definition at line 96 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), and extraEntries(). |
|
Definition at line 100 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), and maxBinHeight(). |
|
Definition at line 93 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), and mean(). |
|
Definition at line 99 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), and minBinHeight(). |
|
Definition at line 94 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), and rms(). |
|
Definition at line 97 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), and sumBinHeights(). |
|
Definition at line 98 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), and sumExtraBinHeights(). |
|
Definition at line 90 of file AIDA_Profile1D.h. Referenced by calculateStatistics(), fill(), increment(), reset(), and setBinContents(). |