#include <CoordinateSets.h>
Public Member Functions | |
const T & | phi () const |
Polar2Cartesian (const T &r, const T &phi) | |
Construct from radius and polar angle. More... | |
const T & | r () const |
T | x () const |
T | y () const |
Private Attributes | |
T | phi_ |
T | r_ |
Converts polar 2D coordinates to cartesian coordinates. Note: Spherical coordinates (also sometimes called Polar 3D coordinates) are handled by class Spherical2Cartesian
Definition at line 14 of file CoordinateSets.h.
|
inline |
|
inline |
Definition at line 20 of file CoordinateSets.h.
References Geom::Polar2Cartesian< T >::phi_.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().
|
inline |
|
inline |
Definition at line 22 of file CoordinateSets.h.
References funct::cos(), Geom::Polar2Cartesian< T >::phi_, and Geom::Polar2Cartesian< T >::r_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inline |
Definition at line 23 of file CoordinateSets.h.
References Geom::Polar2Cartesian< T >::phi_, Geom::Polar2Cartesian< T >::r_, and funct::sin().
Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 27 of file CoordinateSets.h.
Referenced by Geom::Polar2Cartesian< T >::phi(), Geom::Polar2Cartesian< T >::x(), and Geom::Polar2Cartesian< T >::y().
|
private |
Definition at line 26 of file CoordinateSets.h.
Referenced by Geom::Polar2Cartesian< T >::r(), Geom::Polar2Cartesian< T >::x(), and Geom::Polar2Cartesian< T >::y().