Typedefs | |
typedef FreeTrajectoryState | FTS |
namespace provides several functions to transform perigee parameters to and from various other parametrisations.
Definition at line 16 of file PerigeeConversions.h.
CurvilinearTrajectoryError PerigeeConversions::curvilinearError | ( | const PerigeeTrajectoryError & | perigeeError, |
const GlobalTrajectoryParameters & | gtp | ||
) |
Definition at line 61 of file PerigeeConversions.cc.
References PerigeeTrajectoryError::covarianceMatrix(), jacobianPerigee2Curvilinear(), and positionFromPerigee().
Referenced by TrajectoryStateClosestToPoint::calculateFTS(), and ftsToPerigeeError().
PerigeeTrajectoryError PerigeeConversions::ftsToPerigeeError | ( | const FTS & | originalFTS | ) |
Definition at line 52 of file PerigeeConversions.cc.
References curvilinearError(), FreeTrajectoryState::curvilinearError(), jacobianCurvilinear2Perigee(), and CurvilinearTrajectoryError::matrix().
Referenced by ftsToPerigeeParameters(), MatcherUsingTracksAlgorithm::getChi2(), TrackFromSeedProducer::produce(), and TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint().
PerigeeTrajectoryParameters PerigeeConversions::ftsToPerigeeParameters | ( | const FTS & | originalFTS, |
const GlobalPoint & | referencePoint, | ||
double & | pt | ||
) |
calculates the perigee parameters from a given FTS and a reference point.
Definition at line 8 of file PerigeeConversions.cc.
References funct::abs(), FreeTrajectoryState::charge(), geometryDiff::epsilon, Exception, ftsToPerigeeError(), M_PI, GlobalTrajectoryParameters::magneticFieldInInverseGeV(), FreeTrajectoryState::momentum(), FreeTrajectoryState::parameters(), PV3DBase< T, PVType, FrameType >::perp(), stringResolutionProvider_cfi::phi, PV3DBase< T, PVType, FrameType >::phi(), FreeTrajectoryState::position(), EnergyCorrector::pt, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::theta(), theta(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by MatcherUsingTracksAlgorithm::getChi2(), and TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint().
AlgebraicMatrix55 PerigeeConversions::jacobianCurvilinear2Perigee | ( | const FreeTrajectoryState & | fts | ) |
Jacobians of tranformations between curvilinear frame at point of closest approach in transverse plane and perigee frame. The fts must therefore be given at exactly this point in order to yield the correct Jacobians.
Definition at line 156 of file PerigeeConversions.cc.
References funct::abs(), alpha, TtFullHadDaughter::B, Vector3DBase< T, FrameTag >::cross(), Vector3DBase< T, FrameTag >::dot(), MillePedeFileConverter_cfg::e, class-composition::H, Exhume::I, M_PI, PV3DBase< T, PVType, FrameType >::mag(), GlobalTrajectoryParameters::magneticFieldInInverseGeV(), FreeTrajectoryState::momentum(), N, AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::parameters(), class-composition::Q, FreeTrajectoryState::signedInverseMomentum(), PV3DBase< T, PVType, FrameType >::theta(), FreeTrajectoryState::transverseCurvature(), mitigatedMETSequence_cff::U, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), DOFs::Z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by ftsToPerigeeError(), and PerigeeKinematicState::PerigeeKinematicState().
AlgebraicMatrix66 PerigeeConversions::jacobianParameters2Cartesian | ( | const AlgebraicVector3 & | momentum, |
const GlobalPoint & | position, | ||
const TrackCharge & | charge, | ||
const MagneticField * | field | ||
) |
Jacobians of tranformations between the parametrixation (x, y, z, transverse curvature, theta, phi) to Cartesian
Definition at line 124 of file PerigeeConversions.cc.
References funct::abs(), ecalTB2006H4_GenSimDigiReco_cfg::bField, alignmentValidation::c1, ALCARECOTkAlJpsiMuMu_cff::charge, MillePedeFileConverter_cfg::e, f, connectstrParser::f1, connectstrParser::f2, MagneticField::inInverseGeV(), indexGen::s2, and PV3DBase< T, PVType, FrameType >::z().
Referenced by KinematicPerigeeConversions::jacobianParameters2Kinematic(), and trajectoryStateClosestToPoint().
AlgebraicMatrix55 PerigeeConversions::jacobianPerigee2Curvilinear | ( | const GlobalTrajectoryParameters & | gtp | ) |
Definition at line 222 of file PerigeeConversions.cc.
References alpha, TtFullHadDaughter::B, Vector3DBase< T, FrameTag >::cross(), Vector3DBase< T, FrameTag >::dot(), MillePedeFileConverter_cfg::e, f, class-composition::H, Exhume::I, M_PI, PV3DBase< T, PVType, FrameType >::mag(), GlobalTrajectoryParameters::magneticFieldInInverseGeV(), GlobalTrajectoryParameters::momentum(), N, AlCaHLTBitMon_ParallelJobs::p, class-composition::Q, GlobalTrajectoryParameters::signedInverseMomentum(), PV3DBase< T, PVType, FrameType >::theta(), GlobalTrajectoryParameters::transverseCurvature(), mitigatedMETSequence_cff::U, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), DOFs::Z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by curvilinearError().
GlobalVector PerigeeConversions::momentumFromPerigee | ( | const AlgebraicVector3 & | momentum, |
const TrackCharge & | charge, | ||
const GlobalPoint & | referencePoint, | ||
const MagneticField * | field | ||
) |
returns the (Cartesian) momentum. The parameters need not be the full perigee parameters, as long as the first 3 parameters are the transverse curvature, theta and phi.
Definition at line 87 of file PerigeeConversions.cc.
References funct::abs(), MagneticField::inInverseGeV(), EnergyCorrector::pt, trajectoryStateClosestToPoint(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by TrajectoryStateClosestToPoint::calculateFTS(), TrajectoryStateClosestToPoint::momentum(), momentumFromPerigee(), positionFromPerigee(), and trajectoryStateClosestToPoint().
GlobalVector PerigeeConversions::momentumFromPerigee | ( | const PerigeeTrajectoryParameters & | parameters, |
double | pt, | ||
const GlobalPoint & | referencePoint | ||
) |
returns the (Cartesian) momentum from the PerigeeTrajectoryParameters
Definition at line 78 of file PerigeeConversions.cc.
References momentumFromPerigee(), PerigeeTrajectoryParameters::phi(), and PerigeeTrajectoryParameters::theta().
GlobalPoint PerigeeConversions::positionFromPerigee | ( | const PerigeeTrajectoryParameters & | parameters, |
const GlobalPoint & | referencePoint | ||
) |
returns the position (on the helix) at which the parameters are defined
Definition at line 68 of file PerigeeConversions.cc.
References momentumFromPerigee(), PerigeeTrajectoryParameters::vector(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by TrajectoryStateClosestToPoint::calculateFTS(), curvilinearError(), and TrajectoryStateClosestToPoint::position().
TrajectoryStateClosestToPoint PerigeeConversions::trajectoryStateClosestToPoint | ( | const AlgebraicVector3 & | momentum, |
const GlobalPoint & | referencePoint, | ||
const TrackCharge & | charge, | ||
const AlgebraicSymMatrix66 & | theCovarianceMatrix, | ||
const MagneticField * | field | ||
) |
Public constructor. This constructor takes a momentum, with parameters (transverse curvature, theta, phi) and a position, which is both the reference position and the position at which the momentum is defined. The covariance matrix is defined for these 6 parameters, in the order (x, y, z, transverse curvature, theta, phi).
Definition at line 107 of file PerigeeConversions.cc.
References jacobianParameters2Cartesian(), and momentumFromPerigee().
Referenced by PerigeeMultiLTS::createRefittedTrackState(), PerigeeLinearizedTrackState::createRefittedTrackState(), and momentumFromPerigee().