CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CartesianTrajectoryError Class Reference

#include <CartesianTrajectoryError.h>

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. More...
 

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.

18 {}
CartesianTrajectoryError::CartesianTrajectoryError ( const AlgebraicSymMatrix66 aCovarianceMatrix)
inline

Constructing class from error matrix.

Definition at line 23 of file CartesianTrajectoryError.h.

23  :
24  theCovarianceMatrix(aCovarianceMatrix) { }
AlgebraicSymMatrix66 theCovarianceMatrix
CartesianTrajectoryError::CartesianTrajectoryError ( const AlgebraicSymMatrix aCovarianceMatrix)
inline

Constructing class from error matrix.

Definition at line 29 of file CartesianTrajectoryError.h.

29  :
30  theCovarianceMatrix(asSMatrix<6>(aCovarianceMatrix)) {}
AlgebraicSymMatrix66 theCovarianceMatrix

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

35  {
37  }
CLHEP::HepMatrix asHepMatrix(const ROOT::Math::SMatrix< double, N1, N2, typename ROOT::Math::MatRepStd< double, N1, N2 > > &rm)
Definition: Migration.h:49
AlgebraicSymMatrix66 theCovarianceMatrix
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.

47  {
48  theCovarianceMatrix *= factor;
49  }
AlgebraicSymMatrix66 theCovarianceMatrix
GlobalError CartesianTrajectoryError::position ( ) 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(), TestSmoothHits::analyze(), TestTrackHits::analyze(), reco::TrackGhostTrackState::cartesianError(), BarrelDetLayer::compatible(), InclusiveVertexFinder::nearTracks(), and SimpleNavigableLayer::wellInside().

3  {
5 }
AlgebraicSymMatrix66 theCovarianceMatrix
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
Definition: GlobalError.h:11
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33

Member Data Documentation

AlgebraicSymMatrix66 CartesianTrajectoryError::theCovarianceMatrix
private

Definition at line 60 of file CartesianTrajectoryError.h.

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