CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ExtendedPerigeeTrajectoryError Class Reference

#include <ExtendedPerigeeTrajectoryError.h>

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
ExtendedPerigeeTrajectoryError::ExtendedPerigeeTrajectoryError ( const AlgebraicSymMatrix66 covariance)
inline

Member Function Documentation

const AlgebraicSymMatrix66& ExtendedPerigeeTrajectoryError::covarianceMatrix ( void  ) const
inline
bool ExtendedPerigeeTrajectoryError::isValid ( void  ) const
inline
bool ExtendedPerigeeTrajectoryError::weightIsAvailable ( ) const
inline

Definition at line 20 of file ExtendedPerigeeTrajectoryError.h.

References weightAvailable.

Referenced by weightMatrix().

const AlgebraicSymMatrix66& ExtendedPerigeeTrajectoryError::weightMatrix ( int &  error) const
inline

Definition at line 24 of file ExtendedPerigeeTrajectoryError.h.

References cov, LogDebug, weight, weightAvailable, and weightIsAvailable().

Referenced by ParticleKinematicLinearizedTrackState::predictedStateMomentumError(), and ParticleKinematicLinearizedTrackState::predictedStateWeight().

24  {
25  error = 0;
26  if (!weightIsAvailable()) {
27  weight = cov.Inverse(error);
28  if (error != 0)
29  LogDebug("RecoVertex/ExtendedPerigeeTrajectoryError") << "unable to invert covariance matrix\n";
30  weightAvailable = true;
31  }
32  return weight;
33  }
#define LogDebug(id)
Definition: weight.py:1

Member Data Documentation

AlgebraicSymMatrix66 ExtendedPerigeeTrajectoryError::cov
private

Definition at line 36 of file ExtendedPerigeeTrajectoryError.h.

Referenced by covarianceMatrix(), and weightMatrix().

bool ExtendedPerigeeTrajectoryError::vl
mutableprivate

Definition at line 39 of file ExtendedPerigeeTrajectoryError.h.

Referenced by isValid().

AlgebraicSymMatrix66 ExtendedPerigeeTrajectoryError::weight
mutableprivate
bool ExtendedPerigeeTrajectoryError::weightAvailable
mutableprivate

Definition at line 38 of file ExtendedPerigeeTrajectoryError.h.

Referenced by weightIsAvailable(), and weightMatrix().