Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TLorentzVector Class Reference

#include <TLorentzVector.h>

Inheritance diagram for TLorentzVector:

Inheritance graph
[legend]
Collaboration diagram for TLorentzVector:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  kX = 0, kY = 1, kZ = 2, kT = 3,
  kNUM_COORDINATES = 4, kSIZE = kNUM_COORDINATES
}

Public Methods

 TLorentzVector (Double_t x=0.0, Double_t y=0.0, Double_t z=0.0, Double_t t=0.0)
 TLorentzVector (const Double_t *carray)
 TLorentzVector (const Float_t *carray)
 TLorentzVector (const TVector3 &vector3, Double_t t)
 TLorentzVector (const TLorentzVector &lorentzvector)
virtual ~TLorentzVector ()
Double_t X () const
Double_t Y () const
Double_t Z () const
Double_t T () const
void SetX (Double_t a)
void SetY (Double_t a)
void SetZ (Double_t a)
void SetT (Double_t a)
Double_t Px () const
Double_t Py () const
Double_t Pz () const
Double_t P () const
Double_t E () const
Double_t Energy () const
void SetPx (Double_t a)
void SetPy (Double_t a)
void SetPz (Double_t a)
void SetE (Double_t a)
TVector3 Vect () const
void SetVect (const TVector3 &vect3)
Double_t Theta () const
Double_t CosTheta () const
Double_t Phi () const
Double_t Rho () const
void SetTheta (Double_t theta)
void SetPhi (Double_t phi)
void SetRho (Double_t rho)
void SetPxPyPzE (Double_t px, Double_t py, Double_t pz, Double_t e)
void SetXYZT (Double_t x, Double_t y, Double_t z, Double_t t)
void SetXYZM (Double_t x, Double_t y, Double_t z, Double_t m)
void SetPtEtaPhiM (Double_t pt, Double_t eta, Double_t phi, Double_t m)
void SetPtEtaPhiE (Double_t pt, Double_t eta, Double_t phi, Double_t e)
void GetXYZT (Double_t *carray) const
void GetXYZT (Float_t *carray) const
Double_t operator() (int i) const
Double_t operator[] (int i) const
Double_t & operator() (int i)
Double_t & operator[] (int i)
TLorentzVector & operator= (const TLorentzVector &)
TLorentzVector operator+ (const TLorentzVector &) const
TLorentzVector & operator+= (const TLorentzVector &)
TLorentzVector operator- (const TLorentzVector &) const
TLorentzVector & operator-= (const TLorentzVector &)
TLorentzVector operator- () const
TLorentzVector operator * (Double_t a) const
TLorentzVector & operator *= (Double_t a)
Bool_t operator== (const TLorentzVector &) const
Bool_t operator!= (const TLorentzVector &) const
Double_t Perp2 () const
Double_t Pt () const
Double_t Perp () const
void SetPerp (Double_t)
Double_t Perp2 (const TVector3 &v) const
Double_t Pt (const TVector3 &v) const
Double_t Perp (const TVector3 &v) const
Double_t DeltaPhi (const TLorentzVector &) const
Double_t DeltaR (const TLorentzVector &) const
Double_t DrEtaPhi (const TLorentzVector &) const
TVector2 EtaPhiVector ()
Double_t Angle (const TVector3 &v) const
Double_t Mag2 () const
Double_t M2 () const
Double_t Mag () const
Double_t M () const
Double_t Mt2 () const
Double_t Mt () const
Double_t Beta () const
Double_t Gamma () const
Double_t Dot (const TLorentzVector &) const
Double_t operator * (const TLorentzVector &) const
void SetVectMag (const TVector3 &spatial, Double_t magnitude)
void SetVectM (const TVector3 &spatial, Double_t mass)
Double_t Plus () const
Double_t Minus () const
TVector3 BoostVector () const
void Boost (Double_t, Double_t, Double_t)
void Boost (const TVector3 &)
Double_t Rapidity () const
Double_t Eta () const
Double_t PseudoRapidity () const
void RotateX (Double_t angle)
void RotateY (Double_t angle)
void RotateZ (Double_t angle)
void RotateUz (TVector3 &newUzVector)
void Rotate (Double_t, const TVector3 &)
TLorentzVector & operator *= (const TRotation &)
TLorentzVector & Transform (const TRotation &)
TLorentzVector & operator *= (const TLorentzRotation &)
TLorentzVector & Transform (const TLorentzRotation &)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
kX 
kY 
kZ 
kT 
kNUM_COORDINATES 
kSIZE 

