CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
Geom::Cylindrical2Cartesian< T > Class Template Reference

#include <CoordinateSets.h>

Public Member Functions

 Cylindrical2Cartesian (const T &r, const T &phi, const T &z)
 
const Tphi () const
 
const Tr () const
 
T x () const
 
T y () const
 
const Tz () const
 

Private Attributes

T phi_
 
T r_
 
T z_
 

Detailed Description

template<typename T>
class Geom::Cylindrical2Cartesian< T >

Converts cylindtical coordinates to cartesian coordinates.

Definition at line 35 of file CoordinateSets.h.

Constructor & Destructor Documentation

template<typename T >
Geom::Cylindrical2Cartesian< T >::Cylindrical2Cartesian ( const T r,
const T phi,
const T z 
)
inline
Construct from radius, azimuthal angle, and z component.

The radius in the cylindrical frame is the transverse component.

Definition at line 40 of file CoordinateSets.h.

Member Function Documentation

template<typename T >
const T& Geom::Cylindrical2Cartesian< T >::phi ( ) const
inline

Definition at line 44 of file CoordinateSets.h.

References Geom::Cylindrical2Cartesian< T >::phi_.

Referenced by Particle.Particle::__str__().

template<typename T >
const T& Geom::Cylindrical2Cartesian< T >::r ( ) const
inline

Definition at line 43 of file CoordinateSets.h.

References Geom::Cylindrical2Cartesian< T >::r_.

template<typename T >
T Geom::Cylindrical2Cartesian< T >::x ( ) const
inline
template<typename T >
T Geom::Cylindrical2Cartesian< T >::y ( ) const
inline
template<typename T >
const T& Geom::Cylindrical2Cartesian< T >::z ( ) const
inline

Member Data Documentation

template<typename T >
T Geom::Cylindrical2Cartesian< T >::phi_
private
template<typename T >
T Geom::Cylindrical2Cartesian< T >::r_
private
template<typename T >
T Geom::Cylindrical2Cartesian< T >::z_
private

Definition at line 53 of file CoordinateSets.h.

Referenced by Geom::Cylindrical2Cartesian< T >::z().