 |
ATLAS Offline Software
|
#include <OFC.h>
|
| | OFC (const AbsShape &shape, const AbsShape &data, int lwb=-1, int upb=-1, const ShapeErrorData *sed=0, bool withAutoCorr=true) |
| | Constructor
More...
|
| |
| | OFC (const AbsShape &shape, const AbsShape &data, const CovMatrix &refErr, int lwb=-1, int upb=-1, const ShapeErrorData *sed=0, bool withAutoCorr=true) |
| |
| bool | initGValues (const AbsShape &shape, const AbsShape &data, const ShapeErrorData *sed) |
| |
| bool | initOFCs (const AbsShape &data, const CovMatrix &refErr, bool useCorrs) |
| |
| bool | initRVectors () |
| |
| | OFC (const OFC &other) |
| |
| virtual | ~OFC () |
| |
| unsigned int | nSamples () const |
| |
| int | lwb () const |
| |
| int | upb () const |
| |
| double | g (unsigned int i) const |
| |
| double | gp (unsigned int i) const |
| |
| const TVectorD & | g () const |
| |
| const TVectorD & | gp () const |
| |
| double | G () const |
| |
| double | Gp () const |
| |
| double | Gpp () const |
| |
| double | a (unsigned int i) const |
| |
| double | b (unsigned int i) const |
| |
| const TVectorD & | a () const |
| |
| const TVectorD & | b () const |
| |
| const TVectorD & | r (unsigned int i) const |
| |
| unsigned int | rIdx (unsigned int i) const |
| |
| const TMatrixD & | resProj () const |
| |
| double | A (const AbsShape &data) const |
| |
| double | B (const AbsShape &data) const |
| |
| double | time (const AbsShape &data) const |
| |
| const CovMatrix & | invGamma () const |
| |
| const CovMatrix & | Gamma () const |
| |
| double | dot (const TVectorD &form, const TVectorD &v) const |
| |
| TVectorD | residual (const TVectorD &v) const |
| |
| 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 |
| |
Definition at line 27 of file OFC.h.
◆ OFC() [1/3]
Constructor
Definition at line 21 of file OFC.cxx.
◆ OFC() [2/3]
◆ OFC() [3/3]
| LArSamples::OFC::OFC |
( |
const OFC & |
other | ) |
|
|
inline |
Definition at line 41 of file OFC.h.
◆ ~OFC()
◆ a() [1/2]
| const TVectorD& LArSamples::OFC::a |
( |
| ) |
const |
|
inline |
Definition at line 67 of file OFC.h.
◆ A()
◆ a() [2/2]
| double LArSamples::OFC::a |
( |
unsigned int |
i | ) |
const |
|
inline |
Definition at line 64 of file OFC.h.
◆ b() [1/2]
| const TVectorD& LArSamples::OFC::b |
( |
| ) |
const |
|
inline |
Definition at line 68 of file OFC.h.
◆ B()
◆ b() [2/2]
| double LArSamples::OFC::b |
( |
unsigned int |
i | ) |
const |
|
inline |
Definition at line 65 of file OFC.h.
◆ checkRange()
| bool IndexRange::checkRange |
( |
int & |
l, |
|
|
int & |
h |
|
) |
| const |
|
inherited |
Definition at line 14 of file IndexRange.cxx.
19 cout <<
"IndexRange::checkRange : lower bound " <<
l <<
" is out of bounds" << endl;
26 cout <<
"IndexRange::checkRange : upper bound " <<
h <<
" is out of bounds" << endl;
◆ commonLwb()
◆ commonUpb()
◆ dot()
| double OFC::dot |
( |
const TVectorD & |
form, |
|
|
const TVectorD & |
v |
|
) |
| const |
◆ g() [1/2]
| const TVectorD& LArSamples::OFC::g |
( |
| ) |
const |
|
inline |
Definition at line 57 of file OFC.h.
◆ G()
| double LArSamples::OFC::G |
( |
| ) |
const |
|
inline |
Definition at line 60 of file OFC.h.
◆ g() [2/2]
| double LArSamples::OFC::g |
( |
unsigned int |
i | ) |
const |
|
inline |
Definition at line 54 of file OFC.h.
◆ Gamma()
Definition at line 80 of file OFC.h.
◆ gp() [1/2]
| const TVectorD& LArSamples::OFC::gp |
( |
| ) |
const |
|
inline |
Definition at line 58 of file OFC.h.
◆ Gp()
| double LArSamples::OFC::Gp |
( |
| ) |
const |
|
inline |
Definition at line 61 of file OFC.h.
◆ gp() [2/2]
| double LArSamples::OFC::gp |
( |
unsigned int |
i | ) |
const |
|
inline |
Definition at line 55 of file OFC.h.
◆ Gpp()
| double LArSamples::OFC::Gpp |
( |
| ) |
const |
|
inline |
Definition at line 62 of file OFC.h.
◆ hasSameRange() [1/3]
| bool LArSamples::IndexRange::hasSameRange |
( |
const IndexRange & |
other | ) |
const |
|
inlineinherited |
◆ hasSameRange() [2/3]
| bool LArSamples::IndexRange::hasSameRange |
( |
const TVectorD & |
v | ) |
const |
|
inlineinherited |
◆ hasSameRange() [3/3]
| bool LArSamples::IndexRange::hasSameRange |
( |
int |
lw, |
|
|
int |
up |
|
) |
| const |
|
inlineinherited |
◆ initGValues()
Definition at line 46 of file OFC.cxx.
50 cout <<
"ERROR in OFC::initGValues : indices were invalid!" << endl;
55 cout <<
"ERROR in OFC::initGValues : (diff) indices were invalid!" << endl;
◆ initOFCs()
Definition at line 71 of file OFC.cxx.
104 for (
int j =
lwb(); j <=
upb(); j++) {
114 for (
int j =
lwb(); j <=
upb(); j++) {
◆ initRVectors()
| bool OFC::initRVectors |
( |
| ) |
|
◆ invGamma()
Definition at line 79 of file OFC.h.
◆ isInRange()
| bool LArSamples::IndexRange::isInRange |
( |
int |
i | ) |
const |
|
inlineinherited |
◆ lwb()
| int LArSamples::OFC::lwb |
( |
| ) |
const |
|
inlinevirtual |
◆ nSamples()
| unsigned int LArSamples::OFC::nSamples |
( |
| ) |
const |
|
inline |
Definition at line 49 of file OFC.h.
49 {
return m_g.GetNoElements(); }
◆ providesRange() [1/3]
| bool LArSamples::IndexRange::providesRange |
( |
const IndexRange & |
other | ) |
const |
|
inlineinherited |
◆ providesRange() [2/3]
| bool LArSamples::IndexRange::providesRange |
( |
const TVectorD & |
v | ) |
const |
|
inlineinherited |
◆ providesRange() [3/3]
| bool LArSamples::IndexRange::providesRange |
( |
int |
lw, |
|
|
int |
up |
|
) |
| const |
|
inlineinherited |
◆ r()
| const TVectorD& LArSamples::OFC::r |
( |
unsigned int |
i | ) |
const |
|
inline |
Definition at line 70 of file OFC.h.
◆ rangeStr()
| TString LArSamples::IndexRange::rangeStr |
( |
| ) |
const |
|
inlineinherited |
◆ residual()
| TVectorD OFC::residual |
( |
const TVectorD & |
v | ) |
const |
◆ resProj()
| const TMatrixD& LArSamples::OFC::resProj |
( |
| ) |
const |
|
inline |
Definition at line 73 of file OFC.h.
◆ rIdx()
| unsigned int LArSamples::OFC::rIdx |
( |
unsigned int |
i | ) |
const |
|
inline |
Definition at line 71 of file OFC.h.
◆ time()
Definition at line 77 of file OFC.h.
◆ upb()
| int LArSamples::OFC::upb |
( |
| ) |
const |
|
inlinevirtual |
◆ m_a
| TVectorD LArSamples::OFC::m_a |
|
private |
Definition at line 87 of file OFC.h.
◆ m_b
| TVectorD LArSamples::OFC::m_b |
|
private |
Definition at line 87 of file OFC.h.
◆ m_g
| TVectorD LArSamples::OFC::m_g |
|
private |
Definition at line 87 of file OFC.h.
◆ m_G
| double LArSamples::OFC::m_G = 0.0 |
|
private |
Definition at line 88 of file OFC.h.
◆ m_Gamma
Definition at line 89 of file OFC.h.
◆ m_gp
| TVectorD LArSamples::OFC::m_gp |
|
private |
Definition at line 87 of file OFC.h.
◆ m_Gp
| double LArSamples::OFC::m_Gp = 0.0 |
|
private |
Definition at line 88 of file OFC.h.
◆ m_Gpp
| double LArSamples::OFC::m_Gpp = 0.0 |
|
private |
Definition at line 88 of file OFC.h.
◆ m_invGamma
Definition at line 89 of file OFC.h.
◆ m_r
| std::vector<TVectorD> LArSamples::OFC::m_r |
|
private |
Definition at line 91 of file OFC.h.
◆ m_resProj
| TMatrixD LArSamples::OFC::m_resProj |
|
private |
Definition at line 90 of file OFC.h.
◆ m_rIdx
| std::vector<unsigned int> LArSamples::OFC::m_rIdx |
|
private |
Definition at line 92 of file OFC.h.
The documentation for this class was generated from the following files:
bool initGValues(const AbsShape &shape, const AbsShape &data, const ShapeErrorData *sed)
char data[hepevt_bytes_allocation_ATLAS]
TVectorD residual(const TVectorD &v) const
virtual int upb() const =0
TMatrixTSym< double > CovMatrix
const TVectorD & b() const
const TVectorD & a() const
bool hasSameRange(int lw, int up) const
int interpolate(double time, double &value, double &error) const
double A(const AbsShape &data) const
const TVectorD & xip() const
double dot(const TVectorD &form, const TVectorD &v) const
bool isInRange(int i) const
unsigned int nSamples() const
void decrementInstanceCount() const
std::pair< std::vector< unsigned int >, bool > res
const TVectorD & gp() const
const TVectorD & g() const
void incrementInstanceCount() const
virtual int lwb() const =0
std::vector< unsigned int > m_rIdx
bool initOFCs(const AbsShape &data, const CovMatrix &refErr, bool useCorrs)
std::vector< TVectorD > m_r
double B(const AbsShape &data) const
bool providesRange(int lw, int up) const
const TVectorD & xi() const
const ScaledErrorData * sed
int interpolateDiff(double time, double &diff) const