Definition at line 52 of file TLorentzVector.h.


Constructor & Destructor Documentation

TLorentzVector::TLorentzVector Double_t    x = 0.0,
Double_t    y = 0.0,
Double_t    z = 0.0,
Double_t    t = 0.0
 

Referenced by operator *(), operator+(), and operator-().

TLorentzVector::TLorentzVector const Double_t *    carray
 

TLorentzVector::TLorentzVector const Float_t *    carray
 

TLorentzVector::TLorentzVector const TVector3   vector3,
Double_t    t
 

TLorentzVector::TLorentzVector const TLorentzVector &    lorentzvector
 

virtual TLorentzVector::~TLorentzVector   [virtual]
 


Member Function Documentation

Double_t TLorentzVector::X   const
 

Definition at line 273 of file TLorentzVector.h.

References TVector3::X().

Referenced by BoostVector(), Dot(), operator *(), operator *(), operator-(), Px(), TParticle::SetProductionVertex(), and TLorentzRotation::VectorMultiplication().

Double_t TLorentzVector::Y   const
 

Definition at line 274 of file TLorentzVector.h.

References TVector3::Y().

Referenced by BoostVector(), Dot(), operator *(), operator *(), operator-(), Py(), TParticle::SetProductionVertex(), and TLorentzRotation::VectorMultiplication().

Double_t TLorentzVector::Z   const
 

Definition at line 275 of file TLorentzVector.h.

References TVector3::Z().

Referenced by BoostVector(), Dot(), Minus(), Mt2(), operator *(), operator *(), operator-(), Plus(), Pz(), TParticle::SetProductionVertex(), and TLorentzRotation::VectorMultiplication().

Double_t TLorentzVector::T   const
 

Definition at line 276 of file TLorentzVector.h.

Referenced by BoostVector(), Dot(), Mag2(), Minus(), operator *(), operator *(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator==(), Plus(), TParticle::SetProductionVertex(), and TLorentzRotation::VectorMultiplication().

void TLorentzVector::SetX Double_t    a
 

Definition at line 278 of file TLorentzVector.h.

References TVector3::SetX().

Referenced by SetPx().

void TLorentzVector::SetY Double_t    a
 

Definition at line 279 of file TLorentzVector.h.

References TVector3::SetY().

Referenced by SetPy().

void TLorentzVector::SetZ Double_t    a
 

Definition at line 280 of file TLorentzVector.h.

References TVector3::SetZ().

Referenced by SetPz().

void TLorentzVector::SetT Double_t    a
 

Definition at line 281 of file TLorentzVector.h.

Referenced by SetE(), SetVectMag(), and SetXYZT().

Double_t TLorentzVector::Px   const
 

Definition at line 283 of file TLorentzVector.h.

References X().

Referenced by TParticle::SetMomentum().

Double_t TLorentzVector::Py   const
 

Definition at line 284 of file TLorentzVector.h.

References Y().

Referenced by TParticle::SetMomentum().

Double_t TLorentzVector::Pz   const
 

Definition at line 285 of file TLorentzVector.h.

References Z().

Referenced by TParticle::SetMomentum().

Double_t TLorentzVector::P   const
 

Definition at line 286 of file TLorentzVector.h.

Double_t TLorentzVector::E   const
 

Definition at line 287 of file TLorentzVector.h.

Referenced by Mt2().

Double_t TLorentzVector::Energy   const
 

Definition at line 288 of file TLorentzVector.h.

Referenced by TParticle::SetMomentum().

void TLorentzVector::SetPx Double_t    a
 

Definition at line 290 of file TLorentzVector.h.

References SetX().

void TLorentzVector::SetPy Double_t    a
 

Definition at line 291 of file TLorentzVector.h.

References SetY().

void TLorentzVector::SetPz Double_t    a
 

Definition at line 292 of file TLorentzVector.h.

References SetZ().

void TLorentzVector::SetE Double_t    a
 

Definition at line 293 of file TLorentzVector.h.

References SetT().

TVector3 TLorentzVector::Vect   const
 

Definition at line 295 of file TLorentzVector.h.

Referenced by operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), and operator==().

