CMS 3D CMS Logo

Public Member Functions | Private Attributes

ExtendedPerigeeTrajectoryError Class Reference

#include <ExtendedPerigeeTrajectoryError.h>

List of all members.

Public Member Functions

const AlgebraicSymMatrix66covarianceMatrix () const
 ExtendedPerigeeTrajectoryError ()
 ExtendedPerigeeTrajectoryError (const AlgebraicSymMatrix66 &covariance)
bool isValid () const
bool weightIsAvailable () const
const AlgebraicSymMatrix66weightMatrix (int &error) const

Private Attributes

AlgebraicSymMatrix66 cov
bool vl
AlgebraicSymMatrix66 weight
bool weightAvailable

Detailed Description

Definition at line 7 of file ExtendedPerigeeTrajectoryError.h.


Constructor & Destructor Documentation

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)
 {}

Member Function Documentation

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;
 }

Member Data Documentation

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().

Definition at line 46 of file ExtendedPerigeeTrajectoryError.h.

Referenced by weightMatrix().

Definition at line 47 of file ExtendedPerigeeTrajectoryError.h.

Referenced by weightIsAvailable(), and weightMatrix().