#include <LocalTrajectoryError.h>
Public Member Functions | |
bool | invalid () const |
LocalTrajectoryError () | |
LocalTrajectoryError (InvalidError) | |
LocalTrajectoryError (const AlgebraicSymMatrix55 &aCovarianceMatrix) | |
LocalTrajectoryError (float dx, float dy, float dxdir, float dydir, float dpinv) | |
const AlgebraicSymMatrix55 & | matrix () const |
LocalTrajectoryError & | operator*= (double factor) |
bool | posDef () const |
LocalError | positionError () const |
bool | valid () const |
const AlgebraicSymMatrix55 & | weightMatrix () const |
~LocalTrajectoryError () | |
Private Attributes | |
AlgebraicSymMatrix55 | theCovarianceMatrix |
boost::shared_ptr< AlgebraicSymMatrix55 > | theWeightMatrixPtr |
Class providing access to the covariance matrix of a set of relevant parameters of a trajectory in a local, Cartesian frame. The errors provided are:
sigma^2(q/p) : charge (plus or minus one) divided by magnitude of momentum
sigma^2(dxdz) : direction tangent in local xz-plane
sigma^2(dydz) : direction tangent in local yz-plane
sigma^2(x) : local x-coordinate
sigma^2(y) : local y-coordinate
plus the relevant correlation terms.
Definition at line 21 of file LocalTrajectoryError.h.
|
inline |
|
inline |
Definition at line 26 of file LocalTrajectoryError.h.
References theCovarianceMatrix.
|
inline |
Definition at line 28 of file LocalTrajectoryError.h.
|
inline |
Constructing class from a full covariance matrix. The sequence of the parameters is the same as the one described above.
Definition at line 44 of file LocalTrajectoryError.h.
References LocalTrajectoryError().
LocalTrajectoryError::LocalTrajectoryError | ( | float | dx, |
float | dy, | ||
float | dxdir, | ||
float | dydir, | ||
float | dpinv | ||
) |
Constructing class from standard deviations of the individual parameters, making the covariance matrix diagonal. The sequence of the input parameters is sigma(x), sigma(y), sigma(dxdz), sigma(dydz), sigma(q/p), but the resulting covariance matrix has the same structure as the one described above.
Definition at line 7 of file LocalTrajectoryError.cc.
References theCovarianceMatrix.
|
inline |
Definition at line 30 of file LocalTrajectoryError.h.
References theCovarianceMatrix.
Referenced by valid().
|
inline |
Returns the covariance matrix.
Definition at line 61 of file LocalTrajectoryError.h.
References theCovarianceMatrix, and weightMatrix().
Referenced by MuonResidualsFromTrack::addTrkCovMatrix(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), SiTrackerMultiRecHitUpdator::calcParameters(), BasicTrajectoryState::checkCurvilinError(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), MultipleScatteringUpdator::compute(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), SiTrackerMultiRecHitUpdator::ComputeWeight(), ReferenceTrajectory::construct(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), MRHChi2MeasurementEstimator::estimate(), CollinearFitAtTM::fit(), MuonKinkFinder::getChi2(), MatcherUsingTracksAlgorithm::getChi2(), GsfTrackProducerBase::localParametersFromQpMode(), GlobalMuonTrackMatcher::match_Chi2(), SeedMatcher::matchSimTrack(), MeasurementExtractor::measuredError(), BasicTrajectoryState::missingError(), GlobalTrackerMuonAlignment::muonFitter(), BasicTrajectoryState::notValid(), oldMUcompute(), operator<<(), TRecHit5DParamConstraint::parametersError(), trajectoryStateTransform::persistentState(), StraightLinePropagator::propagatedState(), TrackAssociatorByPositionImpl::quality(), NuclearInteractionFinder::rescaleError(), BasicTrajectoryState::rescaleError(), TrajectorySegmentBuilder::segments(), CRackTrajectoryBuilder::SortHits(), sqr(), FastTSGFromPropagation::stateOnDet(), ChargeSignificanceTrajectoryFilter::TBC(), CkfDebugger::testSeed(), GlobalTrackerMuonAlignment::trackFitter(), DualTrajectoryFactory::trajectories(), DualBzeroTrajectoryFactory::trajectories(), Strip1DMeasurementTransformator::trajectoryError(), Tsos2DPhi::Tsos2DPhi(), Tsos2DZed::Tsos2DZed(), Tsos4D::Tsos4D(), GsfMaterialEffectsUpdator::updateState(), VolumeMaterialEffectsUpdator::updateState(), and MaterialEffectsUpdator::updateStateInPlace().
|
inline |
Enables the multiplication of the covariance matrix with the scalar "factor".
Definition at line 73 of file LocalTrajectoryError.h.
References theCovarianceMatrix, and theWeightMatrixPtr.
|
inline |
Definition at line 34 of file LocalTrajectoryError.h.
References theCovarianceMatrix.
Referenced by BasicTrajectoryState::notValid().
|
inline |
Returns the two-by-two submatrix of the covariance matrix which yields the local position errors as well as the correlation between them.
Definition at line 83 of file LocalTrajectoryError.h.
References theCovarianceMatrix.
Referenced by CkfDebugger::analyseCompatibleMeasurements(), TkGluedMeasurementDet::checkHitProjection(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MuRingForwardLayer::compatibleDets(), CaloDetIdAssociator::crossedElement(), OutsideInMuonSeeder::doLayer(), Chi2Strip1DEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), TrackDetectorAssociator::getTAMuonChamberMatches(), TkPixelMeasurementDet::hasBadComponents(), DeDxTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), TRecHit5DParamConstraint::localPositionError(), GlobalMuonTrackMatcher::match_dist(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), ForwardMeasurementEstimator::maximalLocalDisplacement(), BarrelMeasurementEstimator::maximalLocalDisplacement(), TkPixelMeasurementDet::measurements(), TkStripMeasurementDet::measurements(), MuonResidualsFromTrack::MuonResidualsFromTrack(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), ShallowTrackClustersProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), trajectoryToResiduals(), SimpleNavigableLayer::wellInside(), and MuRodBarrelLayer::xError().
|
inline |
Definition at line 31 of file LocalTrajectoryError.h.
References invalid().
Referenced by BasicTrajectoryState::missingError(), and BasicTrajectoryState::rescaleError().
const AlgebraicSymMatrix55 & LocalTrajectoryError::weightMatrix | ( | void | ) | const |
Returns the inverse of covariance matrix.
Definition at line 18 of file LocalTrajectoryError.cc.
References invertPosDefMatrix(), theCovarianceMatrix, theWeightMatrixPtr, and unlikely.
Referenced by matrix().
|
private |
Definition at line 89 of file LocalTrajectoryError.h.
Referenced by invalid(), LocalTrajectoryError(), matrix(), operator*=(), posDef(), positionError(), and weightMatrix().
|
mutableprivate |
Definition at line 90 of file LocalTrajectoryError.h.
Referenced by operator*=(), and weightMatrix().