class ROOT::Math::CylindricalEta3D<Double32_t>

Function Members (Methods)

public:
~CylindricalEta3D<Double32_t>()
ROOT::Math::CylindricalEta3D<Double32_t>CylindricalEta3D<Double32_t>()
ROOT::Math::CylindricalEta3D<Double32_t>CylindricalEta3D<Double32_t>(const ROOT::Math::CylindricalEta3D<Double32_t>& v)
ROOT::Math::CylindricalEta3D<Double32_t>CylindricalEta3D<Double32_t>(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar rho, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar eta, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar phi)
Double32_tEta() const
voidGetCoordinates(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar* dest) const
voidGetCoordinates(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar& rho, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar& eta, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar& phi) const
Double32_tMag2() const
voidNegate()
booloperator!=(const ROOT::Math::CylindricalEta3D<Double32_t>& rhs) const
ROOT::Math::CylindricalEta3D<Double32_t>&operator=(const ROOT::Math::CylindricalEta3D<Double32_t>& v)
booloperator==(const ROOT::Math::CylindricalEta3D<Double32_t>& rhs) const
Double32_tPerp2() const
Double32_tPhi() const
Double32_tR() const
Double32_tRho() const
voidScale(Double32_t a)
voidSetCoordinates(const ROOT::Math::CylindricalEta3D<Double32_t>::Scalar* src)
voidSetCoordinates(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar rho, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar eta, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar phi)
voidSetEta(Double32_t eta)
voidSetPhi(Double32_t phi)
voidSetR(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar r)
voidSetRho(Double32_t rho)
voidSetTheta(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar theta)
voidSetX(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar xx)
voidSetXYZ(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar xx, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar yy, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar zz)
voidSetY(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar yy)
voidSetZ(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar zz)
Double32_tTheta() const
Double32_tX() const
Double32_tx() const
Double32_tY() const
Double32_ty() const
Double32_tZ() const
Double32_tz() const
private:
static ROOT::Math::CylindricalEta3D<Double32_t>::Scalarpi()
voidRestrict()

Data Members

private:
Double32_tfEta
Double32_tfPhi
Double32_tfRho

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

CylindricalEta3D & operator=(const ROOT::Math::CylindricalEta3D<Double32_t>& v)
      assignment operator

void SetCoordinates(const ROOT::Math::CylindricalEta3D<Double32_t>::Scalar* src)
      Set internal data based on an array of 3 Scalar numbers

{ fRho=src[0]; fEta=src[1]; fPhi=src[2]; Restrict(); }
void GetCoordinates(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar* dest) const
      get internal data into an array of 3 Scalar numbers

{ dest[0] = fRho; dest[1] = fEta; dest[2] = fPhi; }
void SetCoordinates(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar rho, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar eta, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar phi)
      Set internal data based on 3 Scalar numbers

{ fRho=rho; fEta=eta; fPhi=phi; Restrict(); }
void GetCoordinates(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar& rho, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar& eta, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar& phi) const
      get internal data into 3 Scalar numbers

{rho=fRho; eta=fEta; phi=fPhi;}
Scalar pi()
{ return M_PI; }
void Restrict()
T Rho()
 accessors
{ return fRho; }
T Eta()
{ return fEta; }
T Phi()
{ return fPhi; }
T X()
{ return fRho*std::cos(fPhi); }
T Y()
{ return fRho*std::sin(fPhi); }
T Z()
T R()
T Mag2()
{ return R()*R(); }
T Perp2()
{ return fRho*fRho; }
T Theta()
void SetRho(Double32_t rho)
 setters (only for data members)

       set the rho coordinate value keeping eta and phi constant

void SetEta(Double32_t eta)
       set the eta coordinate value keeping rho and phi constant

void SetPhi(Double32_t phi)
       set the phi coordinate value keeping rho and eta constant

void SetXYZ(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar xx, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar yy, ROOT::Math::CylindricalEta3D<Double32_t>::Scalar zz)
       set all values using cartesian coordinates

void Scale(Double32_t a)
      scale by a scalar quantity a --
      for cylindrical eta coords, as long as a >= 0, only rho changes!

Negate()
bool operator==(const ROOT::Math::CylindricalEta3D<Double32_t>& 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.

bool operator!=(const ROOT::Math::CylindricalEta3D<Double32_t>& rhs) const
{return !(operator==(rhs));}
T x()
 ============= Compatibility section ==================
 The following make this coordinate system look enough like a CLHEP
 vector that an assignment member template can work with either
{ return X();}
T y()
{ return Y();}
T z()
{ return Z(); }
void SetX(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar xx)
 ============= Specializations for improved speed ==================
 (none)
 ====== Set member functions for coordinates in other systems =======
void SetY(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar yy)
void SetZ(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar zz)
void SetR(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar r)
void SetTheta(ROOT::Math::CylindricalEta3D<Double32_t>::Scalar theta)

Last change: root/mathcore:$Id: CylindricalEta3D.h 24923 2008-07-23 15:43:05Z moneta $
Last generated: 2008-08-06 08:06
Copyright (c) 2005 , LCG ROOT MathLib Team and *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.