#include <FreeTrajectoryState.h>
Private Member Functions | |
void | createCartesianError (CartesianTrajectoryError &aCartesianError) const |
void | createCurvilinearError (CartesianTrajectoryError const &aCartesianError) const |
void | missingError () const |
Private Attributes | |
CurvilinearTrajectoryError | theCurvilinearError |
GlobalTrajectoryParameters | theGlobalParameters |
A 6-dimensional state vector of a helix given at some point in space along the helix, and the associated error matrix. The error can be obtained in two different parametrizations: CurvilinearTrajectoryError and CartesianTrajectoryError (see descriptions of corresponding classes). The FreeTrajectoryState can be instantiated with either of these error parametrisations; it converts from one to the other internally.
Definition at line 29 of file FreeTrajectoryState.h.
|
inline |
Definition at line 34 of file FreeTrajectoryState.h.
|
inline |
Definition at line 37 of file FreeTrajectoryState.h.
|
inline |
Definition at line 42 of file FreeTrajectoryState.h.
|
inline |
Definition at line 51 of file FreeTrajectoryState.h.
|
inline |
Definition at line 62 of file FreeTrajectoryState.h.
|
inline |
Definition at line 70 of file FreeTrajectoryState.h.
References createCurvilinearError().
|
inline |
Definition at line 75 of file FreeTrajectoryState.h.
|
inline |
Definition at line 114 of file FreeTrajectoryState.h.
References createCartesianError(), hasError(), missingError(), and UNLIKELY.
Referenced by HTrack::computePull(), ME0SegmentMatcher::getFromFTS(), CSCEfficiency::getFromFTS(), SimpleCosmicBONSeeder::seeds(), TrajectoryStateClosestToBeamLine::transverseImpactParameter(), and SimpleNavigableLayer::wellInside().
|
inline |
Definition at line 90 of file FreeTrajectoryState.h.
References GlobalTrajectoryParameters::charge(), and theGlobalParameters.
Referenced by DAFTrackProducerAlgorithm::buildTrack(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonTrackLoader::buildTrackUpdatedAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), reco::TransientTrackFromFTS::charge(), HTrack::computePull(), HTrack::computeResolution(), HTrack::computeTDRResolution(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), BasicTrajectoryState::createLocalParameters(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), HTrack::Fill(), GsfTrackProducerBase::fillMode(), PerigeeConversions::ftsToPerigeeParameters(), MatcherUsingTracksAlgorithm::getChi2(), ME0SegmentMatcher::getFromFTS(), CSCEfficiency::getFromFTS(), TrajSeedMatcher::getTrajStateFromPoint(), SeedFromConsecutiveHitsCreator::makeSeed(), RKPropagatorInZ::myPropagate(), RKPropagatorInR::myPropagate(), TSCBLBuilderNoMaterial::operator()(), KinematicState::particleCharge(), StraightLinePropagator::propagatedState(), Geant4ePropagator::propagateGeneric(), RKPropagatorInS::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), TrackKinematicStatePropagator::propagateToTheTransversePCA(), StraightLinePropagator::propagateWithPath(), OutInConversionSeedFinder::startSeed(), InOutConversionSeedFinder::startSeed(), SteppingHelixStateInfo::SteppingHelixStateInfo(), reco::TransientTrackFromFTS::track(), reco::trackingParametersAtClosestApproachToBeamSpot(), and reco::GhostTrackVertexFinder::vertexFitter().
|
private |
Definition at line 31 of file FreeTrajectoryState.cc.
References JacobianCurvilinearToCartesian::jacobian(), CurvilinearTrajectoryError::matrix(), theCurvilinearError, and theGlobalParameters.
Referenced by cartesianError(), and setCurvilinearError().
|
private |
Definition at line 41 of file FreeTrajectoryState.cc.
References JacobianCartesianToCurvilinear::jacobian(), CartesianTrajectoryError::matrix(), theCurvilinearError, and theGlobalParameters.
Referenced by FreeTrajectoryState(), setCartesianError(), and setCurvilinearError().
|
inline |
Definition at line 121 of file FreeTrajectoryState.h.
References hasError(), missingError(), rescaleError(), theCurvilinearError, and UNLIKELY.
Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), analyticalErrorPropagation(), DAFTrackProducerAlgorithm::buildTrack(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonTrackLoader::buildTrackUpdatedAtPCA(), HTrack::computePull(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), BasicTrajectoryState::createLocalErrorFromCurvilinearError(), TrajectoryExtrapolatorToLine::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), GsfTrackProducerBase::fillMode(), PerigeeConversions::ftsToPerigeeError(), MatcherUsingTracksAlgorithm::getChi2(), TrajectoryStateAccessor::inversePtError(), TSCBLBuilderNoMaterial::operator()(), operator<<(), AnalyticalPropagator::propagatedStateWithPath(), Geant4ePropagator::propagateGeneric(), TrackKinematicStatePropagator::propagateToTheTransversePCACharged(), SteppingHelixStateInfo::SteppingHelixStateInfo(), reco::TransientTrackFromFTS::track(), MuonNavigableLayer::trackingRange(), and MTDNavigableLayer::trackingRange().
|
inline |
Definition at line 102 of file FreeTrajectoryState.h.
References theCurvilinearError, and CurvilinearTrajectoryError::valid().
Referenced by BasicTrajectoryState::checkCurvilinError(), BasicTrajectoryState::createLocalError(), and hasError().
|
inline |
Definition at line 104 of file FreeTrajectoryState.h.
References hasCurvilinearError().
Referenced by analyticalErrorPropagation(), cartesianError(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), curvilinearError(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), MatcherUsingTracksAlgorithm::getChi2(), ME0SegmentMatcher::getFromFTS(), CSCEfficiency::getFromFTS(), SimpleForwardNavigableLayer::nextLayers(), SimpleBarrelNavigableLayer::nextLayers(), TSCBLBuilderNoMaterial::operator()(), operator<<(), MuonUpdatorAtVertex::propagate(), StraightLinePropagator::propagatedState(), AnalyticalPropagator::propagatedStateWithPath(), Geant4ePropagator::propagateGeneric(), StraightLinePropagator::propagateWithPath(), rescaleError(), SteppingHelixStateInfo::SteppingHelixStateInfo(), and TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint().
|
private |
Definition at line 16 of file FreeTrajectoryState.cc.
References CurvilinearTrajectoryError::matrix(), theCurvilinearError, and CurvilinearTrajectoryError::valid().
Referenced by cartesianError(), curvilinearError(), and setCurvilinearError().
|
inline |
Definition at line 87 of file FreeTrajectoryState.h.
References GlobalTrajectoryParameters::momentum(), and theGlobalParameters.
Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), ElectronSeedAnalyzer::analyze(), ValidationMisalignedTracker::analyze(), TestOutliers::analyze(), HLTPMMassFilter::approxMomAtVtx(), CosmicMuonTrajectoryBuilder::build(), DAFTrackProducerAlgorithm::buildTrack(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonTrackLoader::buildTrackUpdatedAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), DirectMuonNavigation::checkCompatible(), DirectMTDNavigation::checkCompatible(), DirectMuonNavigation::compatibleEndcapLayers(), DirectMTDNavigation::compatibleEndcapLayers(), PixelHitMatcher::compatibleHits(), DirectMuonNavigation::compatibleLayers(), DirectMTDNavigation::compatibleLayers(), PixelHitMatcher::compatibleSeeds(), PerigeeLinearizedTrackState::computeNeutralJacobians(), HTrack::computePull(), HTrack::computeResolution(), HTrack::computeTDRResolution(), ReferenceTrajectory::construct(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), BasicTrajectoryState::createLocalParameters(), TrackingRegionsFromSuperClustersProducer::createTrackingRegion(), TransverseImpactPointExtrapolator::doExtrapolation(), MuonPatternRecoDumper::dumpFTS(), CSCEfficiency::efficienciesPerChamber(), PropagateToMuon::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), HTrack::Fill(), TrackDetectorAssociator::fillCaloTruth(), GsfTrackProducerBase::fillMode(), MuonTrackAnalyzer::fillPlots(), PerigeeConversions::ftsToPerigeeParameters(), MatcherUsingTracksAlgorithm::getChi2(), ME0SegmentMatcher::getFromFTS(), CSCEfficiency::getFromFTS(), ExoticaDQM::getGenParticleTrajectoryAtBeamline(), HDetIdAssociator::getTrajectory(), KinematicState::globalMomentum(), TrackDetMatchInfo::insideCone(), TrajectoryStateAccessor::inversePtError(), MuonNavigableLayer::isInsideOut(), MTDNavigableLayer::isInsideOut(), PerigeeConversions::jacobianCurvilinear2Perigee(), SeedFromConsecutiveHitsCreator::makeSeed(), MuonErrorMatrixAdjuster::makeTrack(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), MatcherUsingTracksAlgorithm::matchWithPropagation(), CosmicParametersDefinerForTP::momentum(), ParametersDefinerForTP::momentum(), RKPropagatorInZ::myPropagate(), RKPropagatorInR::myPropagate(), SimpleForwardNavigableLayer::nextLayers(), SimpleBarrelNavigableLayer::nextLayers(), BasicTrajectoryState::notValid(), TSCBLBuilderNoMaterial::operator()(), StateOnTrackerBound::operator()(), PropagationDirectionChooser::operator()(), TrimmedTrackFilter::operator()(), CrossingPtBasedLinearizationPointFinder::CompareTwoTracks::operator()(), CosmicTrackingParticleSelector::operator()(), DirectMuonNavigation::outward(), DirectMTDNavigation::outward(), DirectTrackerNavigation::outward(), Geant4ePropagator::propagateGeneric(), StraightLinePropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), StraightLinePropagator::propagateParametersOnPlane(), AnalyticalPropagator::propagateParametersOnPlane(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), TrackKinematicStatePropagator::propagateToTheTransversePCA(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), TrackClassifier::reconstructionInformation(), StandAloneMuonFilter::refit(), SeedFilter::seeds(), TrackAlgoCompareUtil::SetTrackingParticleD0Dz(), PropagateToMuon::startingState(), SteppingHelixStateInfo::SteppingHelixStateInfo(), CSCEfficiency::stripWire_Efficiencies(), ThresholdPtTrajectoryFilter::test(), reco::TransientTrackFromFTS::track(), reco::trackingParametersAtClosestApproachToBeamSpot(), StandAloneMuonTrajectoryBuilder::trajectories(), and reco::GhostTrackVertexFinder::vertexFitter().
|
inline |
Definition at line 109 of file FreeTrajectoryState.h.
References theGlobalParameters.
Referenced by MuonErrorMatrix::adjust(), TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), LayerCollector::allLayers(), analyticalErrorPropagation(), TangentApproachInRPhi::calculate(), TwoTrackMinimumDistance::calculate(), ClosestApproachInRPhi::calculate(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), MuonPatternRecoDumper::dumpFTS(), TrajectoryExtrapolatorToLine::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), PerigeeConversions::ftsToPerigeeParameters(), PerigeeConversions::jacobianCurvilinear2Perigee(), SeedFromConsecutiveHitsCreator::makeSeed(), SimpleForwardNavigableLayer::nextLayers(), SimpleBarrelNavigableLayer::nextLayers(), BasicTrajectoryState::notValid(), TSCBLBuilderNoMaterial::operator()(), operator<<(), PerigeeKinematicState::PerigeeKinematicState(), MuonUpdatorAtVertex::propagate(), AnalyticalPropagator::propagatedStateWithPath(), Geant4ePropagator::propagateGeneric(), TrackKinematicStatePropagator::propagateToTheTransversePCA(), rescaleError(), StartingLayerFinder::startingLayers(), ThresholdPtTrajectoryFilter::test(), KinematicState::trajectoryParameters(), TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), and BasicTrajectoryState::update().
|
inline |
Definition at line 84 of file FreeTrajectoryState.h.
References GlobalTrajectoryParameters::position(), and theGlobalParameters.
Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), ValidationMisalignedTracker::analyze(), ElectronSeedAnalyzer::analyze(), MuonAlignmentAnalyzer::analyze(), TestOutliers::analyze(), PrimaryVertexValidation::analyze(), TrackDetectorAssociator::associate(), CosmicMuonTrajectoryBuilder::build(), SeedForPhotonConversionFromQuadruplets::buildSeedBool(), DAFTrackProducerAlgorithm::buildTrack(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonTrackLoader::buildTrackUpdatedAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), reco::TransientTrackFromFTS::calculateTSOSAtVertex(), reco::GsfTransientTrack::calculateTSOSAtVertex(), DirectMuonNavigation::checkCompatible(), DirectMTDNavigation::checkCompatible(), DirectTrackerNavigation::checkCompatible(), PixelHitMatcher::compatibleHits(), DirectMTDNavigation::compatibleLayers(), DirectMuonNavigation::compatibleLayers(), DirectTrackerNavigation::compatibleLayers(), PixelHitMatcher::compatibleSeeds(), PerigeeLinearizedTrackState::computeChargedJacobians(), PerigeeLinearizedTrackState::computeJacobians(), PerigeeLinearizedTrackState::computeNeutralJacobians(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), BasicTrajectoryState::createLocalParameters(), SimpleNavigableLayer::crossingState(), BeamHaloPropagator::crossingTk(), TransverseImpactPointExtrapolator::doExtrapolation(), MuonPatternRecoDumper::dumpFTS(), PropagateToMuon::extrapolate(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), CSCEfficiency::filter(), PerigeeConversions::ftsToPerigeeParameters(), MatcherUsingTracksAlgorithm::getChi2(), ME0SegmentMatcher::getFromFTS(), CSCEfficiency::getFromFTS(), SteppingHelixStateInfo::getStateOnSurface(), TrackDetectorAssociator::getTAMuonChamberMatches(), HDetIdAssociator::getTrajectory(), KinematicState::globalPosition(), reco::CandidatePtrTransientTrack::impactPointState(), reco::TrackTransientTrack::impactPointState(), reco::CandidatePtrTransientTrack::impactPointTSCP(), reco::TransientTrackFromFTS::impactPointTSCP(), reco::TrackTransientTrack::impactPointTSCP(), reco::GsfTransientTrack::impactPointTSCP(), SmartPropagator::insideTkVol(), MuonNavigableLayer::isInsideOut(), MTDNavigableLayer::isInsideOut(), MatcherUsingTracksAlgorithm::matchByDirectComparison(), MatcherUsingTracksAlgorithm::matchWithPropagation(), RKPropagatorInZ::myPropagate(), RKPropagatorInR::myPropagate(), SimpleForwardNavigableLayer::nextLayers(), SimpleBarrelNavigableLayer::nextLayers(), BasicTrajectoryState::notValid(), TSCPBuilderNoMaterial::operator()(), StateOnTrackerBound::operator()(), PropagationDirectionChooser::operator()(), TransientTrackKinematicStateBuilder::operator()(), CosmicTrackingParticleSelector::operator()(), DirectMuonNavigation::outward(), DirectMTDNavigation::outward(), DirectTrackerNavigation::outward(), TSGForOI::produce(), TSGForOIFromL2::produce(), MuonErrorMatrixAdjuster::produce(), Geant4ePropagator::propagateGeneric(), StraightLinePropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), StraightLinePropagator::propagateParametersOnPlane(), AnalyticalPropagator::propagateParametersOnPlane(), TrackKinematicStatePropagator::propagateToTheTransversePCA(), TrackKinematicStatePropagator::propagateToTheTransversePCANeutral(), MuonForwardNavigableLayer::pushResult(), ETLNavigableLayer::pushResult(), BTLNavigableLayer::pushResult(), MuonBarrelNavigableLayer::pushResult(), CSCEfficiency::recHitSegment_Efficiencies(), TrackClassifier::reconstructionInformation(), TrackAlgoCompareUtil::SetTrackingParticleD0Dz(), PropagateToMuon::startingState(), SteppingHelixStateInfo::SteppingHelixStateInfo(), reco::TransientTrackFromFTS::track(), reco::trackingParametersAtClosestApproachToBeamSpot(), MuonNavigableLayer::trackingRange(), MTDNavigableLayer::trackingRange(), TrajectoryStateClosestToBeamLine::transverseImpactParameter(), CosmicParametersDefinerForTP::vertex(), ParametersDefinerForTP::vertex(), and SimpleNavigableLayer::wellInside().
void FreeTrajectoryState::rescaleError | ( | double | factor | ) |
Definition at line 52 of file FreeTrajectoryState.cc.
References hasError(), GlobalTrajectoryParameters::magneticField(), MagneticField::nominalValue(), parameters(), theCurvilinearError, UNLIKELY, and CurvilinearTrajectoryError::zeroFieldScaling().
Referenced by TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), curvilinearError(), BasicTrajectoryState::rescaleError(), and SimpleCosmicBONSeeder::seeds().
|
inline |
Definition at line 129 of file FreeTrajectoryState.h.
References createCurvilinearError().
Referenced by TwoBodyDecayTrajectoryState::setError().
|
inline |
Definition at line 132 of file FreeTrajectoryState.h.
References createCurvilinearError().
|
inline |
Definition at line 136 of file FreeTrajectoryState.h.
References theCurvilinearError.
Referenced by BasicTrajectoryState::checkCurvilinError().
|
inline |
Definition at line 140 of file FreeTrajectoryState.h.
References createCartesianError(), createCurvilinearError(), missingError(), and theCurvilinearError.
|
inline |
Definition at line 93 of file FreeTrajectoryState.h.
References GlobalTrajectoryParameters::signedInverseMomentum(), and theGlobalParameters.
Referenced by HTrack::computeTDRResolution(), BasicTrajectoryState::createLocalParameters(), and PerigeeConversions::jacobianCurvilinear2Perigee().
|
inline |
Definition at line 96 of file FreeTrajectoryState.h.
References theGlobalParameters, and GlobalTrajectoryParameters::transverseCurvature().
Referenced by SiPixelTrackResidualSource::analyze(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPoint(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TransverseImpactPointExtrapolator::doExtrapolation(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), ConversionFastHelix::helixStateAtVertex(), PerigeeConversions::jacobianCurvilinear2Perigee(), RKPropagatorInS::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), AnalyticalPropagator::propagateParametersOnPlane(), TrackKinematicStatePropagator::propagateToTheTransversePCA(), and ConversionFastHelix::straightLineStateAtVertex().
|
mutableprivate |
Definition at line 162 of file FreeTrajectoryState.h.
Referenced by createCartesianError(), createCurvilinearError(), curvilinearError(), hasCurvilinearError(), missingError(), rescaleError(), and setCurvilinearError().
|
private |
Definition at line 161 of file FreeTrajectoryState.h.
Referenced by charge(), createCartesianError(), createCurvilinearError(), momentum(), parameters(), position(), signedInverseMomentum(), and transverseCurvature().