#include <JacobianCurvilinearToLocal.h>
Public Member Functions | |
const AlgebraicMatrix55 & | jacobian () const |
JacobianCurvilinearToLocal (const Surface &surface, const LocalTrajectoryParameters &localParameters, const GlobalTrajectoryParameters &globalParameters, const MagneticField &magField) | |
JacobianCurvilinearToLocal (const Surface &surface, const LocalTrajectoryParameters &localParameters, const MagneticField &magField) | |
Private Member Functions | |
void | compute (Surface::RotationType const &rot, GlobalVector const &tn, GlobalVector const &qh, double lz) |
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 8 of file JacobianCurvilinearToLocal.cc.
References compute(), LocalTrajectoryParameters::direction(), 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 25 of file JacobianCurvilinearToLocal.cc.
References funct::abs(), compute(), LocalTrajectoryParameters::direction(), GlobalTrajectoryParameters::magneticFieldInInverseGeV(), GlobalTrajectoryParameters::momentum(), makeMuonMisalignmentScenario::rot, GloballyPositioned< T >::rotation(), LocalTrajectoryParameters::signedInverseMomentum(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 45 of file JacobianCurvilinearToLocal.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), Vector3DBase< T, FrameTag >::dot(), MillePedeFileConverter_cfg::e, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, PV3DBase< T, PVType, FrameType >::perp(), makeMuonMisalignmentScenario::rot, 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 37 of file JacobianCurvilinearToLocal.h.
References theJacobian.
Referenced by OverlapValidation::analyze(), BasicTrajectoryState::createLocalErrorFromCurvilinearError(), and TwoBodyDecayTrajectoryState::propagateSingleState().
|
private |
Definition at line 42 of file JacobianCurvilinearToLocal.h.
Referenced by compute(), and jacobian().