#include <GlobalTrajectoryParameters.h>
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.
GlobalTrajectoryParameters::GlobalTrajectoryParameters | ( | const GlobalPoint & | aX, |
const GlobalVector & | aP, | ||
TrackCharge | aCharge, | ||
const MagneticField * | fieldProvider | ||
) |
Constructing class from global position, global momentum and charge.
Definition at line 38 of file GlobalTrajectoryParameters.cc.
References cachedMagneticField, MagneticField::inTesla(), theField, and theX.
GlobalTrajectoryParameters::GlobalTrajectoryParameters | ( | const GlobalPoint & | aX, |
const GlobalVector & | aP, | ||
TrackCharge | aCharge, | ||
const MagneticField * | fieldProvider, | ||
GlobalVector | fieldValue | ||
) |
Definition at line 52 of file GlobalTrajectoryParameters.cc.
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 78 of file GlobalTrajectoryParameters.h.
References theCharge.
Referenced by TwoTrackMinimumDistanceLineLine::calculate(), FreeTrajectoryState::charge(), MuonPatternRecoDumper::dumpFTS(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), JacobianCartesianToCurvilinear::JacobianCartesianToCurvilinear(), JacobianCurvilinearToCartesian::JacobianCurvilinearToCartesian(), ConvBremSeedProducer::produce(), TangentApproachInRPhi::trajectoryParameters(), and TwoTrackMinimumDistanceHelixHelix::updateCoeffs().
|
inline |
Definition at line 71 of file GlobalTrajectoryParameters.h.
References theP, and Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 130 of file GlobalTrajectoryParameters.h.
References theField.
Referenced by TangentApproachInRPhi::calculate(), TwoTrackMinimumDistanceLineLine::calculate(), TrajectoryStateCombiner::combine(), fastProp(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), KinematicState::magneticField(), BasicTrajectoryState::magneticField(), TrajectoryStateWithArbitraryError::operator()(), RecHitPropagator::propagate(), NuclearInteractionFinder::rescaleError(), FreeTrajectoryState::rescaleError(), TangentApproachInRPhi::trajectoryParameters(), TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), GsfMultiStateUpdator::update(), TwoTrackMinimumDistanceHelixHelix::updateCoeffs(), GsfMaterialEffectsUpdator::updateState(), and VolumeMaterialEffectsUpdator::updateState().
GlobalVector GlobalTrajectoryParameters::magneticFieldInInverseGeV | ( | const GlobalPoint & | x | ) | const |
Definition at line 64 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(), and operator<<().
|
inline |
Definition at line 122 of file GlobalTrajectoryParameters.h.
References cachedMagneticField, and f.
|
inline |
Definition at line 126 of file GlobalTrajectoryParameters.h.
References cachedMagneticField.
Referenced by BasicTrajectoryState::update().
|
inline |
Global momentum.
Definition at line 67 of file GlobalTrajectoryParameters.h.
References theP.
Referenced by ReferenceTrajectory::addMaterialEffectsBrl(), analyticalErrorPropagation(), MuonTrackLoader::buildTrackExtra(), TwoTrackMinimumDistanceLineLine::calculate(), VZeroFinder::checkTrackPair(), PixelClusterShapeSeedComparitor::compatible(), AnalyticalCurvilinearJacobian::computeFullJacobian(), AnalyticalCurvilinearJacobian::computeInfinitesimalJacobian(), AnalyticalCurvilinearJacobian::computeStraightLineJacobian(), NuclearTrackCorrector::getNewTrackExtra(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), JacobianCartesianToCurvilinear::JacobianCartesianToCurvilinear(), JacobianCurvilinearToCartesian::JacobianCurvilinearToCartesian(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), PerigeeConversions::jacobianPerigee2Curvilinear(), SeedFromConsecutiveHitsCreator::makeSeed(), FreeTrajectoryState::momentum(), ConvBremSeedProducer::produce(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), KalmanAlignmentTrackRefitter::refitSingleTracklet(), TangentApproachInRPhi::trajectoryParameters(), SeedForPhotonConversion1Leg::trajectorySeed(), and TwoTrackMinimumDistanceHelixHelix::updateCoeffs().
|
inline |
Global position.
Definition at line 60 of file GlobalTrajectoryParameters.h.
References theX.
Referenced by ReferenceTrajectory::addMaterialEffectsBrl(), analyticalErrorPropagation(), MuonTrackLoader::buildTrackExtra(), TwoTrackMinimumDistanceHelixHelix::calculate(), TwoTrackMinimumDistanceLineLine::calculate(), PixelClusterShapeSeedComparitor::compatible(), PixelHitMatcher::compatibleSeeds(), AnalyticalCurvilinearJacobian::computeFullJacobian(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), TwoTrackMinimumDistanceHelixHelix::finalPoints(), NuclearTrackCorrector::getNewTrackExtra(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), FreeTrajectoryState::position(), ConvBremSeedProducer::produce(), TauTagTools::propagTrackECALSurfContactPoint(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), TangentApproachInRPhi::trajectoryParameters(), and TwoTrackMinimumDistanceHelixHelix::updateCoeffs().
|
inline |
Charge divided by (magnitude of) momentum, i.e. q/p.
Definition at line 85 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 92 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 101 of file GlobalTrajectoryParameters.h.
References cachedMagneticField, f, signedInverseTransverseMomentum(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by AnalyticalCurvilinearJacobian::AnalyticalCurvilinearJacobian(), GlobalTrajectoryParameters(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), 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 109 of file GlobalTrajectoryParameters.h.
References theP, theX, 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 137 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), magneticFieldInInverseGeV(), magneticFieldInTesla(), and transverseCurvature().
|
private |
Definition at line 138 of file GlobalTrajectoryParameters.h.
Referenced by charge(), GlobalTrajectoryParameters(), signedInverseMomentum(), and signedInverseTransverseMomentum().
|
private |
Definition at line 134 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), magneticField(), and magneticFieldInInverseGeV().
|
private |
Definition at line 136 of file GlobalTrajectoryParameters.h.
Referenced by direction(), GlobalTrajectoryParameters(), momentum(), signedInverseMomentum(), signedInverseTransverseMomentum(), and vector().
|
private |
Definition at line 135 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), position(), and vector().