#include "TFourVectorReal.h"

TFourVectorReal


class description - header file - source file

class TFourVectorReal: public TThreeVectorReal

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TFourVectorReal()
TFourVectorReal(const Float_t* array)
TFourVectorReal(const Double_t* array)
TFourVectorReal(const TFourVectorReal& another)
TFourVectorReal(const Double_t t, const TThreeVectorReal& another)
TFourVectorReal(const Double_t t, const Double_t x, const Double_t y, const Double_t z)
virtual~TFourVectorReal()
TFourVectorReal&Boost(const TLorentzBoost& boostOp)
TFourVectorReal&Boost(const TUnitVector& bhat, const Double_t beta)
TFourVectorReal&Boost(const Double_t betaX, const Double_t betaY, const Double_t betaZ)
static TClass*Class()
Double_tTThreeVectorReal::CosTheta() const
TThreeVectorReal&TThreeVectorReal::Cross(const TThreeVectorReal& other)
TThreeVectorReal&TThreeVectorReal::Cross(const TThreeVectorReal& va, const TThreeVectorReal& vb)
Double_tDistanceTo(const Double_t* array) const
Double_tDistanceTo(const TFourVectorReal& vec2) const
Double_tDistanceTo(const Double_t t, const Double_t x, const Double_t y, const Double_t z) const
Double_tTThreeVectorReal::Dot(const TThreeVectorReal& other)
voidTThreeVectorReal::GetCartesian(Double_t* array) const
voidTThreeVectorReal::GetCartesian(Double_t& x, Double_t& y, Double_t& z) const
voidGetCoord(Double_t* array) const
voidGetCoord(Double_t& t, Double_t& x, Double_t& y, Double_t& z) const
voidTThreeVectorReal::GetPolar(Double_t& r, Double_t& theta, Double_t& phi) const
Double_tInvariant() const
Double_tInvariantSqr() const
virtual TClass*IsA() const
Double_tTThreeVectorReal::Length() const
Double_tTThreeVectorReal::LengthSqr() const
TThreeVectorReal&TThreeVectorReal::Normalize(const Double_t length)
Bool_toperator!=(const TFourVectorReal& other) const
TFourVectorReal&operator*=(const Double_t factor)
TFourVectorReal&operator+=(const TFourVectorReal& source)
TFourVectorReal&operator+=(const Float_t* array)
TFourVectorReal&operator+=(const Double_t* array)
TFourVectorRealoperator-() const
TFourVectorReal&operator-=(const TFourVectorReal& source)
TFourVectorReal&operator-=(const Float_t* array)
TFourVectorReal&operator-=(const Double_t* array)
TFourVectorReal&operator/=(const Double_t factor)
TFourVectorReal&operator=(const TFourVectorReal& source)
TFourVectorReal&operator=(const Float_t* array)
TFourVectorReal&operator=(const Double_t* array)
Bool_toperator==(const TFourVectorReal& other) const
Double_t&operator[](const Int_t index) const
Double_tTThreeVectorReal::Phi() const
voidPrint(Option_t* option = "")
Double_tResolution() const
Double_tTThreeVectorReal::Rho() const
Double_tTThreeVectorReal::RhoSqr() const
TThreeVectorReal&TThreeVectorReal::Rotate(const TThreeRotation& rotOp)
TThreeVectorReal&TThreeVectorReal::Rotate(const TUnitVector& ahat, const Double_t angle)
TThreeVectorReal&TThreeVectorReal::Rotate(const Double_t phi, const Double_t theta, const Double_t psi)
Double_tScalarProd(const TFourVectorReal& other)
TThreeVectorReal&TThreeVectorReal::SetPolar(const Double_t r, const Double_t theta, const Double_t phi)
static voidTThreeVectorReal::SetResolution(const Double_t resolution)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
TThreeVectorReal&TThreeVectorReal::SpaceInv()
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
Double_tTThreeVectorReal::Theta() const
TFourVectorReal&Transform(const TLorentzTransform& xformOp)
TFourVectorReal&Zero()

Data Members

protected:
Double_tTThreeVectorReal::fVector[4]real vector allocated on stack
static Double_tTThreeVectorReal::fResolutionvector resolving "distance"

