#include <JacobianCurvilinearToLocal.h>
Public Member Functions | |
const AlgebraicMatrix55 & | jacobian () const |
const AlgebraicMatrix | jacobian_old () const |
JacobianCurvilinearToLocal (const Surface &surface, const LocalTrajectoryParameters &localParameters, const MagneticField &magField) | |
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 16 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 7 of file JacobianCurvilinearToLocal.cc.
References Vector3DBase< T, FrameTag >::dot(), h, MagneticField::inTesla(), PV3DBase< T, PVType, FrameType >::mag(), LocalTrajectoryParameters::momentum(), PV3DBase< T, PVType, FrameType >::perp(), LocalTrajectoryParameters::position(), lumiQueryAPI::q, GloballyPositioned< T >::rotation(), LocalTrajectoryParameters::signedInverseMomentum(), theJacobian, Surface::toGlobal(), interactiveExample::ui, Vector3DBase< T, FrameTag >::unit(), x, PV3DBase< T, PVType, FrameType >::x(), TkRotation< T >::x(), PV3DBase< T, PVType, FrameType >::y(), TkRotation< T >::y(), PV3DBase< T, PVType, FrameType >::z(), and TkRotation< T >::z().
const AlgebraicMatrix55 & JacobianCurvilinearToLocal::jacobian | ( | ) | const |
Access to Jacobian.
Definition at line 68 of file JacobianCurvilinearToLocal.cc.
References theJacobian.
Referenced by BasicSingleTrajectoryState::createLocalErrorFromCurvilinearError(), and TwoBodyDecayTrajectoryState::propagateSingleState().
const AlgebraicMatrix JacobianCurvilinearToLocal::jacobian_old | ( | ) | const |
Definition at line 71 of file JacobianCurvilinearToLocal.cc.
References asHepMatrix(), and theJacobian.
|
private |
Definition at line 37 of file JacobianCurvilinearToLocal.h.
Referenced by jacobian(), jacobian_old(), and JacobianCurvilinearToLocal().