#include <FreeTrajectoryState.h>
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 24 of file FreeTrajectoryState.h.
FreeTrajectoryState::FreeTrajectoryState | ( | ) | [inline] |
Definition at line 29 of file FreeTrajectoryState.h.
: theCartesianErrorValid(false), theCurvilinearErrorValid(false) {};
FreeTrajectoryState::FreeTrajectoryState | ( | const GlobalTrajectoryParameters & | aGlobalParameters | ) | [inline] |
Definition at line 33 of file FreeTrajectoryState.h.
: theGlobalParameters(aGlobalParameters), theCartesianErrorValid(false), theCurvilinearErrorValid(false) { }
FreeTrajectoryState::FreeTrajectoryState | ( | const GlobalPoint & | aX, |
const GlobalVector & | aP, | ||
TrackCharge | aCharge, | ||
const MagneticField * | fieldProvider | ||
) | [inline] |
Definition at line 40 of file FreeTrajectoryState.h.
: theGlobalParameters(aX, aP, aCharge, fieldProvider), theCartesianErrorValid(false), theCurvilinearErrorValid(false) { }
FreeTrajectoryState::FreeTrajectoryState | ( | const GlobalTrajectoryParameters & | aGlobalParameters, |
const CartesianTrajectoryError & | aCartesianError | ||
) | [inline] |
Definition at line 50 of file FreeTrajectoryState.h.
: theGlobalParameters(aGlobalParameters), theCartesianError(aCartesianError), theCartesianErrorValid(true), theCurvilinearErrorValid(false) { }
FreeTrajectoryState::FreeTrajectoryState | ( | const GlobalTrajectoryParameters & | aGlobalParameters, |
const CurvilinearTrajectoryError & | aCurvilinearError | ||
) | [inline] |
Definition at line 58 of file FreeTrajectoryState.h.
: theGlobalParameters(aGlobalParameters), theCurvilinearError(aCurvilinearError), theCartesianErrorValid(false), theCurvilinearErrorValid(true) { }
FreeTrajectoryState::FreeTrajectoryState | ( | const GlobalTrajectoryParameters & | aGlobalParameters, |
const CartesianTrajectoryError & | aCartesianError, | ||
const CurvilinearTrajectoryError & | aCurvilinearError | ||
) | [inline] |
Definition at line 66 of file FreeTrajectoryState.h.
: theGlobalParameters(aGlobalParameters), theCartesianError(aCartesianError), theCurvilinearError(aCurvilinearError), theCartesianErrorValid(true), theCurvilinearErrorValid(true) { }
bool FreeTrajectoryState::canReach | ( | double | radius | ) | const |
Definition at line 63 of file FreeTrajectoryState.cc.
References momentum(), L1TEmulatorMonitor_cff::p, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::perp2(), position(), CosmicsPD_Skims::radius, rho, mathSSE::sqrt(), transverseCurvature(), Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), x, and PV3DBase< T, PVType, FrameType >::y().
{ GlobalPoint x = position(); GlobalVector p = momentum().unit(); double rho = transverseCurvature()*p.perp(); double rx = rho*x.x(); double ry = rho*x.y(); double rr = rho*radius; double ax = p.x()*rx + p.y()*ry; double ay = p.x()*ry - p.y()*rx + p.perp2(); double cospsi = (.5*(rx*rx + ry*ry - rr*rr) + ay)/sqrt(ax*ax + ay*ay); return fabs(cospsi) <= 1.; }
const CartesianTrajectoryError& FreeTrajectoryState::cartesianError | ( | ) | const [inline] |
Definition at line 104 of file FreeTrajectoryState.h.
References createCartesianError(), hasError(), missingError(), theCartesianError, and theCartesianErrorValid.
Referenced by BasicSingleTrajectoryState::cartesianError(), HTrack::computePull(), SETFilter::getFromFTS(), CSCEfficiency::getFromFTS(), SimpleCosmicBONSeeder::seeds(), TrajectoryStateClosestToBeamLine::transverseImpactParameter(), and SimpleNavigableLayer::wellInside().
{ if (!hasError()) missingError(); if (!theCartesianErrorValid) createCartesianError(); return theCartesianError; }
TrackCharge FreeTrajectoryState::charge | ( | void | ) | const [inline] |
Definition at line 84 of file FreeTrajectoryState.h.
References GlobalTrajectoryParameters::charge(), and theGlobalParameters.
Referenced by TransientTrackKinematicStateBuilder::buildState(), DAFTrackProducerAlgorithm::buildTrack(), MTFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonTrackLoader::buildTrackUpdatedAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), BasicSingleTrajectoryState::charge(), reco::TransientTrackFromFTS::charge(), HTrack::computePull(), HTrack::computeResolution(), HTrack::computeTDRResolution(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), cms::HICSeedMeasurementEstimator::estimate(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), HTrack::Fill(), GsfTrackProducerBase::fillMode(), PerigeeConversions::ftsToPerigeeParameters(), CSCEfficiency::getFromFTS(), SETFilter::getFromFTS(), TrackAssociatorByChi2::parametersAtClosestApproach(), TrackKinematicStatePropagator::planeCrossing(), cms::HITrackVertexMaker::produceTracks(), RKPropagatorInZ::propagate(), Geant4ePropagator::propagate(), cms::HICMuonPropagator::propagate(), RKPropagatorInR::propagate(), StraightLinePropagator::propagatedState(), RKPropagatorInS::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), AnalyticalPropagator::propagateWithPath(), StraightLinePropagator::propagateWithPath(), HICTrajectoryBuilder::qualityFilter(), SeedFromGenericPairOrTriplet::seedFromTriplet(), OutInConversionSeedFinder::startSeed(), InOutConversionSeedFinder::startSeed(), SteppingHelixStateInfo::SteppingHelixStateInfo(), reco::TransientTrackFromFTS::track(), HICMuonUpdator::update(), HICMuonUpdator::updateEndcap(), and HICTrajectoryBuilder::updateTrajectory().
{ return theGlobalParameters.charge(); }
void FreeTrajectoryState::createCartesianError | ( | ) | const [private] |
Definition at line 18 of file FreeTrajectoryState.cc.
References JacobianCurvilinearToCartesian::jacobian(), CurvilinearTrajectoryError::matrix(), theCurvilinearError, and theGlobalParameters.
Referenced by cartesianError(), and rescaleError().
{ JacobianCurvilinearToCartesian curv2Cart(theGlobalParameters); const AlgebraicMatrix65& jac = curv2Cart.jacobian(); ((FreeTrajectoryState*)this)->theCartesianError = ROOT::Math::Similarity(jac, theCurvilinearError.matrix()); ((FreeTrajectoryState*)this)->theCartesianErrorValid = true; }
void FreeTrajectoryState::createCurvilinearError | ( | ) | const [private] |
Definition at line 30 of file FreeTrajectoryState.cc.
References JacobianCartesianToCurvilinear::jacobian(), CartesianTrajectoryError::matrix(), theCartesianError, and theGlobalParameters.
Referenced by curvilinearError(), and rescaleError().
{ JacobianCartesianToCurvilinear cart2Curv(theGlobalParameters); const AlgebraicMatrix56& jac = cart2Curv.jacobian(); ((FreeTrajectoryState*)this)->theCurvilinearError = ROOT::Math::Similarity(jac, theCartesianError.matrix()); ((FreeTrajectoryState*)this)->theCurvilinearErrorValid = true; }
const CurvilinearTrajectoryError& FreeTrajectoryState::curvilinearError | ( | ) | const [inline] |
Definition at line 110 of file FreeTrajectoryState.h.
References createCurvilinearError(), hasError(), missingError(), theCurvilinearError, and theCurvilinearErrorValid.
Referenced by TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), MuonErrorMatrix::adjust(), cms::DiMuonSeedGeneratorHIC::barrelUpdateSeed(), TransientTrackKinematicStateBuilder::buildState(), DAFTrackProducerAlgorithm::buildTrack(), MTFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonTrackLoader::buildTrackUpdatedAtPCA(), HTrack::computePull(), HICTrajectoryCorrector::correct(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), BasicSingleTrajectoryState::curvilinearError(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), GsfTrackProducerBase::fillMode(), cms::HICTkOuterStartingLayerFinder::findForwardLayers(), cms::DiMuonSeedGeneratorHIC::forwardUpdateSeed(), PerigeeConversions::ftsToPerigeeError(), TrajectoryStateAccessor::inversePtError(), TSCBLBuilderNoMaterial::operator()(), AnalyticalErrorPropagation::operator()(), operator<<(), cms::HITrackVertexMaker::produceTracks(), Geant4ePropagator::propagate(), cms::HICMuonPropagator::propagate(), cms::FastMuPropagator::propagate(), AnalyticalPropagator::propagatedStateWithPath(), cms::HICTkOuterStartingLayerFinder::startingLayers(), SteppingHelixStateInfo::SteppingHelixStateInfo(), reco::TransientTrackFromFTS::track(), and MuonNavigableLayer::trackingRange().
{ if (!hasError()) missingError(); if (!theCurvilinearErrorValid) createCurvilinearError(); return theCurvilinearError; }
bool FreeTrajectoryState::hasCartesianError | ( | ) | const [inline] |
Definition at line 94 of file FreeTrajectoryState.h.
References theCartesianErrorValid.
{return theCartesianErrorValid;}
bool FreeTrajectoryState::hasCurvilinearError | ( | ) | const [inline] |
Definition at line 95 of file FreeTrajectoryState.h.
References theCurvilinearErrorValid.
{return theCurvilinearErrorValid;}
bool FreeTrajectoryState::hasError | ( | void | ) | const [inline] |
Definition at line 96 of file FreeTrajectoryState.h.
References theCartesianErrorValid, and theCurvilinearErrorValid.
Referenced by cartesianError(), SimpleBarrelNavigableLayer::compatibleLayers(), SimpleForwardNavigableLayer::compatibleLayers(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), curvilinearError(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), SETFilter::getFromFTS(), CSCEfficiency::getFromFTS(), SimpleForwardNavigableLayer::nextLayers(), SimpleBarrelNavigableLayer::nextLayers(), AnalyticalErrorPropagation::operator()(), operator<<(), Geant4ePropagator::propagate(), MuonUpdatorAtVertex::propagate(), StraightLinePropagator::propagatedState(), AnalyticalPropagator::propagatedStateWithPath(), StraightLinePropagator::propagateWithPath(), RoadSearchTrackCandidateMakerAlgorithm::run(), SteppingHelixStateInfo::SteppingHelixStateInfo(), and TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint().
{ return theCurvilinearErrorValid || theCartesianErrorValid; }
void FreeTrajectoryState::missingError | ( | ) | [static] |
Definition at line 8 of file FreeTrajectoryState.cc.
Referenced by cartesianError(), and curvilinearError().
{ throw TrajectoryStateException( "FreeTrajectoryState: attempt to access errors when none available"); }
GlobalVector FreeTrajectoryState::momentum | ( | ) | const [inline] |
Definition at line 81 of file FreeTrajectoryState.h.
References GlobalTrajectoryParameters::momentum(), and theGlobalParameters.
Referenced by TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), MuonErrorMatrix::adjust(), ValidationMisalignedTracker::analyze(), ElectronSeedAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), TestOutliers::analyze(), HLTPMMassFilter::approxMomAtVtx(), CosmicMuonTrajectoryBuilder::build(), TransientTrackKinematicStateBuilder::buildState(), DAFTrackProducerAlgorithm::buildTrack(), MTFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonTrackLoader::buildTrackUpdatedAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), canReach(), DirectMuonNavigation::checkCompatible(), TrackerSeedCleaner::clean(), DirectMuonNavigation::compatibleEndcapLayers(), PixelHitMatcher::compatibleHits(), DirectMuonNavigation::compatibleLayers(), SimpleBarrelNavigableLayer::compatibleLayers(), SimpleForwardNavigableLayer::compatibleLayers(), PixelHitMatcher::compatibleSeeds(), PerigeeLinearizedTrackState::computeChargedJacobians(), PerigeeLinearizedTrackState::computeNeutralJacobians(), HTrack::computePull(), HTrack::computeResolution(), HTrack::computeTDRResolution(), ReferenceTrajectory::construct(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), TransverseImpactPointExtrapolator::doExtrapolation(), MuonPatternRecoDumper::dumpFTS(), CSCEfficiency::efficienciesPerChamber(), PropagateToMuon::extrapolate(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), HTrack::Fill(), TrackDetectorAssociator::fillCaloTruth(), GsfTrackProducerBase::fillMode(), MuonTrackAnalyzer::fillPlots(), PerigeeConversions::ftsToPerigeeParameters(), CSCEfficiency::getFromFTS(), SETFilter::getFromFTS(), HDetIdAssociator::getTrajectory(), BasicSingleTrajectoryState::globalDirection(), BasicSingleTrajectoryState::globalMomentum(), TrackDetMatchInfo::insideCone(), TrajectoryStateAccessor::inversePtError(), TSGForRoadSearch::IPfts(), MuonNavigableLayer::isInsideOut(), PerigeeConversions::jacobianCurvilinear2Perigee(), MuonErrorMatrixAdjuster::makeTrack(), CosmicParametersDefinerForTP::momentum(), SimpleForwardNavigableLayer::nextLayers(), SimpleBarrelNavigableLayer::nextLayers(), CosmicTrackingParticleSelector::operator()(), TrimmedTrackFilter::operator()(), CrossingPtBasedLinearizationPointFinder::CompareTwoTracks::operator()(), StateOnTrackerBound::operator()(), PropagationDirectionChooser::operator()(), DirectTrackerNavigation::outward(), DirectMuonNavigation::outward(), TrackAssociatorByChi2::parametersAtClosestApproach(), TrackKinematicStatePropagator::planeCrossing(), CtfSpecialSeedGenerator::postCheck(), TrackCandidateProducer::produce(), TrajectorySeedProducer::produce(), cms::HITrackVertexMaker::produceTracks(), RKPropagatorInZ::propagate(), Geant4ePropagator::propagate(), RKPropagatorInR::propagate(), StraightLinePropagator::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), AnalyticalPropagator::propagateParametersOnPlane(), StraightLinePropagator::propagateParametersOnPlane(), StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS(), AnalyticalPropagator::propagateWithPath(), HICTrajectoryBuilder::qualityFilter(), TrackClassifier::reconstructionInformation(), StandAloneMuonFilter::refit(), MuonTrackingRegionBuilder::region(), SeedFromGenericPairOrTriplet::seedFromTriplet(), SeedFilter::seeds(), TrackAlgoCompareUtil::SetTrackingParticleD0Dz(), SteppingHelixStateInfo::SteppingHelixStateInfo(), CSCEfficiency::stripWire_Efficiencies(), MinPtTrajectoryFilter::test(), ThresholdPtTrajectoryFilter::test(), reco::TransientTrackFromFTS::track(), StandAloneMuonTrajectoryBuilder::trajectories(), and HICTrajectoryBuilder::updateTrajectory().
{ return theGlobalParameters.momentum(); }
const GlobalTrajectoryParameters& FreeTrajectoryState::parameters | ( | void | ) | const [inline] |
Definition at line 101 of file FreeTrajectoryState.h.
References theGlobalParameters.
Referenced by TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), MuonErrorMatrix::adjust(), LayerCollector::allLayers(), cms::DiMuonSeedGeneratorHIC::barrelUpdateSeed(), TransientTrackKinematicStateBuilder::buildState(), TangentApproachInRPhi::calculate(), TwoTrackMinimumDistance::calculate(), ClosestApproachInRPhi::calculate(), cms::FastMuPropagator::checkfts(), SimpleBarrelNavigableLayer::compatibleLayers(), SimpleForwardNavigableLayer::compatibleLayers(), HICTrajectoryCorrector::correct(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), MuonPatternRecoDumper::dumpFTS(), cms::HICSeedMeasurementEstimator::estimate(), TrajectoryExtrapolatorToLine::extrapolate(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), HICTrajectoryBuilder::findCompatibleMeasurements(), cms::HICTkOuterStartingLayerFinder::findForwardLayers(), HICTrajectoryCorrector::findPhiInVertex(), HICMuonUpdator::findPhiInVertex(), cms::DiMuonSeedGeneratorHIC::forwardUpdateSeed(), PerigeeConversions::ftsToPerigeeParameters(), BasicSingleTrajectoryState::globalParameters(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectoryFromTriplet(), PerigeeConversions::jacobianCurvilinear2Perigee(), SimpleForwardNavigableLayer::nextLayers(), SimpleBarrelNavigableLayer::nextLayers(), AnalyticalErrorPropagation::operator()(), operator<<(), PerigeeKinematicState::PerigeeKinematicState(), TrackKinematicStatePropagator::planeCrossing(), SimpleCosmicBONSeeder::pqFromHelixFit(), ConvBremSeedProducer::produce(), cms::HICMuonPropagator::propagate(), cms::FastMuPropagator::propagate(), MuonUpdatorAtVertex::propagate(), AnalyticalPropagator::propagatedStateWithPath(), rescaleError(), SeedGeneratorForCosmics::seeds(), StartingLayerFinder::startingLayers(), cms::HICTkOuterStartingLayerFinder::startingLayers(), MinPtTrajectoryFilter::test(), ThresholdPtTrajectoryFilter::test(), TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), and HICMuonUpdator::updateBarrel().
{ return theGlobalParameters; }
GlobalPoint FreeTrajectoryState::position | ( | void | ) | const [inline] |
Definition at line 78 of file FreeTrajectoryState.h.
References GlobalTrajectoryParameters::position(), and theGlobalParameters.
Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), ValidationMisalignedTracker::analyze(), ElectronSeedAnalyzer::analyze(), TrackBuildingAnalyzer::analyze(), TestOutliers::analyze(), MuonAlignmentAnalyzer::analyze(), TrackDetectorAssociator::associate(), CosmicMuonTrajectoryBuilder::build(), TransientTrackKinematicStateBuilder::buildState(), MTFTrackProducerAlgorithm::buildTrack(), DAFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonSeedTrack::buildTrackAtPCA(), MuonTrackLoader::buildTrackAtPCA(), MuonTrackLoader::buildTrackUpdatedAtPCA(), TangentApproachInRPhi::calculate(), ClosestApproachInRPhi::calculate(), reco::TrackTransientTrack::calculateTSOSAtVertex(), reco::TransientTrackFromFTS::calculateTSOSAtVertex(), reco::GsfTransientTrack::calculateTSOSAtVertex(), canReach(), DirectTrackerNavigation::checkCompatible(), DirectMuonNavigation::checkCompatible(), TrackerSeedCleaner::clean(), PixelHitMatcher::compatibleHits(), DirectTrackerNavigation::compatibleLayers(), DirectMuonNavigation::compatibleLayers(), SimpleBarrelNavigableLayer::compatibleLayers(), SimpleForwardNavigableLayer::compatibleLayers(), PixelHitMatcher::compatibleSeeds(), PerigeeLinearizedTrackState::computeChargedJacobians(), PerigeeLinearizedTrackState::computeJacobians(), PerigeeLinearizedTrackState::computeNeutralJacobians(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), SimpleNavigableLayer::crossingState(), BeamHaloPropagator::crossingTk(), TransverseImpactPointExtrapolator::doExtrapolation(), MuonPatternRecoDumper::dumpFTS(), PropagateToMuon::extrapolate(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), CSCEfficiency::filter(), PerigeeConversions::ftsToPerigeeParameters(), EcalShowerProperties::getEndpoints(), SETFilter::getFromFTS(), CSCEfficiency::getFromFTS(), SteppingHelixStateInfo::getStateOnSurface(), TrackDetectorAssociator::getTAMuonChamberMatches(), HDetIdAssociator::getTrajectory(), BasicSingleTrajectoryState::globalPosition(), reco::TrackTransientTrack::impactPointTSCP(), reco::GsfTransientTrack::impactPointTSCP(), reco::TransientTrackFromFTS::impactPointTSCP(), SmartPropagator::insideTkVol(), TSGForRoadSearch::IPfts(), MuonNavigableLayer::isInsideOut(), PerigeeConversions::jacobianCurvilinear2Perigee(), SimpleForwardNavigableLayer::nextLayers(), SimpleBarrelNavigableLayer::nextLayers(), CosmicTrackingParticleSelector::operator()(), AnalyticalErrorPropagation::operator()(), StateOnTrackerBound::operator()(), TSCPBuilderNoMaterial::operator()(), PropagationDirectionChooser::operator()(), TransientTrackKinematicStateBuilder::operator()(), DirectTrackerNavigation::outward(), DirectMuonNavigation::outward(), TrackAssociatorByChi2::parametersAtClosestApproach(), TrackKinematicStatePropagator::planeCrossing(), CtfSpecialSeedGenerator::postCheck(), MuonErrorMatrixAdjuster::produce(), cms::HITrackVertexMaker::produceTracks(), RKPropagatorInZ::propagate(), Geant4ePropagator::propagate(), RKPropagatorInR::propagate(), StraightLinePropagator::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), AnalyticalPropagator::propagateParametersOnPlane(), StraightLinePropagator::propagateParametersOnPlane(), AnalyticalPropagator::propagateWithPath(), MuonBarrelNavigableLayer::pushResult(), HICTrajectoryBuilder::qualityFilter(), CSCEfficiency::recHitSegment_Efficiencies(), TrackClassifier::reconstructionInformation(), TrackAlgoCompareUtil::SetTrackingParticleD0Dz(), SteppingHelixStateInfo::SteppingHelixStateInfo(), reco::TransientTrackFromFTS::track(), MuonNavigableLayer::trackingRange(), TrajectoryStateClosestToBeamLine::transverseImpactParameter(), HICTrajectoryBuilder::updateTrajectory(), CosmicParametersDefinerForTP::vertex(), and SimpleNavigableLayer::wellInside().
{ return theGlobalParameters.position(); }
void FreeTrajectoryState::rescaleError | ( | double | factor | ) |
Definition at line 41 of file FreeTrajectoryState.cc.
References createCartesianError(), createCurvilinearError(), PV3DBase< T, PVType, FrameType >::mag2(), GlobalTrajectoryParameters::magneticFieldInInverseGeV(), parameters(), theCartesianError, theCartesianErrorValid, theCurvilinearError, theCurvilinearErrorValid, and CurvilinearTrajectoryError::zeroFieldScaling().
Referenced by TSGFromPropagation::adjust(), FastTSGFromPropagation::adjust(), and SimpleCosmicBONSeeder::seeds().
{ bool zeroField = parameters().magneticFieldInInverseGeV(GlobalPoint(0,0,0)).mag2()==0; if (zeroField) { if (theCartesianErrorValid){ if (!theCurvilinearErrorValid) createCurvilinearError(); theCurvilinearError.zeroFieldScaling(factor*factor); createCartesianError(); }else if (theCurvilinearErrorValid) theCurvilinearError.zeroFieldScaling(factor*factor); } else{ if (theCartesianErrorValid){ theCartesianError *= (factor*factor); } if (theCurvilinearErrorValid){ theCurvilinearError *= (factor*factor); } } }
void FreeTrajectoryState::setCartesianError | ( | const CartesianTrajectoryError & | err | ) | [inline] |
Definition at line 119 of file FreeTrajectoryState.h.
References theCartesianError, and theCartesianErrorValid.
{ theCartesianError = err; theCartesianErrorValid = true; }
void FreeTrajectoryState::setCartesianError | ( | const AlgebraicSymMatrix66 & | err | ) | [inline] |
Definition at line 122 of file FreeTrajectoryState.h.
References theCartesianError, and theCartesianErrorValid.
{ theCartesianError = CartesianTrajectoryError(err); theCartesianErrorValid = true; }
void FreeTrajectoryState::setCurvilinearError | ( | const AlgebraicSymMatrix55 & | err | ) | [inline] |
Definition at line 128 of file FreeTrajectoryState.h.
References theCurvilinearError, and theCurvilinearErrorValid.
{ theCurvilinearError = CurvilinearTrajectoryError(err); theCurvilinearErrorValid = true; }
void FreeTrajectoryState::setCurvilinearError | ( | const CurvilinearTrajectoryError & | err | ) | [inline] |
Definition at line 125 of file FreeTrajectoryState.h.
References theCurvilinearError, and theCurvilinearErrorValid.
Referenced by FastElectronSeedGenerator::prepareElTrackSeed().
{ theCurvilinearError = err; theCurvilinearErrorValid = true; }
double FreeTrajectoryState::signedInverseMomentum | ( | ) | const [inline] |
Definition at line 87 of file FreeTrajectoryState.h.
References GlobalTrajectoryParameters::signedInverseMomentum(), and theGlobalParameters.
Referenced by HTrack::computeTDRResolution(), PerigeeConversions::jacobianCurvilinear2Perigee(), and BasicSingleTrajectoryState::signedInverseMomentum().
{ return theGlobalParameters.signedInverseMomentum(); }
double FreeTrajectoryState::transverseCurvature | ( | ) | const [inline] |
Definition at line 90 of file FreeTrajectoryState.h.
References theGlobalParameters, and GlobalTrajectoryParameters::transverseCurvature().
Referenced by canReach(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPoint(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TransverseImpactPointExtrapolator::doExtrapolation(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), ConversionFastHelix::helixStateAtVertex(), PerigeeConversions::jacobianCurvilinear2Perigee(), TrackKinematicStatePropagator::planeCrossing(), AnalyticalPropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), AnalyticalPropagator::propagateParametersOnPlane(), AnalyticalPropagator::propagateWithPath(), ConversionFastHelix::straightLineStateAtVertex(), and BasicSingleTrajectoryState::transverseCurvature().
{ return theGlobalParameters.transverseCurvature(); }
Definition at line 142 of file FreeTrajectoryState.h.
Referenced by cartesianError(), createCurvilinearError(), rescaleError(), and setCartesianError().
bool FreeTrajectoryState::theCartesianErrorValid [private] |
Definition at line 144 of file FreeTrajectoryState.h.
Referenced by cartesianError(), hasCartesianError(), hasError(), rescaleError(), and setCartesianError().
Definition at line 143 of file FreeTrajectoryState.h.
Referenced by createCartesianError(), curvilinearError(), rescaleError(), and setCurvilinearError().
bool FreeTrajectoryState::theCurvilinearErrorValid [private] |
Definition at line 145 of file FreeTrajectoryState.h.
Referenced by curvilinearError(), hasCurvilinearError(), hasError(), rescaleError(), and setCurvilinearError().
Definition at line 141 of file FreeTrajectoryState.h.
Referenced by charge(), createCartesianError(), createCurvilinearError(), momentum(), parameters(), position(), signedInverseMomentum(), and transverseCurvature().