TVector2
class description - source file - inheritance tree
public:
TVector2 TVector2()
TVector2 TVector2(Double_t* s)
TVector2 TVector2(Double_t x0, Double_t y0)
TVector2 Unit() const
TVector2 Ort() const
TVector2 Proj(const TVector2& v) const
TVector2 Norm(const TVector2& v) const
TVector2 Rotate(Double_t phi)
TVector2 TVector2(const TVector2&)
virtual void ~TVector2()
static TClass* Class()
Double_t DeltaPhi(const TVector2& v) const
virtual TClass* IsA() const
Double_t Mod() const
Double_t Mod2() const
Double_t operator*=(TVector2 const& v)
TVector2& operator*=(Double_t s)
TVector2& operator+=(TVector2 const& v)
TVector2& operator-=(TVector2 const& v)
TVector2& operator/=(Double_t s)
TVector2& operator=(TVector2 const& v)
Double_t Phi() const
static Double_t Phi_0_2pi(Double_t x)
static Double_t Phi_mpi_pi(Double_t x)
Double_t Px() const
Double_t Py() const
void Set(const TVector2& v)
void Set(Double_t x0, Double_t y0)
void Set(float x0, float y0)
void SetMagPhi(Double_t mag, Double_t phi)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Double_t X() const
Double_t Y() const
protected:
Double_t fX components of the vector
Double_t fY
TVector2()
TVector2(Double_t *v)
TVector2(Double_t x0, Double_t y0)
~TVector2()
TVector2 Rotate (Double_t phi)
void Streamer(TBuffer &R__b)
Stream an object of class TVector2.
Inline Functions
TVector2& operator=(TVector2 const& v)
TVector2& operator+=(TVector2 const& v)
TVector2& operator-=(TVector2 const& v)
Double_t operator*=(TVector2 const& v)
TVector2& operator*=(Double_t s)
TVector2& operator/=(Double_t s)
void Set(const TVector2& v)
void Set(Double_t x0, Double_t y0)
void Set(float x0, float y0)
Double_t Mod2() const
Double_t Mod() const
Double_t Px() const
Double_t Py() const
Double_t X() const
Double_t Y() const
Double_t Phi() const
Double_t DeltaPhi(const TVector2& v) const
void SetMagPhi(Double_t mag, Double_t phi)
TVector2 Unit() const
TVector2 Ort() const
TVector2 Proj(const TVector2& v) const
TVector2 Norm(const TVector2& v) const
Double_t Phi_0_2pi(Double_t x)
Double_t Phi_mpi_pi(Double_t x)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void StreamerNVirtual(TBuffer& b)
TVector2 TVector2(const TVector2&)
Author: Pasha Murat 12/02/99
Last update: root/physics:$Name: $:$Id: TVector2.cxx,v 1.2 2000/11/21 20:44:24 brun Exp $
ROOT page - Class index - 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.