#include <LocalTrajectoryParameters.h>
Public Member Functions | |
float | absdz () const |
TrackCharge | charge () const |
Charge (-1, 0 or 1) More... | |
LocalVector | direction () const |
Momentum vector unit in the local frame. More... | |
LocalVector | directionNotNormalized () const |
Momentum vector unit in the local frame. More... | |
float | dxdz () const |
float | dydz () const |
LocalTrajectoryParameters () | |
LocalTrajectoryParameters (const AlgebraicVector5 &v, float aPzSign, bool charged=true) | |
LocalTrajectoryParameters (float aQbp, float aDxdz, float aDydz, float aX, float aY, float aPzSign, bool charged=true) | |
LocalTrajectoryParameters (const LocalPoint &pos, const LocalVector &p, TrackCharge charge) | |
Constructor from local position, momentum and charge. More... | |
AlgebraicVector5 | mixedFormatVector () const |
LocalVector | momentum () const |
Momentum vector in the local frame. More... | |
LocalPoint | position () const |
Local x and y position coordinates. More... | |
float | pzSign () const |
Sign of the z-component of the momentum in the local frame. More... | |
float | qbp () const |
float | signedInverseMomentum () const |
Signed inverse momentum q/p (zero for neutrals). More... | |
bool | updateP (float dP) |
Update of momentum by a scalar dP. More... | |
AlgebraicVector5 | vector () const |
Private Attributes | |
short | theCharge |
charge More... | |
float | theDxdz |
tangent of direction in local x vs. z More... | |
float | theDydz |
tangent of direction in local y vs. z More... | |
short | thePzSign |
sign of local pz More... | |
float | theQbp |
q/p (charged) or 1/p (neutral) More... | |
float | theX |
local x position More... | |
float | theY |
local y position More... | |
Class providing access to a set of relevant parameters of a trajectory in a local, Cartesian frame. The set consists of the following parameters:
q/p : charged particles: charge (plus or minus one) divided by magnitude of momentum
neutral particles: inverse magnitude of momentum
dxdz : direction tangent in local xz-plane
dydz : direction tangent in local yz-plane
x : local x-coordinate
y : local y-coordinate
In addition, the sign of local p_z is needed to fully define the direction of the track in this local frame.
Definition at line 25 of file LocalTrajectoryParameters.h.
|
inline |
Definition at line 29 of file LocalTrajectoryParameters.h.
|
inline |
Constructor from vector of parameters.
Expects a vector of parameters as defined above, plus the sign of p_z. For charged particles the charge will be determined by the sign of the first element. For neutral particles the last argument should be false, in which case the charge of the first element will be neglected.
Definition at line 38 of file LocalTrajectoryParameters.h.
References theCharge, theDxdz, theDydz, thePzSign, theQbp, theX, theY, and findQualityFiles::v.
|
inline |
Constructor from individual parameters.
Expects parameters as defined above, plus the sign of p_z. For charged particles the charge will be determined by the sign of the first argument. For neutral particles the last argument should be false, in which case the charge of the first argument will be neglected.
Definition at line 58 of file LocalTrajectoryParameters.h.
References theCharge, and theQbp.
|
inline |
Constructor from local position, momentum and charge.
Definition at line 70 of file LocalTrajectoryParameters.h.
References charge(), AlCaHLTBitMon_ParallelJobs::p, and theQbp.
|
inline |
Definition at line 161 of file LocalTrajectoryParameters.h.
References f, mathSSE::sqrt(), theDxdz, and theDydz.
|
inline |
Charge (-1, 0 or 1)
Definition at line 110 of file LocalTrajectoryParameters.h.
References theCharge.
Referenced by BzeroReferenceTrajectory::BzeroReferenceTrajectory(), reco::ElectronSeed::getCharge(), L2TauNNProducerAlpaka::impactParameter(), L2TauNNProducer::impactParameter(), JacobianCartesianToLocal::JacobianCartesianToLocal(), JacobianLocalToCartesian::JacobianLocalToCartesian(), LocalTrajectoryParameters(), operator<<(), PrintRecoObjects::print(), SeedProducerFromSoAT< TrackerTraits >::produce(), PixelTrackProducerFromSoAAlpaka< TrackerTraits >::produce(), PixelTrackProducerFromSoAT< TrackerTraits >::produce(), and signedInverseMomentum().
|
inline |
Momentum vector unit in the local frame.
Definition at line 99 of file LocalTrajectoryParameters.h.
References PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, f, nano_mu_digi_cff::float, mathSSE::sqrt(), theDxdz, theDydz, and thePzSign.
Referenced by JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), and JacobianLocalToCurvilinear::JacobianLocalToCurvilinear().
|
inline |
Momentum vector unit in the local frame.
Definition at line 107 of file LocalTrajectoryParameters.h.
References f, theDxdz, and theDydz.
Referenced by StripCPE::getAlgoParam(), and TkClonerImpl::operator()().
|
inline |
Definition at line 159 of file LocalTrajectoryParameters.h.
References theDxdz.
Referenced by PixelCPEBase::computeAnglesFromTrajectory(), JacobianLocalToCartesian::JacobianLocalToCartesian(), and SiPixelLorentzAnglePCLWorker::surface_deformation().
|
inline |
Definition at line 160 of file LocalTrajectoryParameters.h.
References theDydz.
Referenced by PixelCPEBase::computeAnglesFromTrajectory(), JacobianLocalToCartesian::JacobianLocalToCartesian(), and SiPixelLorentzAnglePCLWorker::surface_deformation().
|
inline |
Vector of parameters in internal representation.
Vector of parameters as defined above, with the first element = q/p for charged and = 1/p for neutral.
Definition at line 135 of file LocalTrajectoryParameters.h.
References theDxdz, theDydz, theQbp, theX, theY, and findQualityFiles::v.
Referenced by BzeroReferenceTrajectory::BzeroReferenceTrajectory(), SiStripBackplaneCalibration::derivatives(), TwoBowedSurfacesAlignmentParameters::derivatives(), DualBzeroReferenceTrajectory::extractParameters(), DualReferenceTrajectory::extractParameters(), SegmentAlignmentDerivatives4D::operator()(), KarimakiAlignmentDerivatives::operator()(), BowedSurfaceAlignmentDerivatives::operator()(), operator<<(), and ReferenceTrajectory::ReferenceTrajectory().
|
inline |
Momentum vector in the local frame.
Definition at line 88 of file LocalTrajectoryParameters.h.
References funct::abs(), MillePedeFileConverter_cfg::e, f, nano_mu_digi_cff::float, findAndChange::op, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, mathSSE::sqrt(), theDxdz, theDydz, thePzSign, and theQbp.
Referenced by SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), TwoBodyDecayTrajectory::constructSingleTsosWithErrors(), SiPixelHitEfficiencyModule::fill(), L2TauNNProducerAlpaka::impactParameter(), L2TauNNProducer::impactParameter(), JacobianCartesianToLocal::JacobianCartesianToLocal(), BasicTrajectoryState::localMomentum(), StripCPEgeometric::localParameters(), PrintRecoObjects::print(), SeedProducerFromSoAT< TrackerTraits >::produce(), PixelTrackProducerFromSoAAlpaka< TrackerTraits >::produce(), PixelTrackProducerFromSoAT< TrackerTraits >::produce(), and TrackInfoProducerAlgorithm::run().
|
inline |
Local x and y position coordinates.
Definition at line 85 of file LocalTrajectoryParameters.h.
Referenced by PixelCPEBase::computeAnglesFromTrajectory(), OutInConversionSeedFinder::createSeed(), SiPixelHitEfficiencyModule::fill(), KFTrajectoryFitter::fitOne(), StripCPE::getAlgoParam(), L2TauNNProducerAlpaka::impactParameter(), L2TauNNProducer::impactParameter(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), JacobianLocalToCurvilinear::JacobianLocalToCurvilinear(), StripCPEgeometric::localParameters(), BasicTrajectoryState::localPosition(), SeedProducerFromSoAT< TrackerTraits >::produce(), PixelTrackProducerFromSoAAlpaka< TrackerTraits >::produce(), PixelTrackProducerFromSoAT< TrackerTraits >::produce(), and TrackInfoProducerAlgorithm::run().
|
inline |
Sign of the z-component of the momentum in the local frame.
Definition at line 146 of file LocalTrajectoryParameters.h.
References thePzSign.
Referenced by BzeroReferenceTrajectory::BzeroReferenceTrajectory(), TrajectoryStateCombiner::combine(), JacobianLocalToCartesian::JacobianLocalToCartesian(), GlobalTrackerMuonAlignment::misalignMuonL(), multiTrajectoryStateMode::momentumFromModeLocal(), GsfTrackProducerBase::putInEvt(), MultiGaussianStateTransform::tsosFromSingleState(), and KFStrip1DUpdator::update().
|
inline |
Definition at line 158 of file LocalTrajectoryParameters.h.
References theQbp.
Referenced by KFTrajectoryFitter::fitOne(), and JacobianLocalToCartesian::JacobianLocalToCartesian().
|
inline |
Signed inverse momentum q/p (zero for neutrals).
Definition at line 113 of file LocalTrajectoryParameters.h.
References charge(), and theQbp.
Referenced by ReferenceTrajectory::construct(), TwoBodyDecayTrajectory::constructSingleTsosWithErrors(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), JacobianLocalToCurvilinear::JacobianLocalToCurvilinear(), NuclearInteractionFinder::rescaleError(), and vector().
|
inline |
Update of momentum by a scalar dP.
Definition at line 149 of file LocalTrajectoryParameters.h.
References funct::abs(), f, AlCaHLTBitMon_ParallelJobs::p, and theQbp.
Referenced by GsfMaterialEffectsUpdator::updateState(), and MaterialEffectsUpdator::updateStateInPlace().
|
inline |
Vector of parameters with signed inverse momentum.
Vector of parameters as defined above, with the first element = q/p .
Definition at line 120 of file LocalTrajectoryParameters.h.
References signedInverseMomentum(), theDxdz, theDydz, theX, theY, and findQualityFiles::v.
Referenced by GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), OverlapValidation::analyzeTrajectory(), SiTrackerMultiRecHitUpdator::calcParameters(), CollinearFitAtTM2::CollinearFitAtTM2(), TrajectoryStateCombiner::combine(), GsfTrackProducerBase::computeModeAtTM(), PFGsfHelper::computeQpMode(), SiTrackerMultiRecHitUpdator::ComputeWeight(), GlobalTrackerMuonAlignment::debugTrajectorySOS(), GlobalTrackerMuonAlignment::debugTrajectorySOSv(), MRHChi2MeasurementEstimator::estimate(), CollinearFitAtTM::fit(), HitResol::getPairParameters(), StripCPEgeometric::localParameters(), StripCPEfromTrackAngle::localParameters(), GsfTrackProducerBase::localParametersFromQpMode(), GlobalMuonTrackMatcher::match_Chi2(), TSGForOIFromL2::match_Chi2(), SeedMatcher::matchSimTrack(), MeasurementExtractor::measuredParameters(), GlobalTrackerMuonAlignment::misalignMuonL(), TRecHit5DParamConstraint::parameters(), TrackAssociatorByPositionImpl::quality(), ChargeSignificanceTrajectoryFilter::TBC(), Strip1DMeasurementTransformator::trajectoryParameters(), Tsos2DPhi::Tsos2DPhi(), Tsos2DZed::Tsos2DZed(), and Tsos4D::Tsos4D().
|
private |
charge
Definition at line 172 of file LocalTrajectoryParameters.h.
Referenced by charge(), and LocalTrajectoryParameters().
|
private |
tangent of direction in local x vs. z
Definition at line 165 of file LocalTrajectoryParameters.h.
Referenced by absdz(), direction(), directionNotNormalized(), dxdz(), LocalTrajectoryParameters(), mixedFormatVector(), momentum(), and vector().
|
private |
tangent of direction in local y vs. z
Definition at line 166 of file LocalTrajectoryParameters.h.
Referenced by absdz(), direction(), directionNotNormalized(), dydz(), LocalTrajectoryParameters(), mixedFormatVector(), momentum(), and vector().
|
private |
sign of local pz
Definition at line 170 of file LocalTrajectoryParameters.h.
Referenced by direction(), LocalTrajectoryParameters(), momentum(), and pzSign().
|
private |
q/p (charged) or 1/p (neutral)
Definition at line 164 of file LocalTrajectoryParameters.h.
Referenced by LocalTrajectoryParameters(), mixedFormatVector(), momentum(), qbp(), signedInverseMomentum(), and updateP().
|
private |
local x position
Definition at line 167 of file LocalTrajectoryParameters.h.
Referenced by LocalTrajectoryParameters(), mixedFormatVector(), position(), and vector().
|
private |
local y position
Definition at line 168 of file LocalTrajectoryParameters.h.
Referenced by LocalTrajectoryParameters(), mixedFormatVector(), position(), and vector().