Class describing a cylindrical coordinate system based on eta (pseudorapidity) instead of z.
Class describing a 3D Cylindrical Eta coordinate system (rho, eta, phi coordinates)
The base coordinates are rho (transverse component) , eta and phi Phi is restricted to be in the range [-PI,PI)
Definition at line 48 of file CylindricalEta3D.h.
Public Types | |
typedef T | Scalar |
Public Member Functions | |
CylindricalEta3D () | |
Default constructor with rho=eta=phi=0. | |
template<class CoordSystem > | |
CylindricalEta3D (const CoordSystem &v) | |
Construct from any Vector or coordinate system implementing Rho(), Eta() and Phi() | |
CylindricalEta3D (const CylindricalEta3D &v) | |
copy constructor | |
CylindricalEta3D (Scalar rho, Scalar eta, Scalar phi) | |
Construct from rho eta and phi values. | |
T | Eta () const |
void | GetCoordinates (Scalar &rho, Scalar &eta, Scalar &phi) const |
get internal data into 3 Scalar numbers | |
void | GetCoordinates (Scalar dest[]) const |
get internal data into an array of 3 Scalar numbers | |
T | Mag2 () const |
void | Negate () |
negate the vector | |
bool | operator!= (const CylindricalEta3D &rhs) const |
template<class CoordSystem > | |
CylindricalEta3D & | operator= (const CoordSystem &c) |
generic assignment operator from any coordinate system | |
CylindricalEta3D & | operator= (const CylindricalEta3D &v) |
assignment operator | |
bool | operator== (const CylindricalEta3D &rhs) const |
Exact component-by-component equality Note: Peculiar representaions of the zero vector such as (0,1,0) will not test as equal to one another. | |
T | Perp2 () const |
T | Phi () const |
T | R () const |
T | Rho () const |
void | Scale (T a) |
scale by a scalar quantity a – for cylindrical eta coords, as long as a >= 0, only rho changes! | |
void | SetCoordinates (const Scalar src[]) |
Set internal data based on an array of 3 Scalar numbers. | |
void | SetCoordinates (Scalar rho, Scalar eta, Scalar phi) |
Set internal data based on 3 Scalar numbers. | |
void | SetEta (T eta) |
set the eta coordinate value keeping rho and phi constant | |
void | SetPhi (T phi) |
set the phi coordinate value keeping rho and eta constant | |
void | SetRho (T rho) |
set the rho coordinate value keeping eta and phi constant | |
void | SetXYZ (Scalar x, Scalar y, Scalar z) |
set all values using cartesian coordinates | |
T | Theta () const |
T | X () const |
T | x () const |
T | Y () const |
T | y () const |
T | Z () const |
T | z () const |
Private Member Functions | |
void | Restrict () |
Static Private Member Functions | |
static Scalar | pi () |
Private Attributes | |
T | fEta |
T | fPhi |
T | fRho |
#include <Math/GenVector/CylindricalEta3D.h>
typedef T ROOT::Math::CylindricalEta3D< T >::Scalar |
Definition at line 52 of file CylindricalEta3D.h.
|
inline |
Default constructor with rho=eta=phi=0.
Definition at line 57 of file CylindricalEta3D.h.
|
inline |
Construct from rho eta and phi values.
Definition at line 62 of file CylindricalEta3D.h.
|
inlineexplicit |
Construct from any Vector or coordinate system implementing Rho(), Eta() and Phi()
Definition at line 70 of file CylindricalEta3D.h.
|
inline |
copy constructor
Definition at line 89 of file CylindricalEta3D.h.
|
inline |
Definition at line 138 of file CylindricalEta3D.h.
|
inline |
get internal data into 3 Scalar numbers
Definition at line 123 of file CylindricalEta3D.h.
|
inline |
get internal data into an array of 3 Scalar numbers
Definition at line 111 of file CylindricalEta3D.h.
|
inline |
Definition at line 153 of file CylindricalEta3D.h.
|
inline |
negate the vector
Definition at line 215 of file CylindricalEta3D.h.
|
inline |
Definition at line 240 of file CylindricalEta3D.h.
|
inline |
generic assignment operator from any coordinate system
Definition at line 225 of file CylindricalEta3D.h.
|
inline |
assignment operator
Definition at line 95 of file CylindricalEta3D.h.
|
inline |
Exact component-by-component equality Note: Peculiar representaions of the zero vector such as (0,1,0) will not test as equal to one another.
Definition at line 237 of file CylindricalEta3D.h.
|
inline |
Definition at line 158 of file CylindricalEta3D.h.
|
inline |
Definition at line 139 of file CylindricalEta3D.h.
|
inlinestaticprivate |
Definition at line 127 of file CylindricalEta3D.h.
|
inline |
Definition at line 147 of file CylindricalEta3D.h.
|
inlineprivate |
Definition at line 128 of file CylindricalEta3D.h.
|
inline |
Definition at line 137 of file CylindricalEta3D.h.
|
inline |
scale by a scalar quantity a – for cylindrical eta coords, as long as a >= 0, only rho changes!
Definition at line 196 of file CylindricalEta3D.h.
|
inline |
Set internal data based on an array of 3 Scalar numbers.
Definition at line 105 of file CylindricalEta3D.h.
|
inline |
Set internal data based on 3 Scalar numbers.
Definition at line 117 of file CylindricalEta3D.h.
|
inline |
set the eta coordinate value keeping rho and phi constant
Definition at line 174 of file CylindricalEta3D.h.
|
inline |
set the phi coordinate value keeping rho and eta constant
Definition at line 181 of file CylindricalEta3D.h.
|
inline |
set the rho coordinate value keeping eta and phi constant
Definition at line 167 of file CylindricalEta3D.h.
void ROOT::Math::CylindricalEta3D< T >::SetXYZ | ( | Scalar | x, |
Scalar | y, | ||
Scalar | z | ||
) |
set all values using cartesian coordinates
Definition at line 300 of file CylindricalEta3D.h.
|
inline |
Definition at line 159 of file CylindricalEta3D.h.
|
inline |
Definition at line 140 of file CylindricalEta3D.h.
|
inline |
Definition at line 248 of file CylindricalEta3D.h.
|
inline |
Definition at line 141 of file CylindricalEta3D.h.
|
inline |
Definition at line 249 of file CylindricalEta3D.h.
|
inline |
Definition at line 142 of file CylindricalEta3D.h.
|
inline |
Definition at line 250 of file CylindricalEta3D.h.
|
private |
Definition at line 276 of file CylindricalEta3D.h.
|
private |
Definition at line 277 of file CylindricalEta3D.h.
|
private |
Definition at line 275 of file CylindricalEta3D.h.