CMS 3D CMS Logo

Public Member Functions | Private Attributes

CartesianTrajectoryError Class Reference

#include <CartesianTrajectoryError.h>

List of all members.

Public Member Functions

 CartesianTrajectoryError ()
 CartesianTrajectoryError (const AlgebraicSymMatrix66 &aCovarianceMatrix)
 CartesianTrajectoryError (const AlgebraicSymMatrix &aCovarianceMatrix)
const AlgebraicSymMatrix66matrix () const
const AlgebraicSymMatrix matrix_old () const
void operator*= (double factor)
GlobalError position () const
 Position error submatrix.

Private Attributes

AlgebraicSymMatrix66 theCovarianceMatrix

Detailed Description

Class containing (6x6) error matrix of a track in the global, Cartesian frame. This error matrix should be used with care and in particular not as an intermediate frame when transforming between different, 5-dimensional track parameter frames. The order of the quantities inside the error matrix is the same as for the corresponding parameter vector provided by the GlobalTrajectoryParameters class.

Definition at line 15 of file CartesianTrajectoryError.h.


Constructor & Destructor Documentation

CartesianTrajectoryError::CartesianTrajectoryError ( ) [inline]

Definition at line 18 of file CartesianTrajectoryError.h.

{}
CartesianTrajectoryError::CartesianTrajectoryError ( const AlgebraicSymMatrix66 aCovarianceMatrix) [inline]

Constructing class from error matrix.

Definition at line 23 of file CartesianTrajectoryError.h.

                                                                          :
    theCovarianceMatrix(aCovarianceMatrix) { }
CartesianTrajectoryError::CartesianTrajectoryError ( const AlgebraicSymMatrix aCovarianceMatrix) [inline]

Constructing class from error matrix.

Definition at line 29 of file CartesianTrajectoryError.h.

                                                                        :
    theCovarianceMatrix(asSMatrix<6>(aCovarianceMatrix)) {}

Member Function Documentation

const AlgebraicSymMatrix66& CartesianTrajectoryError::matrix ( void  ) const [inline]
const AlgebraicSymMatrix CartesianTrajectoryError::matrix_old ( ) const [inline]

Returning error matrix.

Definition at line 35 of file CartesianTrajectoryError.h.

References asHepMatrix(), and theCovarianceMatrix.

Referenced by HTrack::computePull().

void CartesianTrajectoryError::operator*= ( double  factor) [inline]

Enables the multiplication of the error matrix with a scalar "factor".

Definition at line 47 of file CartesianTrajectoryError.h.

References theCovarianceMatrix.

                                   {
    theCovarianceMatrix *= factor;
  }
GlobalError CartesianTrajectoryError::position ( void  ) const

Position error submatrix.

Returning (3x3) submatrix of error matrix containing information about the errors and correlations between the different position coordinates.

Definition at line 3 of file CartesianTrajectoryError.cc.

References theCovarianceMatrix.

Referenced by IPTools::absoluteImpactParameter(), CkfDebugger::analyseCompatibleMeasurements(), TestHits::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), reco::TrackGhostTrackState::cartesianError(), BarrelDetLayer::compatible(), InclusiveVertexFinder::nearTracks(), and SimpleNavigableLayer::wellInside().


Member Data Documentation

Definition at line 60 of file CartesianTrajectoryError.h.

Referenced by matrix(), matrix_old(), operator*=(), and position().