CMS 3D CMS Logo

CartesianTrajectoryError Class Reference

Class containing (6x6) error matrix of a track in the global, Cartesian frame. More...

#include <TrackingTools/TrajectoryParametrization/interface/CartesianTrajectoryError.h>

List of all members.

Public Member Functions

 CartesianTrajectoryError (const AlgebraicSymMatrix &aCovarianceMatrix)
 Constructing class from error matrix.
 CartesianTrajectoryError (const AlgebraicSymMatrix66 &aCovarianceMatrix)
 Constructing class from error matrix.
 CartesianTrajectoryError ()
const AlgebraicSymMatrix66matrix () const
const AlgebraicSymMatrix matrix_old () const
 Returning error matrix.
void operator *= (double factor)
 Enables the multiplication of the error matrix with a scalar "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.

00018 {}

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

Constructing class from error matrix.

Definition at line 23 of file CartesianTrajectoryError.h.

00023                                                                           :
00024     theCovarianceMatrix(aCovarianceMatrix) { }

CartesianTrajectoryError::CartesianTrajectoryError ( const AlgebraicSymMatrix aCovarianceMatrix  )  [inline]

Constructing class from error matrix.

Definition at line 29 of file CartesianTrajectoryError.h.

00029                                                                         :
00030     theCovarianceMatrix(asSMatrix<6>(aCovarianceMatrix)) {}
// access


Member Function Documentation

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

Definition at line 40 of file CartesianTrajectoryError.h.

References theCovarianceMatrix.

Referenced by MuonSeedsAnalyzer::analyze(), TestHits::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), TransientTrackKinematicStateBuilder::buildState(), MuonTrackLoader::buildTrackAtPCA(), FreeTrajectoryState::createCurvilinearError(), TrackAnalyzer::fillHistosForState(), SimpleCosmicBONSeeder::seeds(), IPTools::signedDecayLength3D(), IPTools::signedImpactParameter3D(), SteppingHelixStateInfo::SteppingHelixStateInfo(), and TrajectoryStateClosestToBeamLine::transverseImpactParameter().

00040                                              {
00041     return theCovarianceMatrix;
00042   }

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

00035                                               {
00036     return asHepMatrix(theCovarianceMatrix);
00037   }

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.

00047                                    {
00048     theCovarianceMatrix *= factor;
00049   }

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 CkfDebugger::analyseCompatibleMeasurements(), TestHits::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), BarrelDetLayer::compatible(), and SimpleNavigableLayer::wellInside().

00003                                                      {
00004   return GlobalError( theCovarianceMatrix.Sub<AlgebraicSymMatrix33>(0,0)); 
00005 }


Member Data Documentation

AlgebraicSymMatrix66 CartesianTrajectoryError::theCovarianceMatrix [private]

Definition at line 60 of file CartesianTrajectoryError.h.

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


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:16:08 2009 for CMSSW by  doxygen 1.5.4