library: libMathCore
#include "Polar3D.h"

ROOT::Math::Polar3D<double>


class description - header file
viewCVS header

class ROOT::Math::Polar3D<double>

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

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

Data Members

private:
doublefR
doublefTheta
doublefPhi

Class Description

void SetCoordinates( const Scalar src[] )
{ fR=src[0]; fTheta=src[1]; fPhi=src[2]; Restrict(); }
void GetCoordinates( Scalar dest[] )
{ dest[0] = fR; dest[1] = fTheta; dest[2] = fPhi; }
void SetCoordinates(Scalar r, Scalar theta, Scalar phi)
{ fR=r; fTheta=theta; fPhi=phi; Restrict(); }
void GetCoordinates(Scalar& r, Scalar& theta, Scalar& phi)
{r=fR; theta=fTheta; phi=fPhi;}
Scalar R()
{ return fR;}
Scalar Phi()
{ return fPhi; }
Scalar Theta()
{ return fTheta; }
Scalar Rho()
{ return fR*std::sin(fTheta); }
Scalar X()
{ return Rho()*std::cos(fPhi);}
Scalar Y()
{ return Rho()*std::sin(fPhi);}
Scalar Z()
{ return fR*std::cos(fTheta); }
Scalar Mag2()
{ return fR*fR;}
Scalar Perp2()
{ return Rho()*Rho(); }
Scalar Eta()
 pseudorapidity
void setValues(const T & r, const T & theta, const T & phi)
Restrict()
void SetR(const T & r)
void SetTheta(const T & theta)
void SetPhi(const T & phi)
double pi()
{ return 3.14159265358979323; }
Negate()
bool operator==(const Polar3D & 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 SetZ(Scalar z)
void SetRho(Scalar rho)
void SetEta(Scalar eta)

Last update: Tue Nov 21 09:01:28 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.