library: libMathCore
#include "PxPyPzE4D.h"

ROOT::Math::PxPyPzE4D<double>


class description - header file
viewCVS header

class ROOT::Math::PxPyPzE4D<double>

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
~PxPyPzE4D<double>()
ROOT::Math::PxPyPzE4D<double>::ScalarE() const
ROOT::Math::PxPyPzE4D<double>::ScalarEt() const
ROOT::Math::PxPyPzE4D<double>::ScalarEt2() const
ROOT::Math::PxPyPzE4D<double>::ScalarEta() const
voidGetCoordinates(ROOT::Math::PxPyPzE4D<double>::Scalar* dest) const
voidGetCoordinates(ROOT::Math::PxPyPzE4D<double>::Scalar& x, ROOT::Math::PxPyPzE4D<double>::Scalar& y, ROOT::Math::PxPyPzE4D<double>::Scalar& z, ROOT::Math::PxPyPzE4D<double>::Scalar& t) const
ROOT::Math::PxPyPzE4D<double>::ScalarM() const
ROOT::Math::PxPyPzE4D<double>::ScalarM2() const
ROOT::Math::PxPyPzE4D<double>::ScalarMag() const
ROOT::Math::PxPyPzE4D<double>::ScalarMag2() const
ROOT::Math::PxPyPzE4D<double>::ScalarMt() const
ROOT::Math::PxPyPzE4D<double>::ScalarMt2() const
voidNegate()
booloperator!=(const ROOT::Math::PxPyPzE4D<double>& rhs) const
ROOT::Math::PxPyPzE4D<double>&operator=(const ROOT::Math::PxPyPzE4D<double>&)
booloperator==(const ROOT::Math::PxPyPzE4D<double>& rhs) const
ROOT::Math::PxPyPzE4D<double>::ScalarP() const
ROOT::Math::PxPyPzE4D<double>::ScalarP2() const
ROOT::Math::PxPyPzE4D<double>::ScalarPerp() const
ROOT::Math::PxPyPzE4D<double>::ScalarPerp2() const
ROOT::Math::PxPyPzE4D<double>::ScalarPhi() const
ROOT::Math::PxPyPzE4D<double>::ScalarPt() const
ROOT::Math::PxPyPzE4D<double>::ScalarPt2() const
ROOT::Math::PxPyPzE4D<double>::ScalarPx() const
ROOT::Math::PxPyPzE4D<double>PxPyPzE4D<double>()
ROOT::Math::PxPyPzE4D<double>PxPyPzE4D<double>(const ROOT::Math::PxPyPzE4D<double>&)
ROOT::Math::PxPyPzE4D<double>PxPyPzE4D<double>(ROOT::Math::PxPyPzE4D<double>::Scalar x, ROOT::Math::PxPyPzE4D<double>::Scalar y, ROOT::Math::PxPyPzE4D<double>::Scalar z, ROOT::Math::PxPyPzE4D<double>::Scalar t)
ROOT::Math::PxPyPzE4D<double>::ScalarPy() const
ROOT::Math::PxPyPzE4D<double>::ScalarPz() const
ROOT::Math::PxPyPzE4D<double>::ScalarR() const
ROOT::Math::PxPyPzE4D<double>::ScalarRho() const
voidScale(const ROOT::Math::PxPyPzE4D<double>::Scalar& a)
voidSetCoordinates(const ROOT::Math::PxPyPzE4D<double>::Scalar* src)
voidSetCoordinates(ROOT::Math::PxPyPzE4D<double>::Scalar x, ROOT::Math::PxPyPzE4D<double>::Scalar y, ROOT::Math::PxPyPzE4D<double>::Scalar z, ROOT::Math::PxPyPzE4D<double>::Scalar t)
voidSetE(ROOT::Math::PxPyPzE4D<double>::Scalar t)
voidSetEta(ROOT::Math::PxPyPzE4D<double>::Scalar eta)
voidSetM(ROOT::Math::PxPyPzE4D<double>::Scalar m)
voidSetPhi(ROOT::Math::PxPyPzE4D<double>::Scalar phi)
voidSetPt(ROOT::Math::PxPyPzE4D<double>::Scalar pt)
voidSetPx(ROOT::Math::PxPyPzE4D<double>::Scalar x)
voidSetPy(ROOT::Math::PxPyPzE4D<double>::Scalar y)
voidSetPz(ROOT::Math::PxPyPzE4D<double>::Scalar z)
ROOT::Math::PxPyPzE4D<double>::ScalarT() const
ROOT::Math::PxPyPzE4D<double>::Scalart() const
ROOT::Math::PxPyPzE4D<double>::ScalarTheta() const
ROOT::Math::PxPyPzE4D<double>::ScalarX() const
ROOT::Math::PxPyPzE4D<double>::Scalarx() const
ROOT::Math::PxPyPzE4D<double>::ScalarY() const
ROOT::Math::PxPyPzE4D<double>::Scalary() const
ROOT::Math::PxPyPzE4D<double>::ScalarZ() const
ROOT::Math::PxPyPzE4D<double>::Scalarz() const

Data Members

private:
doublefX
doublefY
doublefZ
doublefT

Class Description

void SetCoordinates( const Scalar src[] )
{ fX=src[0]; fY=src[1]; fZ=src[2]; fT=src[3]; }
void GetCoordinates( Scalar dest[] )
{ dest[0] = fX; dest[1] = fY; dest[2] = fZ; dest[3] = fT; }
void SetCoordinates(Scalar x, Scalar y, Scalar z, Scalar t)
{ fX=x; fY=y; fZ=z; fT=t;}
void GetCoordinates(Scalar& x, Scalar& y, Scalar& z, Scalar& t)
{ x=fX; y=fY; z=fZ; t=fT;}
Scalar Px()
{ return fX;}
Scalar Py()
{ return fY;}
Scalar Pz()
{ return fZ;}
Scalar E()
{ return fT;}
Scalar X()
{ return fX;}
Scalar Y()
{ return fY;}
Scalar Z()
{ return fZ;}
Scalar T()
{ return fT;}
Scalar P2()
{ return fX*fX + fY*fY + fZ*fZ; }
Scalar P()
{ return std::sqrt(P2()); }
Scalar R()
{ return P(); }
Scalar M2()
{ return fT*fT - fX*fX - fY*fY - fZ*fZ;}
Scalar Mag2()
{ return M2(); }
Scalar M()
Scalar Mag()
{ return M(); }
Scalar Pt2()
{ return fX*fX + fY*fY;}
Scalar Perp2()
{ return Pt2();}
Scalar Pt()
{ return std::sqrt(Perp2());}
Scalar Perp()
{ return Pt();}
Scalar Rho()
{ return Pt();}
Scalar Mt2()
{ return fT*fT - fZ*fZ; }
Scalar Mt()
Scalar Et2()
 but it is faster to form p^2 from pt^2
Scalar Et()
Scalar Phi()
Scalar Theta()
Scalar Eta()
void SetPx( Scalar x)
void SetPy( Scalar y)
void SetPz( Scalar z)
void SetE( Scalar t)
void Negate( )
{ fX = -fX; fY = -fY; fZ = -fZ; fT = -fT;}
void Scale( const Scalar & a)
fX = v. x()
fY = v. y()
fZ = v. z()
fT = v. t()
void SetPt(Scalar pt)
void SetEta(Scalar eta)
void SetPhi(Scalar phi)
void SetM(Scalar m)

Last update: Sat Nov 25 10:43:45 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.