#include <CoordinateSets.h>
Public Member Functions | |
const T & | phi () const |
const T & | r () const |
Spherical2Cartesian (const T &theta, const T &phi, const T &mag) | |
const T & | theta () const |
T | x () const |
T | y () const |
T | z () const |
Private Attributes | |
T | phi_ |
T | r_ |
T | theta_ |
T | transv_ |
Converts spherical (or polar 3D) coordinates to cartesian coordinates.
Definition at line 58 of file CoordinateSets.h.
|
inline |
|
inline |
Definition at line 67 of file CoordinateSets.h.
References Geom::Spherical2Cartesian< T >::phi_.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), Geom::Spherical2Cartesian< T >::x(), and Geom::Spherical2Cartesian< T >::y().
|
inline |
Definition at line 68 of file CoordinateSets.h.
References Geom::Spherical2Cartesian< T >::r_.
Referenced by Geom::Spherical2Cartesian< T >::z().
|
inline |
Definition at line 66 of file CoordinateSets.h.
References Geom::Spherical2Cartesian< T >::theta_.
Referenced by Geom::Spherical2Cartesian< T >::z(), and Tau.Tau::zImpact().
|
inline |
Definition at line 70 of file CoordinateSets.h.
References funct::cos(), Geom::Spherical2Cartesian< T >::phi(), and Geom::Spherical2Cartesian< T >::transv_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
Definition at line 71 of file CoordinateSets.h.
References Geom::Spherical2Cartesian< T >::phi(), funct::sin(), and Geom::Spherical2Cartesian< T >::transv_.
Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
Definition at line 72 of file CoordinateSets.h.
References funct::cos(), Geom::Spherical2Cartesian< T >::r(), and Geom::Spherical2Cartesian< T >::theta().
Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 76 of file CoordinateSets.h.
Referenced by Geom::Spherical2Cartesian< T >::phi().
|
private |
Definition at line 77 of file CoordinateSets.h.
Referenced by Geom::Spherical2Cartesian< T >::r().
|
private |
Definition at line 75 of file CoordinateSets.h.
Referenced by Geom::Spherical2Cartesian< T >::theta().
|
private |
Definition at line 78 of file CoordinateSets.h.
Referenced by Geom::Spherical2Cartesian< T >::x(), and Geom::Spherical2Cartesian< T >::y().