![]() |
Reference Documentation |
#include <AIDAHist1DVar.h>
Public Methods | |
AIDAHist1DVar (const char *name, const AIDA_STD::vector< float > &binEdges, const IAnnotation *=0, const IHistogramFactory *f=0) | |
AIDAHist1DVar (const CHBookHisto *, const IHistogramFactory *=0) | |
virtual | ~AIDAHist1DVar (void) |
virtual AIDA_STD::string | title (void) const |
virtual void | setTitle (const AIDA_STD::string &value) |
IAnnotation * | annotation (void) |
Annotation of the histogram. | |
virtual int | dimensions (void) const |
Number of dimensions (1 for 1D histogram, 2 for 2D histogram, etc.). | |
virtual void | reset (void) |
Reset contents. | |
virtual int | entries (void) const |
Number of in-range entries in the whole histogram. | |
virtual int | allEntries (void) const |
virtual int | extraEntries (void) const |
Number of extra entries in the whole histogram. | |
virtual double | equivalentBinEntries (void) const |
virtual double | sumBinHeights (void) const |
Sum of in-range bin heights in the whole histogram. | |
virtual double | sumAllBinHeights (void) const |
Sum of all (both in-range and extra) bin heights in the whole histogram. | |
virtual double | sumExtraBinHeights (void) const |
Sum of extra bin heights in the whole histogram. | |
virtual void | fill (double x, double weight=1) |
Fill histogram. | |
virtual int | binEntries (int index) const |
Number of entries in a specific in-range bin (number of fills). | |
virtual double | binHeight (int index) const |
Height of a specific in-range bin (height respects weights of entries). | |
virtual double | binError (int index) const |
Bin contents error. | |
virtual double | mean (void) const |
virtual double | rms (void) const |
virtual double | minBinHeight (void) const |
Min height of in-range bins in the whole histogram. | |
virtual int | minBin (void) const |
Index of the in-range bin containing the minBinHeight(). | |
virtual double | maxBinHeight (void) const |
Max height of in-range bins in the whole histogram. | |
virtual int | maxBin (void) const |
Index of the in-range bin containing the maxBinHeight(). | |
virtual IAxis * | xAxis (void) const |
Get the X axis. | |
virtual int | coordToIndex (double coord) const |
Equivalent to xAxis().coordToIndex( coord );. | |
virtual AIDA_STD::ostream & | print (AIDA_STD::ostream &s) const |
Print (ASCII) the histogram into the output stream. | |
virtual AIDA_STD::ostream & | write (AIDA_STD::ostream &s) const |
Write (ASCII) the histogram table into the output stream. | |
virtual int | write (const char *file_name) const |
Write (ASCII) the histogram table into a file. | |
const CHBookHisto * | representation (void) const |
access to internal histogram (not in Abstract Interface !) | |
Private Methods | |
virtual int | checkIndex (int index) const |
virtual int | getIntFromString (const AIDA_STD::string &) const |
virtual AIDA_STD::string | getStringFromInt (const int &) const |
void | crisisMessage (const AIDA_STD::string &featureName) const |
Private Attributes | |
AIDAAxis * | axis |
IAnnotation * | ann |
IHistogramFactory * | factory |
CHBookHisto * | histo |
bool | ownsHist |
|
Definition at line 42 of file AIDAHist1DVar.cpp. References ann, axis, getIntFromString(), getStringFromInt(), and histo. |
|
Definition at line 71 of file AIDAHist1DVar.cpp. References ann, axis, getStringFromInt(), and histo. |
|
Definition at line 97 of file AIDAHist1DVar.cpp. |
|
Number of all entries in all (both in-range and extra) bins in the whole histogram Definition at line 170 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. Referenced by entries(). |
|
Definition at line 134 of file AIDAHist1DVar.cpp. References ann, crisisMessage(), and histo. |
|
Definition at line 234 of file AIDAHist1DVar.cpp. References binHeight(), crisisMessage(), and histo. |
|
Definition at line 257 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 243 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. Referenced by binEntries(), and sumExtraBinHeights(). |
|
Checks validity of the index, assuming bin indices from "0" to "number of bins - 1" Definition at line 384 of file AIDAHist1DVar.cpp. References Anaphe::AIDA_HBook::AIDAAxis::checkIndex(). |
|
Definition at line 332 of file AIDAHist1DVar.cpp. References xAxis(). |
|
Definition at line 424 of file AIDAHist1DVar.cpp. Referenced by allEntries(), annotation(), binEntries(), binError(), binHeight(), dimensions(), entries(), equivalentBinEntries(), extraEntries(), fill(), maxBin(), maxBinHeight(), mean(), minBin(), minBinHeight(), print(), reset(), rms(), setTitle(), sumAllBinHeights(), sumBinHeights(), sumExtraBinHeights(), title(), and write(). |
|
Definition at line 143 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 161 of file AIDAHist1DVar.cpp. References allEntries(), crisisMessage(), extraEntries(), and histo. |
|
Number of equivalent entries SUM[ weight ] ^ 2 / SUM[ weight^2 ] Definition at line 187 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 179 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. Referenced by entries(). |
|
Definition at line 224 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 394 of file AIDAHist1DVar.cpp. Referenced by AIDAHist1DVar(). |
|
Definition at line 414 of file AIDAHist1DVar.cpp. Referenced by AIDAHist1DVar(). |
|
Definition at line 315 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 306 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
mean(void) returns the mean of the whole histogram as calculated on filling-time Definition at line 271 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 297 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 289 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 340 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 370 of file AIDAHist1DVar.cpp. References histo. Referenced by Anaphe::AIDA_HBook::AIDAHistoFactory::store1D(). |
|
Definition at line 152 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
rms() returns the rms of the whole histogram as calculated on filling-time Definition at line 280 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 125 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 205 of file AIDAHist1DVar.cpp. References crisisMessage(), histo, sumBinHeights(), and sumExtraBinHeights(). |
|
Definition at line 196 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. Referenced by sumAllBinHeights(). |
|
Definition at line 214 of file AIDAHist1DVar.cpp. References binHeight(), crisisMessage(), and histo. Referenced by sumAllBinHeights(). |
|
Title of the histogram (temporary functions, as the title will be part od the annotation, and there will be general accessors for any pair stored there) Definition at line 116 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 360 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 350 of file AIDAHist1DVar.cpp. References crisisMessage(), and histo. |
|
Definition at line 324 of file AIDAHist1DVar.cpp. References axis. Referenced by coordToIndex(). |
|
Definition at line 129 of file AIDAHist1DVar.h. Referenced by AIDAHist1DVar(), annotation(), and ~AIDAHist1DVar(). |
|
Definition at line 128 of file AIDAHist1DVar.h. Referenced by AIDAHist1DVar(), xAxis(), and ~AIDAHist1DVar(). |
|
Definition at line 130 of file AIDAHist1DVar.h. |
|
Definition at line 131 of file AIDAHist1DVar.h. Referenced by AIDAHist1DVar(), allEntries(), annotation(), binEntries(), binError(), binHeight(), dimensions(), entries(), equivalentBinEntries(), extraEntries(), fill(), maxBin(), maxBinHeight(), mean(), minBin(), minBinHeight(), print(), representation(), reset(), rms(), setTitle(), sumAllBinHeights(), sumBinHeights(), sumExtraBinHeights(), title(), write(), and ~AIDAHist1DVar(). |
|
Definition at line 132 of file AIDAHist1DVar.h. |
Anaphe documentation generated by Doxygen (www.doxygen.org) |