ATLAS Offline Software
Public Member Functions | List of all members
Trk::JacobianPolarToCartesian Class Reference

#include <JacobianPolarToCartesian.h>

Inheritance diagram for Trk::JacobianPolarToCartesian:
Collaboration diagram for Trk::JacobianPolarToCartesian:

Public Member Functions

 JacobianPolarToCartesian (const double r, const double phi)
 
 ~JacobianPolarToCartesian ()
 

Detailed Description

Jacobian for the transformation of polar parameters \( (locR,locPhi,\phi,\theta, q/p)\) to cartesian parametes \((locX,locY,\phi,\theta, q/p)\) :

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

Definition at line 31 of file JacobianPolarToCartesian.h.

Constructor & Destructor Documentation

◆ JacobianPolarToCartesian()

Trk::JacobianPolarToCartesian::JacobianPolarToCartesian ( const double  r,
const double  phi 
)

Definition at line 12 of file JacobianPolarToCartesian.cxx.

12  :
13  AmgMatrix(5,5)()
14 {
15  // initialize to zero
16  this->setIdentity();
17 
18  (*this)(Trk::locX,Trk::locR) = std::cos(phi);
19  (*this)(Trk::locX,Trk::locPhi) = -r*std::sin(phi);
20  (*this)(Trk::locY,Trk::locR) = std::sin(phi);
21  (*this)(Trk::locY,Trk::locPhi) = r*std::cos(phi);
22 }

◆ ~JacobianPolarToCartesian()

Trk::JacobianPolarToCartesian::~JacobianPolarToCartesian ( )
inline

Definition at line 34 of file JacobianPolarToCartesian.h.

34 {}

The documentation for this class was generated from the following files:
beamspotman.r
def r
Definition: beamspotman.py:676
Trk::AmgMatrix
AmgMatrix(3, 3) NeutralParticleParameterCalculator
Definition: NeutralParticleParameterCalculator.cxx:233
Trk::locX
@ locX
Definition: ParamDefs.h:37
Trk::locY
@ locY
local cartesian
Definition: ParamDefs.h:38
Trk::locR
@ locR
Definition: ParamDefs.h:44
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
Trk::locPhi
@ locPhi
local polar
Definition: ParamDefs.h:45
Trk::phi
@ phi
Definition: ParamDefs.h:75
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36