void TLorentzVector::SetVect const TVector3   vect3
 

Definition at line 297 of file TLorentzVector.h.

Referenced by SetVectMag().

Double_t TLorentzVector::Theta   const
 

Definition at line 303 of file TLorentzVector.h.

References TVector3::Theta().

Double_t TLorentzVector::CosTheta   const
 

Definition at line 307 of file TLorentzVector.h.

References TVector3::CosTheta().

Double_t TLorentzVector::Phi   const
 

Definition at line 299 of file TLorentzVector.h.

References TVector3::Phi().

Referenced by DeltaPhi(), DeltaR(), and EtaPhiVector().

Double_t TLorentzVector::Rho   const
 

Definition at line 312 of file TLorentzVector.h.

References TVector3::Mag().

void TLorentzVector::SetTheta Double_t    theta
 

Definition at line 316 of file TLorentzVector.h.

References TVector3::SetTheta().

void TLorentzVector::SetPhi Double_t    phi
 

Definition at line 320 of file TLorentzVector.h.

References TVector3::SetPhi().

void TLorentzVector::SetRho Double_t    rho
 

Definition at line 324 of file TLorentzVector.h.

References TVector3::SetMag().

void TLorentzVector::SetPxPyPzE Double_t    px,
Double_t    py,
Double_t    pz,
Double_t    e
 

Definition at line 333 of file TLorentzVector.h.

References SetXYZT().

Referenced by TParticle::Momentum().

void TLorentzVector::SetXYZT Double_t    x,
Double_t    y,
Double_t    z,
Double_t    t
 

Definition at line 328 of file TLorentzVector.h.

References SetT(), and TVector3::SetXYZ().

Referenced by TParticle::ProductionVertex(), SetPtEtaPhiE(), SetPxPyPzE(), and SetXYZM().

void TLorentzVector::SetXYZM Double_t    x,
Double_t    y,
Double_t    z,
Double_t    m
 

Definition at line 337 of file TLorentzVector.h.

References SetXYZT(), and TMath::Sqrt().

Referenced by SetPtEtaPhiM().

void TLorentzVector::SetPtEtaPhiM Double_t    pt,
Double_t    eta,
Double_t    phi,
Double_t    m
 

Definition at line 341 of file TLorentzVector.h.

References TMath::Abs(), TMath::ATan(), TMath::Cos(), TMath::Exp(), SetXYZM(), TMath::Sin(), and TMath::Tan().

void TLorentzVector::SetPtEtaPhiE Double_t    pt,
Double_t    eta,
Double_t    phi,
Double_t    e
 

Definition at line 346 of file TLorentzVector.h.

References TMath::Abs(), TMath::ATan(), TMath::Cos(), TMath::Exp(), SetXYZT(), TMath::Sin(), and TMath::Tan().

void TLorentzVector::GetXYZT Double_t *    carray const
 

Definition at line 351 of file TLorentzVector.h.

References TVector3::GetXYZ().

void TLorentzVector::GetXYZT Float_t *    carray const
 

Definition at line 356 of file TLorentzVector.h.

References TVector3::GetXYZ().

Double_t TLorentzVector::operator() int    i const
 

Double_t TLorentzVector::operator[] int    i const
 

Definition at line 362 of file TLorentzVector.h.

Double_t& TLorentzVector::operator() int    i
 

