library: libMathCore
#include "Cylindrical3D.h"

ROOT::Math::Cylindrical3D<double>


class description - header file
viewCVS header

class ROOT::Math::Cylindrical3D<double>

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
~Cylindrical3D<double>()
ROOT::Math::Cylindrical3D<double>Cylindrical3D<double>()
ROOT::Math::Cylindrical3D<double>Cylindrical3D<double>(const ROOT::Math::Cylindrical3D<double>&)
ROOT::Math::Cylindrical3D<double>Cylindrical3D<double>(ROOT::Math::Cylindrical3D<double>::Scalar rho, ROOT::Math::Cylindrical3D<double>::Scalar z, ROOT::Math::Cylindrical3D<double>::Scalar phi)
ROOT::Math::Cylindrical3D<double>::ScalarEta() const
voidGetCoordinates(ROOT::Math::Cylindrical3D<double>::Scalar* dest) const
voidGetCoordinates(ROOT::Math::Cylindrical3D<double>::Scalar& rho, ROOT::Math::Cylindrical3D<double>::Scalar& z, ROOT::Math::Cylindrical3D<double>::Scalar& phi) const
ROOT::Math::Cylindrical3D<double>::ScalarMag2() const
voidNegate()
booloperator!=(const ROOT::Math::Cylindrical3D<double>& rhs) const
ROOT::Math::Cylindrical3D<double>&operator=(const ROOT::Math::Cylindrical3D<double>&)
booloperator==(const ROOT::Math::Cylindrical3D<double>& rhs) const
ROOT::Math::Cylindrical3D<double>::ScalarPerp2() const
ROOT::Math::Cylindrical3D<double>::ScalarPhi() const
ROOT::Math::Cylindrical3D<double>::ScalarR() const
ROOT::Math::Cylindrical3D<double>::ScalarRho() const
voidScale(double a)
voidSetCoordinates(const ROOT::Math::Cylindrical3D<double>::Scalar* src)
voidSetCoordinates(ROOT::Math::Cylindrical3D<double>::Scalar rho, ROOT::Math::Cylindrical3D<double>::Scalar z, ROOT::Math::Cylindrical3D<double>::Scalar phi)
voidSetEta(ROOT::Math::Cylindrical3D<double>::Scalar eta)
voidSetPhi(double phi)
voidSetR(ROOT::Math::Cylindrical3D<double>::Scalar r)
voidSetRho(double rho)
voidSetTheta(ROOT::Math::Cylindrical3D<double>::Scalar theta)
voidsetValues(double rho, double z, double phi)
voidSetX(ROOT::Math::Cylindrical3D<double>::Scalar x)
voidSetY(ROOT::Math::Cylindrical3D<double>::Scalar y)
voidSetZ(double z)
ROOT::Math::Cylindrical3D<double>::ScalarTheta() const
ROOT::Math::Cylindrical3D<double>::ScalarX() const
doublex() const
ROOT::Math::Cylindrical3D<double>::ScalarY() const
doubley() const
ROOT::Math::Cylindrical3D<double>::ScalarZ() const
doublez() const
private:
static doublepi()
voidRestrict()

Data Members

private:
doublefRho
doublefZ
doublefPhi

Class Description

void SetCoordinates( const Scalar src[] )
{ fRho=src[0]; fZ=src[1]; fPhi=src[2]; Restrict(); }
void GetCoordinates( Scalar dest[] )
{ dest[0] = fRho; dest[1] = fZ; dest[2] = fPhi; }
void SetCoordinates(Scalar rho, Scalar z, Scalar phi)
{ fRho=rho; fZ=z; fPhi=phi; Restrict(); }
void GetCoordinates(Scalar& rho, Scalar& z, Scalar& phi)
{rho=fRho; z=fZ; phi=fPhi;}
double pi()
{ return 3.14159265358979323; }
void Restrict()
Scalar Rho()
{ return fRho; }
Scalar Z()
{ return fZ; }
Scalar Phi()
{ return fPhi; }
Scalar X()
{ return fRho*std::cos(fPhi); }
Scalar Y()
{ return fRho*std::sin(fPhi); }
Scalar Mag2()
{ return fRho*fRho + fZ*fZ; }
Scalar R()
{ return std::sqrt( Mag2()); }
Scalar Perp2()
{ return fRho*fRho; }
Scalar Theta()
{ return (fRho==0 && fZ==0 ) ? 0.0 : atan2(fRho,fZ); }
Scalar Eta()
 pseudorapidity - same implementation as in Cartesian3D
 static */ const Scalar big_z_scaled =
void setValues(T rho, T z, T phi)
void SetRho(T rho)
void SetZ(T z)
void SetPhi(T phi)
Negate()
bool operator==(const Cylindrical3D & rhs)
T x()
 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(Scalar x)
void SetY(Scalar y)
void SetEta(Scalar eta)
void SetR(Scalar r)
void SetTheta(Scalar theta)

Last update: Tue Nov 21 09:00:49 2006


ROOT page - Class index - Class Hierarchy - Top of the page

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.