#include <ExtendedPerigeeTrajectoryError.h>
Public Member Functions | |
const AlgebraicSymMatrix66 & | covarianceMatrix () const |
ExtendedPerigeeTrajectoryError () | |
ExtendedPerigeeTrajectoryError (const AlgebraicSymMatrix66 &covariance) | |
bool | isValid () const |
bool | weightIsAvailable () const |
const AlgebraicSymMatrix66 & | weightMatrix (int &error) const |
Private Attributes | |
AlgebraicSymMatrix66 | cov |
bool | vl |
AlgebraicSymMatrix66 | weight |
bool | weightAvailable |
Definition at line 7 of file ExtendedPerigeeTrajectoryError.h.
ExtendedPerigeeTrajectoryError::ExtendedPerigeeTrajectoryError | ( | ) | [inline] |
Definition at line 10 of file ExtendedPerigeeTrajectoryError.h.
: weightAvailable(false),vl(false) {}
ExtendedPerigeeTrajectoryError::ExtendedPerigeeTrajectoryError | ( | const AlgebraicSymMatrix66 & | covariance | ) | [inline] |
Definition at line 13 of file ExtendedPerigeeTrajectoryError.h.
: cov(covariance),weightAvailable(false), vl(true) {}
const AlgebraicSymMatrix66& ExtendedPerigeeTrajectoryError::covarianceMatrix | ( | ) | const [inline] |
Definition at line 29 of file ExtendedPerigeeTrajectoryError.h.
References cov.
Referenced by ParticleKinematicLinearizedTrackState::predictedStateError().
{return cov;}
bool ExtendedPerigeeTrajectoryError::isValid | ( | void | ) | const [inline] |
Access methods
Definition at line 23 of file ExtendedPerigeeTrajectoryError.h.
References vl.
{return vl;}
bool ExtendedPerigeeTrajectoryError::weightIsAvailable | ( | ) | const [inline] |
Definition at line 26 of file ExtendedPerigeeTrajectoryError.h.
References weightAvailable.
Referenced by weightMatrix().
{return weightAvailable;}
const AlgebraicSymMatrix66& ExtendedPerigeeTrajectoryError::weightMatrix | ( | int & | error | ) | const [inline] |
Definition at line 32 of file ExtendedPerigeeTrajectoryError.h.
References cov, LogDebug, weight, weightAvailable, and weightIsAvailable().
Referenced by ParticleKinematicLinearizedTrackState::predictedStateMomentumError(), and ParticleKinematicLinearizedTrackState::predictedStateWeight().
{ error = 0; if(! weightIsAvailable()) { weight = cov.Inverse(error); if(error != 0) LogDebug("RecoVertex/ExtendedPerigeeTrajectoryError") << "unable to invert covariance matrix\n"; weightAvailable = true; } return weight; }
Definition at line 45 of file ExtendedPerigeeTrajectoryError.h.
Referenced by covarianceMatrix(), and weightMatrix().
bool ExtendedPerigeeTrajectoryError::vl [mutable, private] |
Definition at line 48 of file ExtendedPerigeeTrajectoryError.h.
Referenced by isValid().
AlgebraicSymMatrix66 ExtendedPerigeeTrajectoryError::weight [mutable, private] |
Definition at line 46 of file ExtendedPerigeeTrajectoryError.h.
Referenced by weightMatrix().
bool ExtendedPerigeeTrajectoryError::weightAvailable [mutable, private] |
Definition at line 47 of file ExtendedPerigeeTrajectoryError.h.
Referenced by weightIsAvailable(), and weightMatrix().