Class Description

									
 Lorentz Algebra Package						
									
 The present package implements all the basic algorithms dealing	
 with three-vectors and four-vectors, together with their transform-	
 ations.  Four-vectors are derived from three-vectors and inherit	
 all of their members.  Direct access to the components is provided	
 through the subscript operator [i] which covers the range 1...3 for	
 three-vectors and 0...3 for four-vectors.  Transformations are	
 implemented as a friend class so that they can operate directly on	
 the data members of the vector, which are otherwise hidden.  The	
 special transformations (rotations and boosts) inherit from the	
 general class LorentzTransform.  Products of rotations are other	
 rotations, whereas the product of a boost with anything is simply	
 a LorentzTransform.  The LorentzTransform objects can be tested	
 for the property of being a pure rotation or boost.  They can also	
 implement non-isochronous and improper transformations.		
									
 Rotations may be specified either by Euler angles or by a rotation	
 axis.  All angles are assumed to be in radians.  Vector classes are	
 defined for both Real_t and Complex_t generic types.  For complex	
 vectors there are several additional member functions to deal with	
 operations that are specific to complex numbers.			
									
 The classes comprising this package are:				
   TThreeVectorReal is a base class                   		
   TThreeVectorComplex is a base class				
   TFourVectorReal is a TThreeVectorReal				
   TFourVectorComplex is a TThreeVectorComplex			
   TLorentzTransform is a base class					
   TThreeRotation is a TLorentzTransform				
   TLorentzBoost is a TLorentzTransform				
 The following aliases are defined for these classes:			
   TUnitVector is an alias for TThreeVectorReal			
   TThreeVector is an alias for TThreeVectorReal			
   TFourVector is an alias for TFourVectorReal			
									
 This package was developed at the University of Connecticut by	
 Richard T. Jones                            				
									

TFourVectorReal & Boost(const TLorentzBoost &boostOp)
TFourVectorReal & Boost(const Double_t betaX, const Double_t betaY, const Double_t betaZ)
void Streamer(TBuffer &buf)
 Put/get four-vector from stream buffer buf.
void Print(Option_t *option)
 Output an ascii representation of four-vector.
TFourVectorReal(const Float_t *array)
TFourVectorReal(const Double_t *array)
TFourVectorReal(const TFourVectorReal &another)
Double_t Resolution()
Double_t & operator[](const Int_t index)
Double_t Invariant()
Double_t InvariantSqr()
void GetCoord(Double_t *array)
Double_t DistanceTo(const Double_t *array)
TFourVectorReal & operator=(const Float_t *array)
TFourVectorReal & operator=(const Double_t *array)
TFourVectorReal & operator+=(const Float_t *array)
TFourVectorReal & operator+=(const Double_t *array)
TFourVectorReal & operator-=(const Float_t *array)
TFourVectorReal & operator-=(const Double_t *array)
TFourVectorReal & operator*=(const Double_t factor)
TFourVectorReal & operator/=(const Double_t factor)
Bool_t operator==(const TFourVectorReal &other)
Bool_t operator!=(const TFourVectorReal &other)
TFourVectorReal & Zero()
Double_t ScalarProd(const TFourVectorReal &other)
TFourVectorReal operator-()
TFourVectorReal()
{ }
TFourVectorReal(const Double_t t, const Double_t x, const Double_t y, const Double_t z)
TFourVectorReal(const Double_t *array)
virtual ~TFourVectorReal()
{ }
void GetCoord(Double_t &t, Double_t &x, Double_t &y, Double_t &z)
Double_t DistanceTo(const Double_t t, const Double_t x, const Double_t y, const Double_t z)
Double_t DistanceTo(const TFourVectorReal &vec2)
TFourVectorReal & operator=(const TFourVectorReal &source)
TFourVectorReal & operator+=(const TFourVectorReal &source)
TFourVectorReal & operator-=(const TFourVectorReal &source)
TFourVectorReal & Transform(const TLorentzTransform &xformOp)
TFourVectorReal & Boost(const TLorentzBoost &boostOp)

Author: Richard T. Jones 11/16/98
Last update: Dec. 12, 1998 v1.00
Copyright (c) 1998, University of Connecticut, All rights reserved. *


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.