#include <AIDA_Histogram1D.h>
Inheritance diagram for Anaphe::AIDA_Histogram_native::AIDA_Histogram1D:
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_Histogram1D.h.
Public Methods | |
AIDA_Histogram1D (const std::string &title, int numberOfBins, double lowEdge, double highEdge) | |
Constructor for fixed-sized bin histogram. | |
AIDA_Histogram1D (const std::string &title, const std::vector< double > &edges) | |
Constructor for variable-sized bin histogram. | |
AIDA_Histogram1D (const AIDA_Histogram1D &h) | |
Copy constructor. | |
AIDA_Histogram1D (const AIDA::IHistogram1D &h) | |
Constructor from another AIDA histogram. | |
~AIDA_Histogram1D () | |
Destructor. | |
bool | reset () |
int | entries () const |
int | allEntries () const |
Methods to be implemented from IHistogram. | |
int | extraEntries () const |
double | equivalentBinEntries () const |
double | sumBinHeights () const |
double | sumAllBinHeights () const |
double | sumExtraBinHeights () const |
double | minBinHeight () const |
double | maxBinHeight () const |
bool | scale (double scaleFactor) |
bool | fill (double x, double weight=1.) |
Methods to be implemented from IHistogram1D. | |
double | binMean (int index) const |
int | binEntries (int index) const |
double | binHeight (int index) const |
double | binError (int index) const |
double | mean () const |
double | rms () const |
const AIDA::IAxis & | axis () const |
int | coordToIndex (double coord) const |
bool | add (const AIDA::IHistogram1D &h) |
bool | setBinContents (int binIndex, int entries, double height, double error, double centre) |
Methods to be implemented from IDevHistogram1D. | |
bool | setRms (double rms) |
Protected Methods | |
void | updateAnnotation () const |
Private Methods | |
bool | calculateStatistics () const |
Private methods. | |
bool | increment (const AIDA_Histogram1D &h) |
AIDA_Histogram1D & | operator= (const AIDA_Histogram1D &) |
No asignment operator. | |
Private Attributes | |
AIDA::IAxis * | m_axis |
std::vector< GravityBin1D * > | m_bins |
bool | m_validStatistics |
double | m_mean |
double | m_rms |
int | m_entries |
int | m_extraEntries |
double | m_ebe |
double | m_sumBinHeights |
double | m_sumExtraBinHeights |
double | m_minHeight |
double | m_maxHeight |
double | m_sumWeightTimesSquaredX |
|
Definition at line 19 of file AIDA_Histogram1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), emptyString, extra_entriesKey, m_bins, m_sumWeightTimesSquaredX, meanKey, numberOfExtraBins, overflowKey, rmsKey, and underflowKey. |
|
Definition at line 41 of file AIDA_Histogram1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), emptyString, extra_entriesKey, m_bins, m_sumWeightTimesSquaredX, meanKey, numberOfExtraBins, overflowKey, rmsKey, and underflowKey. |
|
Definition at line 61 of file AIDA_Histogram1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), m_axis, m_bins, m_sumWeightTimesSquaredX, and setRms(). |
|
Definition at line 103 of file AIDA_Histogram1D.cpp. References Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotation(), Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::annotationNoUpdate(), m_axis, m_bins, m_sumWeightTimesSquaredX, numberOfExtraBins, and setRms(). |
|
Definition at line 166 of file AIDA_Histogram1D.cpp. |
|
Definition at line 419 of file AIDA_Histogram1D.cpp. |
|
Definition at line 195 of file AIDA_Histogram1D.cpp. References entries(), and extraEntries(). |
|
Definition at line 405 of file AIDA_Histogram1D.cpp. References m_axis. |
|
Definition at line 308 of file AIDA_Histogram1D.cpp. References m_bins, and numberOfExtraBins. |
|
Definition at line 326 of file AIDA_Histogram1D.cpp. References m_bins, and numberOfExtraBins. |
|
Definition at line 317 of file AIDA_Histogram1D.cpp. References m_bins, and numberOfExtraBins. Referenced by calculateStatistics(). |
|
Definition at line 295 of file AIDA_Histogram1D.cpp. References Anaphe::AIDA_Histogram_native::GravityBin1D::centreOfGravityX(), Anaphe::AIDA_Histogram_native::GravityBin1D::entries(), m_axis, m_bins, and numberOfExtraBins. Referenced by calculateStatistics(). |
|
Definition at line 351 of file AIDA_Histogram1D.cpp. References binHeight(), binMean(), Anaphe::AIDA_Histogram_native::GravityBin1D::centreOfGravityX(), Anaphe::AIDA_Histogram_native::GravityBin1D::entries(), Anaphe::AIDA_Histogram_native::GravityBin1D::errorSquared(), Anaphe::AIDA_Histogram_native::GravityBin1D::height(), m_bins, m_ebe, m_entries, m_extraEntries, m_maxHeight, m_mean, m_minHeight, m_rms, m_sumBinHeights, m_sumExtraBinHeights, m_sumWeightTimesSquaredX, m_validStatistics, and numberOfExtraBins. Referenced by entries(), equivalentBinEntries(), extraEntries(), maxBinHeight(), mean(), minBinHeight(), rms(), sumBinHeights(), and sumExtraBinHeights(). |
|
Definition at line 412 of file AIDA_Histogram1D.cpp. References m_axis. |
|
Definition at line 187 of file AIDA_Histogram1D.cpp. References calculateStatistics(), and m_entries. Referenced by allEntries(), and setBinContents(). |
|
Definition at line 225 of file AIDA_Histogram1D.cpp. References calculateStatistics(), and m_ebe. |
|
Definition at line 202 of file AIDA_Histogram1D.cpp. References calculateStatistics(), and m_extraEntries. Referenced by allEntries(), and updateAnnotation(). |
|
Definition at line 283 of file AIDA_Histogram1D.cpp. References m_axis, m_bins, m_sumWeightTimesSquaredX, m_validStatistics, numberOfExtraBins, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). |
|
Definition at line 448 of file AIDA_Histogram1D.cpp. References m_bins, m_sumWeightTimesSquaredX, m_validStatistics, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). Referenced by add(). |
|
Definition at line 264 of file AIDA_Histogram1D.cpp. References calculateStatistics(), and m_maxHeight. |
|
Definition at line 335 of file AIDA_Histogram1D.cpp. References calculateStatistics(), and m_mean. Referenced by setRms(), and updateAnnotation(). |
|
Definition at line 256 of file AIDA_Histogram1D.cpp. References calculateStatistics(), and m_minHeight. |
|
|
|
Definition at line 176 of file AIDA_Histogram1D.cpp. References m_bins, m_sumWeightTimesSquaredX, m_validStatistics, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). |
|
Definition at line 343 of file AIDA_Histogram1D.cpp. References calculateStatistics(), and m_rms. Referenced by setRms(), and updateAnnotation(). |
|
Definition at line 272 of file AIDA_Histogram1D.cpp. References m_bins, m_sumWeightTimesSquaredX, m_validStatistics, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). |
|
Definition at line 461 of file AIDA_Histogram1D.cpp. References entries(), m_bins, m_validStatistics, numberOfExtraBins, and Anaphe::AIDA_Histogram_native::AIDA_BaseHistogram::setUpToDate(). |
|
Definition at line 476 of file AIDA_Histogram1D.cpp. References m_sumWeightTimesSquaredX, m_validStatistics, mean(), rms(), and sumBinHeights(). Referenced by AIDA_Histogram1D(). |
|
Definition at line 249 of file AIDA_Histogram1D.cpp. References sumBinHeights(), and sumExtraBinHeights(). |
|
Definition at line 233 of file AIDA_Histogram1D.cpp. References calculateStatistics(), and m_sumBinHeights. Referenced by setRms(), and sumAllBinHeights(). |
|
Definition at line 241 of file AIDA_Histogram1D.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 210 of file AIDA_Histogram1D.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 89 of file AIDA_Histogram1D.h. Referenced by add(), AIDA_Histogram1D(), axis(), binMean(), coordToIndex(), fill(), and ~AIDA_Histogram1D(). |
|
Definition at line 90 of file AIDA_Histogram1D.h. Referenced by AIDA_Histogram1D(), binEntries(), binError(), binHeight(), binMean(), calculateStatistics(), fill(), increment(), reset(), scale(), setBinContents(), updateAnnotation(), and ~AIDA_Histogram1D(). |
|
Definition at line 98 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and equivalentBinEntries(). |
|
Definition at line 96 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and entries(). |
|
Definition at line 97 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and extraEntries(). |
|
Definition at line 102 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and maxBinHeight(). |
|
Definition at line 94 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and mean(). |
|
Definition at line 101 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and minBinHeight(). |
|
Definition at line 95 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and rms(). |
|
Definition at line 99 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and sumBinHeights(). |
|
Definition at line 100 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), and sumExtraBinHeights(). |
|
Definition at line 103 of file AIDA_Histogram1D.h. Referenced by AIDA_Histogram1D(), calculateStatistics(), fill(), increment(), reset(), scale(), and setRms(). |
|
Definition at line 91 of file AIDA_Histogram1D.h. Referenced by calculateStatistics(), fill(), increment(), reset(), scale(), setBinContents(), and setRms(). |