#include <JacobianCurvilinearToLocal.h>
Public Member Functions | |
const AlgebraicMatrix55 & | jacobian () const |
JacobianCurvilinearToLocal (const Surface &surface, const LocalTrajectoryParameters &localParameters, const MagneticField &magField) | |
JacobianCurvilinearToLocal (const Surface &surface, const LocalTrajectoryParameters &localParameters, const GlobalTrajectoryParameters &globalParameters, const MagneticField &magField) | |
Private Member Functions | |
void | compute (Surface::RotationType const &rot, GlobalVector const &tn, GlobalVector const &qh, double lz) dso_internal |
Private Attributes | |
AlgebraicMatrix55 | theJacobian |
Class which calculates the Jacobian matrix of the transformation from the curvilinear to the local frame. The Jacobian is calculated during construction and thereafter cached, enabling reuse of the same Jacobian without calculating it again.
Definition at line 19 of file JacobianCurvilinearToLocal.h.
JacobianCurvilinearToLocal::JacobianCurvilinearToLocal | ( | 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 JacobianCurvilinearToLocal.cc.
References compute(), LocalTrajectoryParameters::direction(), h, MagneticField::inInverseGeV(), LocalTrajectoryParameters::position(), makeMuonMisalignmentScenario::rot, GloballyPositioned< T >::rotation(), LocalTrajectoryParameters::signedInverseMomentum(), Surface::toGlobal(), x, and PV3DBase< T, PVType, FrameType >::z().
JacobianCurvilinearToLocal::JacobianCurvilinearToLocal | ( | const Surface & | surface, |
const LocalTrajectoryParameters & | localParameters, | ||
const GlobalTrajectoryParameters & | globalParameters, | ||
const MagneticField & | magField | ||
) |
Definition at line 34 of file JacobianCurvilinearToLocal.cc.
References abs, compute(), LocalTrajectoryParameters::direction(), h, MagneticField::inInverseGeV(), GlobalTrajectoryParameters::momentum(), GlobalTrajectoryParameters::position(), makeMuonMisalignmentScenario::rot, GloballyPositioned< T >::rotation(), LocalTrajectoryParameters::signedInverseMomentum(), x, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 62 of file JacobianCurvilinearToLocal.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), Vector3DBase< T, FrameTag >::dot(), alignCSCRings::e, i, j, gen::k, PV3DBase< T, PVType, FrameType >::perp(), TkRotation< T >::rotate(), theJacobian, interactiveExample::ui, findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by JacobianCurvilinearToLocal().
|
inline |
Access to Jacobian.
Definition at line 39 of file JacobianCurvilinearToLocal.h.
References theJacobian.
Referenced by BasicTrajectoryState::createLocalErrorFromCurvilinearError(), and TwoBodyDecayTrajectoryState::propagateSingleState().
|
private |
Definition at line 46 of file JacobianCurvilinearToLocal.h.
Referenced by compute(), and jacobian().