#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 60 of file CoordinateSets.h.
|
inline |
Construct from polar angle, azimuthal angle, and radius. The radius in the spherical frame is the magnitude of the vector.
Definition at line 65 of file CoordinateSets.h.
|
inline |
Definition at line 70 of file CoordinateSets.h.
References Geom::Polar2Cartesian< T >::phi_.
Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().
|
inline |
|
inline |
|
inline |
Definition at line 73 of file CoordinateSets.h.
References funct::cos(), and Geom::Polar2Cartesian< T >::phi().
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
Definition at line 74 of file CoordinateSets.h.
References Geom::Polar2Cartesian< T >::phi(), and funct::sin().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
Definition at line 75 of file CoordinateSets.h.
References funct::cos(), Geom::Polar2Cartesian< T >::r(), and theta().
Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 79 of file CoordinateSets.h.
|
private |
Definition at line 80 of file CoordinateSets.h.
|
private |
Definition at line 78 of file CoordinateSets.h.
|
private |
Definition at line 81 of file CoordinateSets.h.