#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 |
|
inline |
Constructing class from global position, global momentum and charge.
Definition at line 24 of file GlobalTrajectoryParameters.h.
References setCache().
|
inline |
Definition at line 32 of file GlobalTrajectoryParameters.h.
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, direction(), 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 18 of file GlobalTrajectoryParameters.cc.
References funct::abs(), cachedMagneticField, direction(), 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 72 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 67 of file GlobalTrajectoryParameters.h.
References theP, and Vector3DBase< T, FrameTag >::unit().
Referenced by GlobalTrajectoryParameters().
|
inline |
Definition at line 106 of file GlobalTrajectoryParameters.h.
References theField.
Referenced by TangentApproachInRPhi::calculate(), TwoTrackMinimumDistanceLineLine::calculate(), ClosestApproachInRPhi::calculate(), TwoTrackMinimumDistance::calculate(), TrajectoryStateCombiner::combine(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointNeutral(), fastProp(), SeedForPhotonConversion1Leg::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), KinematicState::magneticField(), BasicTrajectoryState::magneticField(), SeedFromConsecutiveHitsCreator::makeSeed(), ClosestApproachInRPhi::newTrajectory(), TSCBLBuilderNoMaterial::operator()(), TrajectoryStateWithArbitraryError::operator()(), RecHitPropagator::propagate(), Geant4ePropagator::propagateGeneric(), FreeTrajectoryState::rescaleError(), TangentApproachInRPhi::trajectoryParameters(), TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint(), PerigeeRefittedTrackState::trajectoryStateOnSurface(), GsfMultiStateUpdator::update(), KFStrip1DUpdator::update(), TwoTrackMinimumDistanceHelixHelix::updateCoeffs(), and GsfMaterialEffectsUpdator::updateState().
|
inline |
GlobalVector GlobalTrajectoryParameters::magneticFieldInInverseGeV | ( | const GlobalPoint & | x | ) | const |
Definition at line 35 of file GlobalTrajectoryParameters.cc.
References f, MagneticField::inTesla(), theField, and x.
Referenced by ReferenceTrajectory::addMaterialEffectsBrl(), AnalyticalCurvilinearJacobian::AnalyticalCurvilinearJacobian(), PerigeeConversions::ftsToPerigeeParameters(), PerigeeConversions::jacobianCurvilinear2Perigee(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), JacobianLocalToCurvilinear::JacobianLocalToCurvilinear(), PerigeeConversions::jacobianPerigee2Curvilinear(), KinematicState::magneticFieldInInverseGeV(), and operator<<().
|
inline |
Definition at line 104 of file GlobalTrajectoryParameters.h.
References cachedMagneticField.
Referenced by BasicTrajectoryState::update().
|
inline |
Global momentum.
Definition at line 65 of file GlobalTrajectoryParameters.h.
References theP.
Referenced by ReferenceTrajectory::addMaterialEffectsBrl(), analyticalErrorPropagation(), MuonTrackLoader::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::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(), 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 60 of file GlobalTrajectoryParameters.h.
References theX.
Referenced by ReferenceTrajectory::addMaterialEffectsBrl(), analyticalErrorPropagation(), MuonTrackLoader::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), TwoTrackMinimumDistanceHelixHelix::calculate(), TwoTrackMinimumDistanceLineLine::calculate(), TwoTrackMinimumDistance::calculate(), PixelClusterShapeSeedComparitor::compatible(), StripSubClusterShapeSeedFilter::compatible(), AnalyticalCurvilinearJacobian::computeFullJacobian(), MkFitInputConverter::convertSeeds(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), AnalyticalImpactPointExtrapolator::extrapolateSingleState(), AnalyticalTrajectoryExtrapolatorToLine::extrapolateSingleState(), TwoTrackMinimumDistanceHelixHelix::finalPoints(), NuclearTrackCorrector::getNewTrackExtra(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), SeedForPhotonConversion1Leg::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), SeedForPhotonConversionFromQuadruplets::initialKinematic(), ClosestApproachInRPhi::newTrajectory(), PixelHitMatcher::BarrelMeasurementEstimator::operator()(), PixelHitMatcher::ForwardMeasurementEstimator::operator()(), TwoTrackMinimumDistance::pointsHelixHelix(), FreeTrajectoryState::position(), ConvBremSeedProducer::produce(), AnalyticalPropagator::propagatedStateWithPath(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), TangentApproachInRPhi::trajectoryParameters(), and TwoTrackMinimumDistanceHelixHelix::updateCoeffs().
|
private |
Definition at line 31 of file GlobalTrajectoryParameters.cc.
References cachedMagneticField, MagneticField::inTesla(), theField, and theX.
Referenced by GlobalTrajectoryParameters().
|
inline |
Charge divided by (magnitude of) momentum, i.e. q/p.
Definition at line 77 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 82 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 89 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 97 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 115 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), magneticFieldInInverseGeV(), magneticFieldInTesla(), setCache(), and transverseCurvature().
|
private |
Definition at line 116 of file GlobalTrajectoryParameters.h.
Referenced by charge(), GlobalTrajectoryParameters(), signedInverseMomentum(), and signedInverseTransverseMomentum().
|
private |
Definition at line 112 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), magneticField(), magneticFieldInInverseGeV(), and setCache().
|
private |
Definition at line 114 of file GlobalTrajectoryParameters.h.
Referenced by direction(), GlobalTrajectoryParameters(), momentum(), signedInverseMomentum(), signedInverseTransverseMomentum(), and vector().
|
private |
Definition at line 113 of file GlobalTrajectoryParameters.h.
Referenced by GlobalTrajectoryParameters(), position(), setCache(), and vector().