#include <RecoVertex/KinematicFitPrimitives/interface/ExtendedPerigeeTrajectoryError.h>
Public Member Functions | |
const AlgebraicSymMatrix66 & | covarianceMatrix () const |
ExtendedPerigeeTrajectoryError (const AlgebraicSymMatrix66 &covariance) | |
ExtendedPerigeeTrajectoryError () | |
bool | isValid () const |
Access methods. | |
bool | weightIsAvailable () const |
const AlgebraicSymMatrix66 & | weightMatrix () const |
Private Attributes | |
AlgebraicSymMatrix66 | cov |
bool | vl |
AlgebraicSymMatrix66 | weight |
bool | weightAvailable |
Definition at line 6 of file ExtendedPerigeeTrajectoryError.h.
ExtendedPerigeeTrajectoryError::ExtendedPerigeeTrajectoryError | ( | ) | [inline] |
Definition at line 9 of file ExtendedPerigeeTrajectoryError.h.
00009 : weightAvailable(false),vl(false) 00010 {}
ExtendedPerigeeTrajectoryError::ExtendedPerigeeTrajectoryError | ( | const AlgebraicSymMatrix66 & | covariance | ) | [inline] |
Definition at line 12 of file ExtendedPerigeeTrajectoryError.h.
00012 : 00013 cov(covariance),weightAvailable(false), 00014 vl(true) 00015 {}
const AlgebraicSymMatrix66& ExtendedPerigeeTrajectoryError::covarianceMatrix | ( | ) | const [inline] |
Definition at line 28 of file ExtendedPerigeeTrajectoryError.h.
References cov.
Referenced by ParticleKinematicLinearizedTrackState::predictedStateError().
00029 {return cov;}
Access methods.
Definition at line 22 of file ExtendedPerigeeTrajectoryError.h.
References vl.
00023 {return vl;}
bool ExtendedPerigeeTrajectoryError::weightIsAvailable | ( | ) | const [inline] |
Definition at line 25 of file ExtendedPerigeeTrajectoryError.h.
References weightAvailable.
Referenced by weightMatrix().
00026 {return weightAvailable;}
const AlgebraicSymMatrix66& ExtendedPerigeeTrajectoryError::weightMatrix | ( | void | ) | const [inline] |
Definition at line 31 of file ExtendedPerigeeTrajectoryError.h.
References cov, weight, weightAvailable, and weightIsAvailable().
Referenced by ParticleKinematicLinearizedTrackState::predictedStateMomentumError(), and ParticleKinematicLinearizedTrackState::predictedStateWeight().
00032 { 00033 if(! weightIsAvailable()) 00034 { 00035 int ifail; 00036 // cout<<"weight is requested for covariance:"<<cov<<endl; 00037 weight = cov.Inverse(ifail); 00038 if(ifail != 0) throw VertexException("ExtendedPerigeeTrajectoryError::unable to invert covariance matrix"); 00039 weightAvailable = true; 00040 } 00041 00042 // cout<<"and the weight is: "<< weight<<endl; 00043 return weight; 00044 }
Definition at line 47 of file ExtendedPerigeeTrajectoryError.h.
Referenced by covarianceMatrix(), and weightMatrix().
bool ExtendedPerigeeTrajectoryError::vl [mutable, private] |
AlgebraicSymMatrix66 ExtendedPerigeeTrajectoryError::weight [mutable, private] |
bool ExtendedPerigeeTrajectoryError::weightAvailable [mutable, private] |
Definition at line 49 of file ExtendedPerigeeTrajectoryError.h.
Referenced by weightIsAvailable(), and weightMatrix().