![]() |
ROOT 6.07/09 Reference Guide |
Class describing a cylindrical coordinate system based on rho, z and phi.
Class describing a 3D Cylindrical Eta coordinate system (rho, z, phi coordinates)
The base coordinates are rho (transverse component) , z and phi Phi is restricted to be in the range [-PI,PI)
Definition at line 44 of file Cylindrical3D.h.
Public Types | |
typedef T | Scalar |
Public Member Functions | |
Cylindrical3D () | |
Default constructor with rho=z=phi=0. More... | |
Cylindrical3D (Scalar rho, Scalar zz, Scalar phi) | |
Construct from rho eta and phi values. More... | |
template<class CoordSystem > | |
Cylindrical3D (const CoordSystem &v) | |
Construct from any Vector or coordinate system implementing Rho(), Z() and Phi() More... | |
Cylindrical3D (const Cylindrical3D &v) | |
copy constructor More... | |
Scalar | Eta () const |
void | GetCoordinates (Scalar dest[]) const |
get internal data into an array of 3 Scalar numbers ( rho, z , phi) More... | |
void | GetCoordinates (Scalar &rho, Scalar &zz, Scalar &phi) const |
get internal data into 3 Scalar numbers ( rho, z , phi) More... | |
Scalar | Mag2 () const |
void | Negate () |
negate the vector More... | |
bool | operator!= (const Cylindrical3D &rhs) const |
Cylindrical3D & | operator= (const Cylindrical3D &v) |
assignment operator More... | |
template<class CoordSystem > | |
Cylindrical3D & | operator= (const CoordSystem &c) |
generic assignment operator from any coordinate system implementing Rho(), Z() and Phi() More... | |
bool | operator== (const Cylindrical3D &rhs) const |
Exact component-by-component equality. More... | |
Scalar | Perp2 () const |
Scalar | Phi () const |
Scalar | R () const |
Scalar | Rho () const |
void | Scale (T a) |
scale by a scalar quantity a – for cylindrical coords only rho and z change More... | |
void | SetCoordinates (const Scalar src[]) |
Set internal data based on an array of 3 Scalar numbers ( rho, z , phi) More... | |
void | SetCoordinates (Scalar rho, Scalar zz, Scalar phi) |
Set internal data based on 3 Scalar numbers ( rho, z , phi) More... | |
void | SetPhi (T phi) |
set the phi coordinate value keeping rho and z constant More... | |
void | SetRho (T rho) |
set the rho coordinate value keeping z and phi constant More... | |
void | SetXYZ (Scalar x, Scalar y, Scalar z) |
set all values using cartesian coordinates More... | |
void | SetZ (T zz) |
set the z coordinate value keeping rho and phi constant More... | |
Scalar | Theta () const |
Scalar | X () const |
T | x () const |
Scalar | Y () const |
T | y () const |
Scalar | Z () const |
T | z () const |
Private Member Functions | |
void | Restrict () |
Static Private Member Functions | |
static Scalar | pi () |
Private Attributes | |
T | fPhi |
T | fRho |
T | fZ |
#include <Math/GenVector/Cylindrical3D.h>
typedef T ROOT::Math::Cylindrical3D< T >::Scalar |
Definition at line 48 of file Cylindrical3D.h.
|
inline |
Default constructor with rho=z=phi=0.
Definition at line 53 of file Cylindrical3D.h.
|
inline |
Construct from rho eta and phi values.
Definition at line 58 of file Cylindrical3D.h.
|
inlineexplicit |
Construct from any Vector or coordinate system implementing Rho(), Z() and Phi()
Definition at line 66 of file Cylindrical3D.h.
|
inline |
copy constructor
Definition at line 75 of file Cylindrical3D.h.
|
inline |
Definition at line 136 of file Cylindrical3D.h.
|
inline |
get internal data into an array of 3 Scalar numbers ( rho, z , phi)
Definition at line 97 of file Cylindrical3D.h.
|
inline |
get internal data into 3 Scalar numbers ( rho, z , phi)
Definition at line 109 of file Cylindrical3D.h.
|
inline |
Definition at line 130 of file Cylindrical3D.h.
|
inline |
negate the vector
Definition at line 186 of file Cylindrical3D.h.
|
inline |
Definition at line 209 of file Cylindrical3D.h.
|
inline |
assignment operator
Definition at line 81 of file Cylindrical3D.h.
|
inline |
generic assignment operator from any coordinate system implementing Rho(), Z() and Phi()
Definition at line 196 of file Cylindrical3D.h.
|
inline |
Exact component-by-component equality.
Definition at line 206 of file Cylindrical3D.h.
|
inline |
Definition at line 132 of file Cylindrical3D.h.
|
inline |
Definition at line 125 of file Cylindrical3D.h.
|
inlinestaticprivate |
Definition at line 113 of file Cylindrical3D.h.
|
inline |
Definition at line 131 of file Cylindrical3D.h.
|
inlineprivate |
Definition at line 114 of file Cylindrical3D.h.
|
inline |
Definition at line 123 of file Cylindrical3D.h.
|
inline |
scale by a scalar quantity a – for cylindrical coords only rho and z change
Definition at line 174 of file Cylindrical3D.h.
|
inline |
Set internal data based on an array of 3 Scalar numbers ( rho, z , phi)
Definition at line 91 of file Cylindrical3D.h.
|
inline |
Set internal data based on 3 Scalar numbers ( rho, z , phi)
Definition at line 103 of file Cylindrical3D.h.
|
inline |
set the phi coordinate value keeping rho and z constant
Definition at line 160 of file Cylindrical3D.h.
|
inline |
set the rho coordinate value keeping z and phi constant
Definition at line 146 of file Cylindrical3D.h.
void ROOT::Math::Cylindrical3D< T >::SetXYZ | ( | Scalar | x, |
Scalar | y, | ||
Scalar | z | ||
) |
set all values using cartesian coordinates
Definition at line 277 of file Cylindrical3D.h.
|
inline |
set the z coordinate value keeping rho and phi constant
Definition at line 153 of file Cylindrical3D.h.
|
inline |
Definition at line 133 of file Cylindrical3D.h.
|
inline |
Definition at line 127 of file Cylindrical3D.h.
|
inline |
Definition at line 217 of file Cylindrical3D.h.
|
inline |
Definition at line 128 of file Cylindrical3D.h.
|
inline |
Definition at line 218 of file Cylindrical3D.h.
|
inline |
Definition at line 124 of file Cylindrical3D.h.
|
inline |
Definition at line 219 of file Cylindrical3D.h.
|
private |
Definition at line 246 of file Cylindrical3D.h.
|
private |
Definition at line 244 of file Cylindrical3D.h.
|
private |
Definition at line 245 of file Cylindrical3D.h.