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 42 of file Cylindrical3D.h.
Public Types | |
| typedef T | Scalar |
Public Member Functions | |
| constexpr | Cylindrical3D () noexcept=default |
| Default constructor with rho=z=phi=0. | |
| template<class CoordSystem > | |
| constexpr | Cylindrical3D (const CoordSystem &v) |
| Construct from any Vector or coordinate system implementing Rho(), Z() and Phi() | |
| constexpr | Cylindrical3D (Scalar rho, Scalar zz, Scalar phi) noexcept |
| Construct from rho eta and phi values. | |
| Scalar | Eta () const |
| void | GetCoordinates (Scalar &rho, Scalar &zz, Scalar &phi) const |
| get internal data into 3 Scalar numbers ( rho, z , phi) | |
| void | GetCoordinates (Scalar dest[]) const |
| get internal data into an array of 3 Scalar numbers ( rho, z , phi) | |
| Scalar | Mag2 () const |
| void | Negate () |
| negate the vector | |
| bool | operator!= (const Cylindrical3D &rhs) const |
| template<class CoordSystem > | |
| Cylindrical3D & | operator= (const CoordSystem &c) |
| generic assignment operator from any coordinate system implementing Rho(), Z() and Phi() | |
| bool | operator== (const Cylindrical3D &rhs) const |
| Exact component-by-component equality. | |
| 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 | |
| void | SetCoordinates (const Scalar src[]) |
| Set internal data based on an array of 3 Scalar numbers ( rho, z , phi) | |
| void | SetCoordinates (Scalar rho, Scalar zz, Scalar phi) |
| Set internal data based on 3 Scalar numbers ( rho, z , phi) | |
| void | SetPhi (T phi) |
| set the phi coordinate value keeping rho and z constant | |
| void | SetRho (T rho) |
| set the rho coordinate value keeping z and phi constant | |
| void | SetXYZ (Scalar x, Scalar y, Scalar z) |
| set all values using cartesian coordinates | |
| void | SetZ (T zz) |
| set the z coordinate value keeping rho and phi constant | |
| Scalar | Theta () const |
| Scalar | X () const |
| T | x () const |
| Scalar | Y () const |
| T | y () const |
| Scalar | Z () const |
| T | z () const |
Static Public Attributes | |
| static constexpr unsigned int | Dimension = 3U |
Private Member Functions | |
| void | Restrict () |
Static Private Member Functions | |
| static Scalar | pi () |
Private Attributes | |
| T | fPhi = 0 |
| T | fRho = 0 |
| T | fZ = 0 |
#include <Math/GenVector/Cylindrical3D.h>
| typedef T ROOT::Math::Cylindrical3D< T >::Scalar |
Definition at line 46 of file Cylindrical3D.h.
|
constexprdefaultnoexcept |
Default constructor with rho=z=phi=0.
|
inlineconstexprnoexcept |
Construct from rho eta and phi values.
Definition at line 57 of file Cylindrical3D.h.
|
inlineexplicitconstexpr |
Construct from any Vector or coordinate system implementing Rho(), Z() and Phi()
Definition at line 64 of file Cylindrical3D.h.
|
inline |
Definition at line 114 of file Cylindrical3D.h.
|
inline |
get internal data into 3 Scalar numbers ( rho, z , phi)
Definition at line 88 of file Cylindrical3D.h.
|
inline |
get internal data into an array of 3 Scalar numbers ( rho, z , phi)
Definition at line 76 of file Cylindrical3D.h.
|
inline |
Definition at line 108 of file Cylindrical3D.h.
|
inline |
negate the vector
Definition at line 164 of file Cylindrical3D.h.
|
inline |
Definition at line 187 of file Cylindrical3D.h.
|
inline |
generic assignment operator from any coordinate system implementing Rho(), Z() and Phi()
Definition at line 174 of file Cylindrical3D.h.
|
inline |
Exact component-by-component equality.
Definition at line 184 of file Cylindrical3D.h.
|
inline |
Definition at line 110 of file Cylindrical3D.h.
|
inline |
Definition at line 104 of file Cylindrical3D.h.
|
inlinestaticprivate |
Definition at line 92 of file Cylindrical3D.h.
|
inline |
Definition at line 109 of file Cylindrical3D.h.
|
inlineprivate |
Definition at line 93 of file Cylindrical3D.h.
|
inline |
Definition at line 102 of file Cylindrical3D.h.
|
inline |
scale by a scalar quantity a – for cylindrical coords only rho and z change
Definition at line 152 of file Cylindrical3D.h.
|
inline |
Set internal data based on an array of 3 Scalar numbers ( rho, z , phi)
Definition at line 70 of file Cylindrical3D.h.
|
inline |
Set internal data based on 3 Scalar numbers ( rho, z , phi)
Definition at line 82 of file Cylindrical3D.h.
|
inline |
set the phi coordinate value keeping rho and z constant
Definition at line 138 of file Cylindrical3D.h.
|
inline |
set the rho coordinate value keeping z and phi constant
Definition at line 124 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 245 of file Cylindrical3D.h.
|
inline |
set the z coordinate value keeping rho and phi constant
Definition at line 131 of file Cylindrical3D.h.
|
inline |
Definition at line 111 of file Cylindrical3D.h.
|
inline |
Definition at line 105 of file Cylindrical3D.h.
|
inline |
Definition at line 195 of file Cylindrical3D.h.
|
inline |
Definition at line 106 of file Cylindrical3D.h.
|
inline |
Definition at line 196 of file Cylindrical3D.h.
|
inline |
Definition at line 103 of file Cylindrical3D.h.
|
inline |
Definition at line 197 of file Cylindrical3D.h.
|
staticconstexpr |
Definition at line 47 of file Cylindrical3D.h.
|
private |
Definition at line 223 of file Cylindrical3D.h.
|
private |
Definition at line 221 of file Cylindrical3D.h.
|
private |
Definition at line 222 of file Cylindrical3D.h.