CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
JacobianCartesianToCurvilinear Class Reference

#include <JacobianCartesianToCurvilinear.h>

Public Member Functions

const AlgebraicMatrix56jacobian () const
 
 JacobianCartesianToCurvilinear (const GlobalTrajectoryParameters &globalParameters)
 

Private Attributes

AlgebraicMatrix56 theJacobian
 

Detailed Description

Class which calculates the Jacobian matrix of the transformation from the Cartesian 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 14 of file JacobianCartesianToCurvilinear.h.

Constructor & Destructor Documentation

◆ JacobianCartesianToCurvilinear()

JacobianCartesianToCurvilinear::JacobianCartesianToCurvilinear ( const GlobalTrajectoryParameters globalParameters)

Constructor from global trajectory parameters. NB!! No default constructor exists!

Definition at line 5 of file JacobianCartesianToCurvilinear.cc.

6  : theJacobian(jacobianCartesianToCurvilinear(globalParameters.momentum(), globalParameters.charge())) {}

Member Function Documentation

◆ jacobian()

const AlgebraicMatrix56& JacobianCartesianToCurvilinear::jacobian ( ) const
inline

Member Data Documentation

◆ theJacobian

AlgebraicMatrix56 JacobianCartesianToCurvilinear::theJacobian
private

Definition at line 27 of file JacobianCartesianToCurvilinear.h.

Referenced by jacobian().

GlobalTrajectoryParameters::charge
TrackCharge charge() const
Definition: GlobalTrajectoryParameters.h:72
GlobalTrajectoryParameters::momentum
GlobalVector momentum() const
Definition: GlobalTrajectoryParameters.h:65
jacobianCartesianToCurvilinear
AlgebraicMatrix56 jacobianCartesianToCurvilinear(const GlobalVector &momentum, int charge)
Definition: TrackingJacobians.cc:63
JacobianCartesianToCurvilinear::theJacobian
AlgebraicMatrix56 theJacobian
Definition: JacobianCartesianToCurvilinear.h:27