CMS 3D CMS Logo

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

#include <JacobianCurvilinearToCartesian.h>

Public Member Functions

const AlgebraicMatrix65jacobian () const
 
 JacobianCurvilinearToCartesian (const GlobalTrajectoryParameters &globalParameters)
 

Private Attributes

AlgebraicMatrix65 theJacobian
 

Detailed Description

Class which calculates the Jacobian matrix of the transformation from the curvilinear to the Cartesian 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 JacobianCurvilinearToCartesian.h.

Constructor & Destructor Documentation

◆ JacobianCurvilinearToCartesian()

JacobianCurvilinearToCartesian::JacobianCurvilinearToCartesian ( const GlobalTrajectoryParameters globalParameters)

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

Definition at line 5 of file JacobianCurvilinearToCartesian.cc.

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

Member Function Documentation

◆ jacobian()

const AlgebraicMatrix65& JacobianCurvilinearToCartesian::jacobian ( ) const
inline

Member Data Documentation

◆ theJacobian

AlgebraicMatrix65 JacobianCurvilinearToCartesian::theJacobian
private

Definition at line 27 of file JacobianCurvilinearToCartesian.h.

Referenced by jacobian().

GlobalTrajectoryParameters::charge
TrackCharge charge() const
Definition: GlobalTrajectoryParameters.h:72
JacobianCurvilinearToCartesian::theJacobian
AlgebraicMatrix65 theJacobian
Definition: JacobianCurvilinearToCartesian.h:27
GlobalTrajectoryParameters::momentum
GlobalVector momentum() const
Definition: GlobalTrajectoryParameters.h:65
jacobianCurvilinearToCartesian
AlgebraicMatrix65 jacobianCurvilinearToCartesian(const GlobalVector &momentum, int charge)
Definition: TrackingJacobians.cc:5