#include <GlobalTrajectoryParameters.h>
Private Member Functions | |
void | setCache () |
Private Attributes | |
GlobalVector | cachedMagneticField |
signed char | theCharge |
const MagneticField * | theField |
GlobalVector | theP |
GlobalPoint | theX |
Class providing access to a set of relevant parameters of a trajectory in the global, Cartesian frame. The basic data members used to calculate these parameters are the charge and global position and momentum.
Definition at line 15 of file GlobalTrajectoryParameters.h.
|
inline |
Definition at line 18 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters().
|
inline |
Constructing class from global position, global momentum and charge.
Definition at line 27 of file GlobalTrajectoryParameters.h.
References setCache().
|
inline |
Definition at line 37 of file GlobalTrajectoryParameters.h.
References direction(), GlobalTrajectoryParameters(), and transverseCurvature().
GlobalTrajectoryParameters::GlobalTrajectoryParameters | ( | const GlobalPoint & | aX, |
const GlobalVector & | direction, | ||
float | transverseCurvature, | ||
int | , | ||
const MagneticField * | fieldProvider | ||
) |
Constructing class from global position, direction (unit length) and transverse curvature. The fourth int argument is dummy, it serves only to distinguish this constructor from the one above.
Definition at line 5 of file GlobalTrajectoryParameters.cc.
References funct::abs(), cachedMagneticField, f, MagneticField::inTesla(), PV3DBase< T, PVType, FrameType >::perp(), theCharge, theField, theP, theX, transverseCurvature(), and PV3DBase< T, PVType, FrameType >::z().
GlobalTrajectoryParameters::GlobalTrajectoryParameters | ( | const GlobalPoint & | aX, |
const GlobalVector & | direction, | ||
float | transverseCurvature, | ||
int | , | ||
const MagneticField * | fieldProvider, | ||
GlobalVector | fieldValue | ||
) |
Definition at line 20 of file GlobalTrajectoryParameters.cc.
References funct::abs(), cachedMagneticField, f, PV3DBase< T, PVType, FrameType >::perp(), theCharge, theP, transverseCurvature(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Charge q of particle, either +1 or -1.
Definition at line 89 of file GlobalTrajectoryParameters.h.
References theCharge.
Referenced by TwoTrackMinimumDistanceLineLine::calculate(), TwoTrackMinimumDistance::calculate(), FreeTrajectoryState::charge(), MuonPatternRecoDumper::dumpFTS(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), SeedForPhotonConversion1Leg::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), ClosestApproachInRPhi::newTrajectory(), TwoTrackMinimumDistance::pointsHelixHelix(), ConvBremSeedProducer::produce(), Geant4ePropagator::propagateGeneric(), TangentApproachInRPhi::trajectoryParameters(), and TwoTrackMinimumDistanceHelixHelix::updateCoeffs().
|
inline |
Definition at line 82 of file GlobalTrajectoryParameters.h.
References theP, and Vector3DBase< T, FrameTag >::unit().
Referenced by GlobalTrajectoryParameters().
|
inline |
Definition at line 134 of file GlobalTrajectoryParameters.h.
References setCache(), and theField.
Referenced by TangentApproachInRPhi::calculate(), TwoTrackMinimumDistanceLineLine::calculate(), ClosestApproachInRPhi::calculate(), TwoTrackMinimumDistance::calculate(), TrajectoryStateCombiner::combine(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), fastProp(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), KinematicState::magneticField(), SeedFromConsecutiveHitsCreator::makeSeed(), ClosestApproachInRPhi::newTrajectory(), TSCBLBuilderNoMaterial::operator()(), TrajectoryStateWithArbitraryError::operator()(), RecHitPropagator::propagate(), Geant4ePropagator::propagateGeneric(), NuclearInteractionFinder::rescaleError(), FreeTrajectoryState::rescaleError(), TangentApproachInRPhi::trajectoryParameters(), TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), TwoTrackMinimumDistanceHelixHelix::updateCoeffs(), and GsfMaterialEffectsUpdator::updateState().
GlobalVector GlobalTrajectoryParameters::magneticFieldInInverseGeV | ( | const GlobalPoint & | x | ) | const |
Definition at line 41 of file GlobalTrajectoryParameters.cc.
References f, MagneticField::inTesla(), and theField.
Referenced by ReferenceTrajectory::addMaterialEffectsBrl(), AnalyticalCurvilinearJacobian::AnalyticalCurvilinearJacobian(), PerigeeConversions::ftsToPerigeeParameters(), PerigeeConversions::jacobianCurvilinear2Perigee(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), JacobianLocalToCurvilinear::JacobianLocalToCurvilinear(), PerigeeConversions::jacobianPerigee2Curvilinear(), KinematicState::magneticFieldInInverseGeV(), operator<<(), and TrackKinematicStatePropagator::propagateToTheTransversePCA().
|
inline |
Definition at line 126 of file GlobalTrajectoryParameters.h.
References cachedMagneticField, and f.
Referenced by vector().
|
inline |
Definition at line 130 of file GlobalTrajectoryParameters.h.
References cachedMagneticField.
Referenced by BasicTrajectoryState::notValid(), and BasicTrajectoryState::update().
|
inline |
Global momentum.
Definition at line 78 of file GlobalTrajectoryParameters.h.
References theP.
Referenced by ReferenceTrajectory::addMaterialEffectsBrl(), analyticalErrorPropagation(), MuonTrackLoader::buildTrackExtra(), TwoTrackMinimumDistanceLineLine::calculate(), TkGluedMeasurementDet::checkHitProjection(), TkGluedMeasurementDet::collectRecHits(), PixelClusterShapeSeedComparitor::compatible(), StripSubClusterShapeSeedFilter::compatible(), AnalyticalCurvilinearJacobian::computeFullJacobian(), AnalyticalCurvilinearJacobian::computeInfinitesimalJacobian(), AnalyticalCurvilinearJacobian::computeStraightLineJacobian(), NuclearTrackCorrector::getNewTrackExtra(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), SeedForPhotonConversion1Leg::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), PerigeeConversions::jacobianPerigee2Curvilinear(), SeedFromConsecutiveHitsCreator::makeSeed(), TkClonerImpl::makeShared(), FreeTrajectoryState::momentum(), ClosestApproachInRPhi::newTrajectory(), TwoTrackMinimumDistance::pointsHelixHelix(), ConvBremSeedProducer::produce(), TkGluedMeasurementDet::projectOnGluedDet(), AnalyticalPropagator::propagatedStateWithPath(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), TkGluedMeasurementDet::testStrips(), TangentApproachInRPhi::trajectoryParameters(), SeedForPhotonConversion1Leg::trajectorySeed(), and TwoTrackMinimumDistanceHelixHelix::updateCoeffs().
|
inline |
Global position.
Definition at line 71 of file GlobalTrajectoryParameters.h.
References theX.
Referenced by ReferenceTrajectory::addMaterialEffectsBrl(), analyticalErrorPropagation(), MuonTrackLoader::buildTrackExtra(), TwoTrackMinimumDistanceHelixHelix::calculate(), TwoTrackMinimumDistanceLineLine::calculate(), TwoTrackMinimumDistance::calculate(), PixelClusterShapeSeedComparitor::compatible(), StripSubClusterShapeSeedFilter::compatible(), PixelHitMatcher::compatibleSeeds(), AnalyticalCurvilinearJacobian::computeFullJacobian(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), TwoTrackMinimumDistanceHelixHelix::finalPoints(), NuclearTrackCorrector::getNewTrackExtra(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), SeedForPhotonConversion1Leg::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), ClosestApproachInRPhi::newTrajectory(), TwoTrackMinimumDistance::pointsHelixHelix(), FreeTrajectoryState::position(), ConvBremSeedProducer::produce(), AnalyticalPropagator::propagatedStateWithPath(), TauTagTools::propagTrackECALSurfContactPoint(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), TrajSeedMatcher::SCHitMatch::SCHitMatch(), TangentApproachInRPhi::trajectoryParameters(), and TwoTrackMinimumDistanceHelixHelix::updateCoeffs().
|
private |
Definition at line 35 of file GlobalTrajectoryParameters.cc.
References cachedMagneticField, MagneticField::inTesla(), theField, and theX.
Referenced by GlobalTrajectoryParameters(), and magneticField().
|
inline |
Charge divided by (magnitude of) momentum, i.e. q/p.
Definition at line 96 of file GlobalTrajectoryParameters.h.
References PV3DBase< T, PVType, FrameType >::mag(), theCharge, and theP.
Referenced by AnalyticalCurvilinearJacobian::computeFullJacobian(), AnalyticalCurvilinearJacobian::computeInfinitesimalJacobian(), PerigeeConversions::jacobianPerigee2Curvilinear(), and FreeTrajectoryState::signedInverseMomentum().
|
inline |
Charge divided by transverse momentum, i.e. q/p_T.
Definition at line 103 of file GlobalTrajectoryParameters.h.
References PV3DBase< T, PVType, FrameType >::perp(), theCharge, and theP.
Referenced by transverseCurvature().
|
inline |
Transverse curvature kappa (which is the inverse radius of curvature in the transverse plane) in cm^{-1}. Sign convention is such that positive kappa means counterclockwise rotation of the track with respect to the global z-axis.
Definition at line 112 of file GlobalTrajectoryParameters.h.
References cachedMagneticField, f, signedInverseTransverseMomentum(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by AnalyticalCurvilinearJacobian::AnalyticalCurvilinearJacobian(), GlobalTrajectoryParameters(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), GeomDetCompatibilityChecker::isCompatible(), PerigeeConversions::jacobianPerigee2Curvilinear(), and FreeTrajectoryState::transverseCurvature().
|
inline |
Vector whose first three elements are the global position coordinates and whose last three elements are the global momentum coordinates.
Definition at line 120 of file GlobalTrajectoryParameters.h.
References magneticFieldInInverseGeV(), theP, theX, x, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), operator<<(), and ThresholdPtTrajectoryFilter::test().
|
private |
Definition at line 143 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), magneticFieldInInverseGeV(), magneticFieldInTesla(), setCache(), and transverseCurvature().
|
private |
Definition at line 144 of file GlobalTrajectoryParameters.h.
Referenced by charge(), GlobalTrajectoryParameters(), signedInverseMomentum(), and signedInverseTransverseMomentum().
|
private |
Definition at line 140 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), magneticField(), magneticFieldInInverseGeV(), and setCache().
|
private |
Definition at line 142 of file GlobalTrajectoryParameters.h.
Referenced by direction(), GlobalTrajectoryParameters(), momentum(), signedInverseMomentum(), signedInverseTransverseMomentum(), and vector().
|
private |
Definition at line 141 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), position(), setCache(), and vector().