CMS 3D CMS Logo

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

#include <CartesianTrajectoryError.h>

Public Member Functions

 CartesianTrajectoryError ()
 
 CartesianTrajectoryError (const AlgebraicSymMatrix66 &aCovarianceMatrix)
 
const AlgebraicSymMatrix66matrix () const
 
void operator*= (double factor)
 
const 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() [1/2]

CartesianTrajectoryError::CartesianTrajectoryError ( )
inline

Definition at line 18 of file CartesianTrajectoryError.h.

18 {}

◆ CartesianTrajectoryError() [2/2]

CartesianTrajectoryError::CartesianTrajectoryError ( const AlgebraicSymMatrix66 aCovarianceMatrix)
inline

Constructing class from error matrix.

Definition at line 22 of file CartesianTrajectoryError.h.

22 : theCovarianceMatrix(aCovarianceMatrix) {}

Member Function Documentation

◆ matrix()

const AlgebraicSymMatrix66& CartesianTrajectoryError::matrix ( void  ) const
inline

◆ operator*=()

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

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

Definition at line 33 of file CartesianTrajectoryError.h.

References DQMScaleToClient_cfi::factor, and theCovarianceMatrix.

◆ position()

const GlobalError CartesianTrajectoryError::position ( ) const
inline

Position error submatrix.

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

Definition at line 41 of file CartesianTrajectoryError.h.

References theCovarianceMatrix.

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

Member Data Documentation

◆ theCovarianceMatrix

AlgebraicSymMatrix66 CartesianTrajectoryError::theCovarianceMatrix
private

Definition at line 44 of file CartesianTrajectoryError.h.

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

AlgebraicSymMatrix33
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
Definition: AlgebraicROOTObjects.h:21
CartesianTrajectoryError::theCovarianceMatrix
AlgebraicSymMatrix66 theCovarianceMatrix
Definition: CartesianTrajectoryError.h:44
GlobalError
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
Definition: GlobalError.h:13
DQMScaleToClient_cfi.factor
factor
Definition: DQMScaleToClient_cfi.py:8