#include <CartesianTrajectoryError.h>
Public Member Functions | |
CartesianTrajectoryError () | |
CartesianTrajectoryError (const AlgebraicSymMatrix66 &aCovarianceMatrix) | |
CartesianTrajectoryError (const AlgebraicSymMatrix &aCovarianceMatrix) | |
const AlgebraicSymMatrix66 & | matrix () const |
const AlgebraicSymMatrix | matrix_old () const |
void | operator*= (double factor) |
GlobalError | position () const |
Position error submatrix. | |
Private Attributes | |
AlgebraicSymMatrix66 | theCovarianceMatrix |
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.
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)) {}
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(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SignedImpactParameter3D::apply(), SignedDecayLength3D::apply(), reco::TrackGhostTrackState::cartesianCovariance(), FreeTrajectoryState::createCurvilinearError(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), TrackAnalyzer::fillHistosForState(), SETFilter::getFromFTS(), CSCEfficiency::getFromFTS(), IPTools::linearizedSignedImpactParameter3D(), SimpleCosmicBONSeeder::seeds(), IPTools::signedDecayLength3D(), TrajectoryStateClosestToBeamLine::transverseImpactParameter(), reco::TrackGhostTrackState::vertexStateOnGhostTrack(), and reco::TrackGhostTrackState::vertexStateOnMeasurement().
{ return theCovarianceMatrix; }
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().
{ return asHepMatrix(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.
{ 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().
{ return GlobalError( theCovarianceMatrix.Sub<AlgebraicSymMatrix33>(0,0)); }
Definition at line 60 of file CartesianTrajectoryError.h.
Referenced by matrix(), matrix_old(), operator*=(), and position().