#include <JacobianLocalToCurvilinear.h>
Public Member Functions | |
const AlgebraicMatrix55 & | jacobian () const |
JacobianLocalToCurvilinear (const Surface &surface, const LocalTrajectoryParameters &localParameters, const MagneticField &magField) | |
JacobianLocalToCurvilinear (const Surface &surface, const LocalTrajectoryParameters &localParameters, const GlobalTrajectoryParameters &globalParameters, const MagneticField &magField) | |
Private Member Functions | |
void | compute (Surface::RotationType const &rot, LocalVector const &tnl, GlobalVector const &tn, GlobalVector const &hq) dso_internal |
Private Attributes | |
AlgebraicMatrix55 | theJacobian |
Class which calculates the Jacobian matrix of the transformation from the local to the curvilinear frame. The Jacobian is calculated during construction and thereafter cached, enabling reuse of the same Jacobian without calculating it again.
Definition at line 22 of file JacobianLocalToCurvilinear.h.
JacobianLocalToCurvilinear::JacobianLocalToCurvilinear | ( | const Surface & | surface, |
const LocalTrajectoryParameters & | localParameters, | ||
const MagneticField & | magField | ||
) |
Constructor from local trajectory parameters and surface defining the local frame. NB!! No default constructor exists!
Definition at line 9 of file JacobianLocalToCurvilinear.cc.
References compute(), LocalTrajectoryParameters::direction(), h, MagneticField::inInverseGeV(), LocalTrajectoryParameters::position(), makeMuonMisalignmentScenario::rot, GloballyPositioned< T >::rotation(), LocalTrajectoryParameters::signedInverseMomentum(), Surface::toGlobal(), and x.
JacobianLocalToCurvilinear::JacobianLocalToCurvilinear | ( | const Surface & | surface, |
const LocalTrajectoryParameters & | localParameters, | ||
const GlobalTrajectoryParameters & | globalParameters, | ||
const MagneticField & | magField | ||
) |
Constructor from local and global trajectory parameters and surface defining the local frame.
Definition at line 30 of file JacobianLocalToCurvilinear.cc.
References compute(), LocalTrajectoryParameters::direction(), h, GlobalTrajectoryParameters::magneticFieldInInverseGeV(), makeMuonMisalignmentScenario::rot, GloballyPositioned< T >::rotation(), LocalTrajectoryParameters::signedInverseMomentum(), and Surface::toGlobal().
|
private |
Definition at line 52 of file JacobianLocalToCurvilinear.cc.
References Vector3DBase< T, FrameTag >::dot(), alignCSCRings::e, i, PV3DBase< T, PVType, FrameType >::perp(), theJacobian, PV3DBase< T, PVType, FrameType >::x(), TkRotation< T >::x(), PV3DBase< T, PVType, FrameType >::y(), TkRotation< T >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by JacobianLocalToCurvilinear().
|
inline |
Access to Jacobian.
Definition at line 45 of file JacobianLocalToCurvilinear.h.
References theJacobian.
Referenced by BasicTrajectoryState::checkCurvilinError().
|
private |
Definition at line 51 of file JacobianLocalToCurvilinear.h.
Referenced by compute(), and jacobian().