ATLAS Offline Software
|
storage of the time histories of all the cells More...
#include <Averager.h>
Public Member Functions | |
Averager (unsigned int n=0) | |
Constructor More... | |
Averager (unsigned int lwb, unsigned int upb) | |
Averager (const Averager &)=default | |
virtual | ~Averager () |
bool | add (double xMin=-DBL_MAX, double xMax=DBL_MAX) |
bool | fill (const TVectorD &values, double w=1) |
bool | append (const Averager &other) |
double | mean (unsigned int i) const |
double | meanError (unsigned int i) const |
double | rms (unsigned int i) const |
double | covariance (unsigned int i, unsigned j) const |
double | covarianceError (unsigned int i, unsigned j) const |
TVectorD | means () const |
TVectorD | meanErrors () const |
CovMatrix | meanErrorMatrix () const |
CovMatrix | covarianceMatrix () const |
CovMatrix | covarianceMatrixErrors () const |
unsigned int | nVariables () const |
int | lwb () const |
int | upb () const |
unsigned int | nEntries () const |
double | totalWeight () const |
const TVectorD & | sum1 () const |
const TVectorD & | sum2 () const |
const TMatrixD & | sum11Matrix () const |
const TMatrixD & | sum21Matrix () const |
const TMatrixD & | sum22Matrix () const |
Averager & | operator= (const Averager &other) |
bool | isInRange (int i) const |
bool | hasSameRange (int lw, int up) const |
bool | hasSameRange (const IndexRange &other) const |
bool | hasSameRange (const TVectorD &v) const |
bool | providesRange (int lw, int up) const |
bool | providesRange (const IndexRange &other) const |
bool | providesRange (const TVectorD &v) const |
TString | rangeStr () const |
int | commonLwb (const IndexRange &other) const |
int | commonUpb (const IndexRange &other) const |
bool | checkRange (int &l, int &h) const |
Static Public Member Functions | |
static double | safeSqrt (double x) |
Private Member Functions | |
bool | prepare () |
Private Attributes | |
unsigned int | m_n |
double | m_wTot |
int | m_lwb |
std::vector< double > | m_xMin |
std::vector< double > | m_xMax |
TVectorD | m_sum1 |
TVectorD | m_sum2 |
TMatrixD | m_sum11Matrix |
TMatrixD | m_sum21Matrix |
TMatrixD | m_sum22Matrix |
storage of the time histories of all the cells
Definition at line 22 of file Averager.h.
Averager::Averager | ( | unsigned int | n = 0 | ) |
Averager::Averager | ( | unsigned int | lwb, |
unsigned int | upb | ||
) |
|
inlinevirtual |
Definition at line 32 of file Averager.h.
bool Averager::add | ( | double | xMin = -DBL_MAX , |
double | xMax = DBL_MAX |
||
) |
Definition at line 46 of file Averager.cxx.
Definition at line 94 of file Averager.cxx.
|
inherited |
Definition at line 14 of file IndexRange.cxx.
|
inlineinherited |
|
inlineinherited |
double Averager::covariance | ( | unsigned int | i, |
unsigned | j | ||
) | const |
Definition at line 221 of file Averager.cxx.
double Averager::covarianceError | ( | unsigned int | i, |
unsigned | j | ||
) | const |
Definition at line 231 of file Averager.cxx.
CovMatrix Averager::covarianceMatrix | ( | ) | const |
Definition at line 153 of file Averager.cxx.
CovMatrix Averager::covarianceMatrixErrors | ( | ) | const |
Definition at line 167 of file Averager.cxx.
bool Averager::fill | ( | const TVectorD & | values, |
double | w = 1 |
||
) |
Definition at line 69 of file Averager.cxx.
|
inlineinherited |
Definition at line 30 of file IndexRange.h.
|
inlineinherited |
Definition at line 31 of file IndexRange.h.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
double Averager::mean | ( | unsigned int | i | ) | const |
double Averager::meanError | ( | unsigned int | i | ) | const |
Definition at line 201 of file Averager.cxx.
CovMatrix Averager::meanErrorMatrix | ( | ) | const |
Definition at line 138 of file Averager.cxx.
TVectorD Averager::meanErrors | ( | ) | const |
Definition at line 124 of file Averager.cxx.
TVectorD Averager::means | ( | ) | const |
|
inline |
Definition at line 57 of file Averager.h.
|
inline |
Definition at line 53 of file Averager.h.
Definition at line 29 of file Averager.cxx.
|
private |
Definition at line 58 of file Averager.cxx.
|
inlineinherited |
Definition at line 34 of file IndexRange.h.
|
inlineinherited |
Definition at line 35 of file IndexRange.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 37 of file IndexRange.h.
double Averager::rms | ( | unsigned int | i | ) | const |
Definition at line 211 of file Averager.cxx.
|
static |
Definition at line 241 of file Averager.cxx.
|
inline |
Definition at line 60 of file Averager.h.
|
inline |
Definition at line 62 of file Averager.h.
|
inline |
Definition at line 61 of file Averager.h.
|
inline |
Definition at line 63 of file Averager.h.
|
inline |
Definition at line 64 of file Averager.h.
|
inline |
Definition at line 58 of file Averager.h.
|
inlinevirtual |
|
private |
Definition at line 75 of file Averager.h.
|
private |
Definition at line 73 of file Averager.h.
|
private |
Definition at line 78 of file Averager.h.
|
private |
Definition at line 79 of file Averager.h.
|
private |
Definition at line 78 of file Averager.h.
|
private |
Definition at line 79 of file Averager.h.
|
private |
Definition at line 79 of file Averager.h.
|
private |
Definition at line 74 of file Averager.h.
|
private |
Definition at line 77 of file Averager.h.
|
private |
Definition at line 77 of file Averager.h.