#include <TrkParams.h>
Inheritance diagram for TrkParams:
Public Member Functions | |
virtual TrkParams * | clone () const |
virtual TrkParams * | clone () const |
const HepSymMatrix & | covariance () const |
HepSymMatrix & | covariance () |
const HepSymMatrix & | covariance () const |
HepSymMatrix & | covariance () |
DifNumber | difPar (int i) const |
DifNumber | difPar (int i) const |
DifArray | difParameters () const |
DifArray | difParameters () const |
int | nPar () const |
int | nPar () const |
TrkParams & | operator= (const TrkParams &) |
TrkParams & | operator= (const TrkParams &) |
const HepVector & | parameter () const |
HepVector & | parameter () |
const HepVector & | parameter () const |
HepVector & | parameter () |
void | print (std::ostream &os=std::cout) const |
void | print (std::ostream &os=std::cout) const |
void | printAll (std::ostream &os) const |
void | printAll (std::ostream &os) const |
TrkParams (const TrkParams &) | |
TrkParams (const HepVector &, const HepSymMatrix &) | |
TrkParams (int nParam) | |
TrkParams (const TrkParams &) | |
TrkParams (const HepVector &, const HepSymMatrix &) | |
TrkParams (int nParam) | |
const HepSymMatrix & | weightMatrix () const |
const HepSymMatrix & | weightMatrix () const |
virtual | ~TrkParams () |
virtual | ~TrkParams () |
Private Attributes | |
bool | _weightInverted |
HepSymMatrix | _weightMatrix |
|
00021 : DifIndepPar(ndim), _weightInverted(false) 00022 //-------------------------------------- 00023 { 00024 }
|
|
00028 : 00029 DifIndepPar(pvec, pcov), _weightInverted(false) 00030 //-------------------------------------- 00031 { 00032 00033 }
|
|
00037 : 00038 DifIndepPar(old), _weightInverted(old._weightInverted), _weightMatrix(old._weightMatrix) 00039 //-------------------------------------- 00040 {}
|
|
00051 {}
|
|
|
|
|
|
|
|
|
|
|
|
00045 { 00046 //-------------------------------------- 00047 return new TrkParams(*this); 00048 }
|
|
Reimplemented from DifIndepPar. 00045 { return DifIndepPar::covariance(); }
|
|
Reimplemented from DifIndepPar. |
|
Reimplemented from DifIndepPar. 00045 { return DifIndepPar::covariance(); }
|
|
Reimplemented from DifIndepPar. 00055 { 00056 _weightInverted=false ; 00057 return DifIndepPar::covariance(); 00058 }
|
|
|
|
|
|
|
|
00044 { 00045 DifArray pars(nPar(),nPar()); 00046 for(int i=1; i<=nPar(); i++){ 00047 pars(i)=difPar(i); 00048 } 00049 return pars; 00050 }
|
|
00055 {return parvec.num_row();}
|
|
00055 {return parvec.num_row();}
|
|
|
|
00057 { 00058 //-------------------------------------- 00059 if (this == &other) return *this; 00060 parameter() = other.parameter(); 00061 covariance() = other.covariance(); 00062 _weightInverted = other._weightInverted ; 00063 _weightMatrix = other._weightMatrix ; 00064 return *this; 00065 }
|
|
00052 { return parvec;}
|
|
00051 { return parvec;}
|
|
00052 { return parvec;}
|
|
00051 { return parvec;}
|
|
|
|
00069 { 00070 //-------------------------------------- 00071 os << "DifIndepPar Parameter Vector = " << parvec; 00072 }
|
|
Reimplemented from DifIndepPar. |
|
Reimplemented from DifIndepPar. 00069 { 00070 //-------------------------------------- 00071 DifIndepPar::printAll(os); 00072 }
|
|
|
|
00075 { 00076 00077 if (!_weightInverted){ 00078 _weightMatrix = covariance(); 00079 int invStatus; 00080 _weightMatrix.invert(invStatus); 00081 _weightInverted = true; 00082 } 00083 return _weightMatrix; 00084 00085 }
|
|
|
|
|