CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( 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())) {}
AlgebraicMatrix65 jacobianCurvilinearToCartesian(const GlobalVector &momentum, int charge)

Member Function Documentation

const AlgebraicMatrix65& JacobianCurvilinearToCartesian::jacobian ( ) const
inline

Member Data Documentation

AlgebraicMatrix65 JacobianCurvilinearToCartesian::theJacobian
private

Definition at line 27 of file JacobianCurvilinearToCartesian.h.

Referenced by jacobian().