#include <KinematicPerigeeConversions.h>
Public Member Functions | |
ExtendedPerigeeTrajectoryParameters | extendedPerigeeFromKinematicParameters (const KinematicState &state, const GlobalPoint &point) const |
KinematicParameters | kinematicParametersFromExPerigee (const ExtendedPerigeeTrajectoryParameters &pr, const GlobalPoint &point, const MagneticField *field) const |
KinematicPerigeeConversions () | |
KinematicState | kinematicState (const AlgebraicVector4 &momentum, const GlobalPoint &referencePoint, const TrackCharge &charge, const AlgebraicSymMatrix77 &theCovarianceMatrix, const MagneticField *field) const |
AlgebraicVector4 | momentumFromPerigee (const AlgebraicVector4 &momentum, const GlobalPoint &referencePoint, const TrackCharge &ch, const MagneticField *field) const |
Private Member Functions | |
AlgebraicMatrix77 | jacobianParameters2Kinematic (const AlgebraicVector4 &momentum, const GlobalPoint &referencePoint, const TrackCharge &charge, const MagneticField *field) const |
Helper class to simplify parameters conversions between kinematic and extended perigee parametrization
Kirill Prokofiev, August 2003
Definition at line 17 of file KinematicPerigeeConversions.h.
|
inline |
Definition at line 21 of file KinematicPerigeeConversions.h.
ExtendedPerigeeTrajectoryParameters KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters | ( | const KinematicState & | state, |
const GlobalPoint & | point | ||
) | const |
Definition at line 6 of file KinematicPerigeeConversions.cc.
References epsilon, KinematicState::globalMomentum(), KinematicState::globalPosition(), M_PI, KinematicState::magneticFieldInInverseGeV(), KinematicState::mass(), KinematicState::particleCharge(), phi, PV3DBase< T, PVType, FrameType >::phi(), point, RecoTauCleanerPlugins::pt, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::theta(), theta(), PV3DBase< T, PVType, FrameType >::transverse(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by KinematicRefittedTrackState::parameters(), and PerigeeKinematicState::PerigeeKinematicState().
|
private |
Jacobians of tranformations from the parametrixation (x, y, z, transverse curvature, theta, phi,m) to kinematic parameters
Definition at line 99 of file KinematicPerigeeConversions.cc.
References i, j, and PerigeeConversions::jacobianParameters2Cartesian().
Referenced by kinematicState().
KinematicParameters KinematicPerigeeConversions::kinematicParametersFromExPerigee | ( | const ExtendedPerigeeTrajectoryParameters & | pr, |
const GlobalPoint & | point, | ||
const MagneticField * | field | ||
) | const |
Definition at line 53 of file KinematicPerigeeConversions.cc.
References funct::abs(), ExtendedPerigeeTrajectoryParameters::charge(), funct::cos(), MagneticField::inInverseGeV(), RecoTauCleanerPlugins::pt, funct::sin(), funct::tan(), ExtendedPerigeeTrajectoryParameters::vector(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
KinematicState KinematicPerigeeConversions::kinematicState | ( | const AlgebraicVector4 & | momentum, |
const GlobalPoint & | referencePoint, | ||
const TrackCharge & | charge, | ||
const AlgebraicSymMatrix77 & | theCovarianceMatrix, | ||
const MagneticField * | field | ||
) | const |
Definition at line 76 of file KinematicPerigeeConversions.cc.
References jacobianParameters2Kinematic(), momentumFromPerigee(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by ParticleKinematicLinearizedTrackState::createRefittedTrackState().
AlgebraicVector4 KinematicPerigeeConversions::momentumFromPerigee | ( | const AlgebraicVector4 & | momentum, |
const GlobalPoint & | referencePoint, | ||
const TrackCharge & | ch, | ||
const MagneticField * | field | ||
) | const |
Cartesian (px,py,px,m) from extended perigee
Definition at line 136 of file KinematicPerigeeConversions.cc.
References funct::abs(), funct::cos(), MagneticField::inInverseGeV(), RecoTauCleanerPlugins::pt, funct::sin(), funct::tan(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by kinematicState().