Double_t & TLorentzVector::operator[] int    i
 

Definition at line 361 of file TLorentzVector.h.

TLorentzVector & TLorentzVector::operator= const TLorentzVector &   
 

Definition at line 365 of file TLorentzVector.h.

References T(), and Vect().

TLorentzVector TLorentzVector::operator+ const TLorentzVector &    const
 

Definition at line 372 of file TLorentzVector.h.

References T(), TLorentzVector(), and Vect().

TLorentzVector & TLorentzVector::operator+= const TLorentzVector &   
 

Definition at line 377 of file TLorentzVector.h.

References T(), and Vect().

TLorentzVector TLorentzVector::operator- const TLorentzVector &    const
 

Definition at line 384 of file TLorentzVector.h.

References T(), TLorentzVector(), and Vect().

TLorentzVector & TLorentzVector::operator-= const TLorentzVector &   
 

Definition at line 389 of file TLorentzVector.h.

References T(), and Vect().

TLorentzVector TLorentzVector::operator-   const
 

Definition at line 395 of file TLorentzVector.h.

References T(), TLorentzVector(), X(), Y(), and Z().

TLorentzVector TLorentzVector::operator * Double_t    a const
 

Definition at line 405 of file TLorentzVector.h.

References T(), TLorentzVector(), X(), Y(), and Z().

TLorentzVector & TLorentzVector::operator *= Double_t    a
 

Definition at line 399 of file TLorentzVector.h.

Bool_t TLorentzVector::operator== const TLorentzVector &    const
 

Definition at line 410 of file TLorentzVector.h.

References T(), and Vect().

Bool_t TLorentzVector::operator!= const TLorentzVector &    const
 

Definition at line 415 of file TLorentzVector.h.

References T(), and Vect().

Double_t TLorentzVector::Perp2   const
 

Definition at line 419 of file TLorentzVector.h.

References TVector3::Perp2().

Double_t TLorentzVector::Pt   const
 

Definition at line 423 of file TLorentzVector.h.

References Perp().

Double_t TLorentzVector::Perp   const
 

Definition at line 421 of file TLorentzVector.h.

Referenced by Pt().

void TLorentzVector::SetPerp Double_t   
 

Definition at line 425 of file TLorentzVector.h.

References TVector3::SetPerp().

Double_t TLorentzVector::Perp2 const TVector3   v const
 

Definition at line 429 of file TLorentzVector.h.

References TVector3::Perp2().

Double_t TLorentzVector::Pt const TVector3   v const
 

Definition at line 437 of file TLorentzVector.h.

References Perp().

Double_t TLorentzVector::Perp const TVector3   v const
 

Definition at line 433 of file TLorentzVector.h.

References TVector3::Perp().

Double_t TLorentzVector::DeltaPhi const TLorentzVector &    const
 

Definition at line 441 of file TLorentzVector.h.

References Phi(), and TVector2::Phi_mpi_pi().

Double_t TLorentzVector::DeltaR const TLorentzVector &    const
 

Definition at line 448 of file TLorentzVector.h.

References Eta(), Phi(), TVector2::Phi_mpi_pi(), and TMath::Sqrt().

Referenced by DrEtaPhi().

Double_t TLorentzVector::DrEtaPhi const TLorentzVector &    const
 

Definition at line 454 of file TLorentzVector.h.

References DeltaR().

TVector2 TLorentzVector::EtaPhiVector  
 

Definition at line 458 of file TLorentzVector.h.

References Eta(), and Phi().

Double_t TLorentzVector::Angle const TVector3   v const
 

Definition at line 463 of file TLorentzVector.h.

References TVector3::Angle().

Double_t TLorentzVector::Mag2   const
 

Definition at line 467 of file TLorentzVector.h.

References TVector3::Mag2(), and T().

Referenced by M2(), and Mag().

Double_t TLorentzVector::M2   const
 

Definition at line 476 of file TLorentzVector.h.

References Mag2().

Double_t TLorentzVector::Mag   const
 

Definition at line 471 of file TLorentzVector.h.

References Mag2(), and TMath::Sqrt().

Referenced by M().

Double_t TLorentzVector::M   const
 

Definition at line 477 of file TLorentzVector.h.

References Mag().

Double_t TLorentzVector::Mt2   const
 

Definition at line 479 of file TLorentzVector.h.

References E(), and Z().

Referenced by Mt().

Double_t TLorentzVector::Mt   const
 

Definition at line 483 of file TLorentzVector.h.

References Mt2(), and TMath::Sqrt().

Double_t TLorentzVector::Beta   const
 

Definition at line 488 of file TLorentzVector.h.

References TVector3::Mag().

Referenced by Gamma().

Double_t TLorentzVector::Gamma   const
 

Definition at line 492 of file TLorentzVector.h.

References Beta(), and TMath::Sqrt().

Double_t TLorentzVector::Dot const TLorentzVector &    const
 

Definition at line 508 of file TLorentzVector.h.

References T(), X(), Y(), and Z().

Referenced by operator *().

Double_t TLorentzVector::operator * const TLorentzVector &    const
 

Definition at line 513 of file TLorentzVector.h.

References Dot().

void TLorentzVector::SetVectMag const TVector3   spatial,
Double_t    magnitude
 

Definition at line 498 of file TLorentzVector.h.

References SetT(), SetVect(), and TMath::Sqrt().

Referenced by SetVectM().

void TLorentzVector::SetVectM const TVector3   spatial,
Double_t    mass
 

Definition at line 504 of file TLorentzVector.h.

References SetVectMag().

Double_t TLorentzVector::Plus   const
 

Definition at line 528 of file TLorentzVector.h.

References T(), and Z().

Double_t TLorentzVector::Minus   const
 

Definition at line 532 of file TLorentzVector.h.

References T(), and Z().

TVector3 TLorentzVector::BoostVector   const
 

Definition at line 536 of file TLorentzVector.h.

References T(), X(), Y(), and Z().

void TLorentzVector::Boost Double_t   ,
Double_t   ,
Double_t   
 

Referenced by Boost().

void TLorentzVector::Boost const TVector3  
 

Definition at line 540 of file TLorentzVector.h.

References Boost(), TVector3::X(), TVector3::Y(), and TVector3::Z().

Double_t TLorentzVector::Rapidity   const
 

Double_t TLorentzVector::Eta   const
 

Definition at line 445 of file TLorentzVector.h.

References PseudoRapidity().

Referenced by DeltaR(), and EtaPhiVector().

Double_t TLorentzVector::PseudoRapidity   const
 

Definition at line 544 of file TLorentzVector.h.

References TVector3::PseudoRapidity().

Referenced by Eta().

void TLorentzVector::RotateX Double_t    angle
 

Definition at line 548 of file TLorentzVector.h.

References TVector3::RotateX().

void TLorentzVector::RotateY Double_t    angle
 

Definition at line 552 of file TLorentzVector.h.

References TVector3::RotateY().

void TLorentzVector::RotateZ Double_t    angle
 

Definition at line 556 of file TLorentzVector.h.

References TVector3::RotateZ().

void TLorentzVector::RotateUz TVector3   newUzVector
 

Definition at line 560 of file TLorentzVector.h.

References TVector3::RotateUz().

void TLorentzVector::Rotate Double_t   ,
const TVector3  
 

Definition at line 564 of file TLorentzVector.h.

References TVector3::Rotate().

TLorentzVector & TLorentzVector::operator *= const TRotation  
 

Definition at line 569 of file TLorentzVector.h.

TLorentzVector & TLorentzVector::Transform const TRotation  
 

Definition at line 575 of file TLorentzVector.h.

References TVector3::Transform().

TLorentzVector& TLorentzVector::operator *= const TLorentzRotation  
 

TLorentzVector& TLorentzVector::Transform const TLorentzRotation  
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 15:04:23 2003 for ROOT by doxygen1.2.16