Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

TVector3 Class Reference

#include <TVector3.h>

List of all members.

Public Member Functions

 TVector3 (Double_t x=0.0, Double_t y=0.0, Double_t z=0.0)
 TVector3 (const Double_t *)
 TVector3 (const Float_t *)
 TVector3 (const TVector3 &)
virtual ~TVector3 ()
Double_t operator() (int) const
Double_t operator[] (int) const
Double_t & operator() (int)
Double_t & operator[] (int)
Double_t x () const
Double_t y () const
Double_t z () const
Double_t X () const
Double_t Y () const
Double_t Z () const
Double_t Px () const
Double_t Py () const
Double_t Pz () const
void SetX (Double_t)
void SetY (Double_t)
void SetZ (Double_t)
void SetXYZ (Double_t x, Double_t y, Double_t z)
void SetPtEtaPhi (Double_t pt, Double_t eta, Double_t phi)
void SetPtThetaPhi (Double_t pt, Double_t theta, Double_t phi)
void GetXYZ (Double_t *carray) const
void GetXYZ (Float_t *carray) const
Double_t Phi () const
Double_t Theta () const
Double_t CosTheta () const
Double_t Mag2 () const
Double_t Mag () const
void SetPhi (Double_t)
void SetTheta (Double_t)
void SetMag (Double_t)
Double_t Perp2 () const
Double_t Pt () const
Double_t Perp () const
void SetPerp (Double_t)
Double_t Perp2 (const TVector3 &) const
Double_t Pt (const TVector3 &) const
Double_t Perp (const TVector3 &) const
Double_t DeltaPhi (const TVector3 &) const
Double_t DeltaR (const TVector3 &) const
Double_t DrEtaPhi (const TVector3 &) const
TVector2 EtaPhiVector () const
void SetMagThetaPhi (Double_t mag, Double_t theta, Double_t phi)
TVector3 & operator= (const TVector3 &)
Bool_t operator== (const TVector3 &) const
Bool_t operator!= (const TVector3 &) const
TVector3 & operator+= (const TVector3 &)
TVector3 & operator-= (const TVector3 &)
TVector3 operator- () const
TVector3 & operator *= (Double_t)
TVector3 Unit () const
TVector3 Orthogonal () const
Double_t Dot (const TVector3 &) const
TVector3 Cross (const TVector3 &) const
Double_t Angle (const TVector3 &) const
Double_t PseudoRapidity () const
Double_t Eta () const
void RotateX (Double_t)
void RotateY (Double_t)
void RotateZ (Double_t)
void RotateUz (const TVector3 &)
void Rotate (Double_t, const TVector3 &)
TVector3 & operator *= (const TRotation &)
TVector3 & Transform (const TRotation &)
TVector2 XYvector () const
void Print (Option_t *option="") const

Private Attributes

Double_t fX
Double_t fY
Double_t fZ


Constructor & Destructor Documentation

TVector3::TVector3 (  Double_t  x = 0.0,
Double_t  y = 0.0,
Double_t  z = 0.0
) 
 

Referenced by Cross(), operator-(), and Orthogonal().

TVector3::TVector3 (  const Double_t *   ) 
 

TVector3::TVector3 (  const Float_t *   ) 
 

TVector3::TVector3 (  const TVector3 &   ) 
 

virtual TVector3::~TVector3 (   )  [virtual]
 


Member Function Documentation

Double_t TVector3::Angle (  const TVector3 &   )  const [inline]
 

Definition at line 349 of file TVector3.h.

References Dot(), and Mag2().

Referenced by makePyEvts().

Double_t TVector3::CosTheta (   )  const [inline]
 

Definition at line 344 of file TVector3.h.

References fZ, and Mag().

TVector3 TVector3::Cross (  const TVector3 &   )  const [inline]
 

Definition at line 286 of file TVector3.h.

References fX, fY, fZ, and TVector3().

Double_t TVector3::DeltaPhi (  const TVector3 &   )  const [inline]
 

Definition at line 395 of file TVector3.h.

References Phi().

Double_t TVector3::DeltaR (  const TVector3 &   )  const [inline]
 

Definition at line 407 of file TVector3.h.

References Eta(), and Phi().

Referenced by DrEtaPhi().

Double_t TVector3::Dot (  const TVector3 &   )  const [inline]
 

Definition at line 282 of file TVector3.h.

References fX, fY, and fZ.

Referenced by Angle(), makePyEvts(), makePyEvts1(), makePyEvts2(), and Perp2().

Double_t TVector3::DrEtaPhi (  const TVector3 &   )  const [inline]
 

Definition at line 403 of file TVector3.h.

References DeltaR().

Double_t TVector3::Eta (   )  const [inline]
 

Definition at line 399 of file TVector3.h.

References PseudoRapidity().

Referenced by DeltaR(), and EtaPhiVector().

TVector2 TVector3::EtaPhiVector (   )  const [inline]
 

Definition at line 421 of file TVector3.h.

References Eta(), and Phi().

void TVector3::GetXYZ (  Float_t *  carray  )  const [inline]
 

Definition at line 235 of file TVector3.h.

void TVector3::GetXYZ (  Double_t *  carray  )  const [inline]
 

Definition at line 229 of file TVector3.h.

Double_t TVector3::Mag (   )  const [inline]
 

Definition at line 292 of file TVector3.h.

References Mag2().

Referenced by CosTheta(), SetMag(), and SetTheta().

Double_t TVector3::Mag2 (   )  const [inline]
 

Definition at line 290 of file TVector3.h.

References fX, fY, and fZ.

Referenced by Angle(), Mag(), Perp2(), and Unit().

TVector3& TVector3::operator *= (  const TRotation &   ) 
 

TVector3 & TVector3::operator *= (  Double_t   )  [inline]
 

Definition at line 275 of file TVector3.h.

References fX, fY, and fZ.

Bool_t TVector3::operator!= (  const TVector3 &   )  const [inline]
 

Definition at line 253 of file TVector3.h.

References fX, fY, and fZ.

Double_t& TVector3::operator() (  int   ) 
 

Double_t TVector3::operator() (  int   )  const
 

Referenced by operator[]().

TVector3 & TVector3::operator+= (  const TVector3 &   )  [inline]
 

Definition at line 257 of file TVector3.h.

References fX, fY, and fZ.

TVector3 TVector3::operator- (   )  const [inline]
 

Definition at line 271 of file TVector3.h.

References fX, fY, fZ, and TVector3().

TVector3 & TVector3::operator-= (  const TVector3 &   )  [inline]
 

Definition at line 264 of file TVector3.h.

References fX, fY, and fZ.

TVector3 & TVector3::operator= (  const TVector3 &   )  [inline]
 

Definition at line 242 of file TVector3.h.

References fX, fY, and fZ.

Bool_t TVector3::operator== (  const TVector3 &   )  const [inline]
 

Definition at line 249 of file TVector3.h.

References fX, fY, and fZ.

Double_t & TVector3::operator[] (  int   )  [inline]
 

Definition at line 206 of file TVector3.h.

References operator()().

Double_t TVector3::operator[] (  int   )  const [inline]
 

Definition at line 207 of file TVector3.h.

References operator()().

TVector3 TVector3::Orthogonal (   )  const [inline]
 

Definition at line 300 of file TVector3.h.

References fX, fY, fZ, TVector3(), x, x(), y(), and z().

Double_t TVector3::Perp (  const TVector3 &   )  const [inline]
 

Definition at line 327 of file TVector3.h.

References Perp2().

Double_t TVector3::Perp (   )  const [inline]
 

Definition at line 313 of file TVector3.h.

References Perp2().

Referenced by Pt(), SetPerp(), SetPhi(), and Theta().

Double_t TVector3::Perp2 (  const TVector3 &   )  const [inline]
 

Definition at line 317 of file TVector3.h.

References Dot(), and Mag2().

Double_t TVector3::Perp2 (   )  const [inline]
 

Definition at line 311 of file TVector3.h.

References fX, and fY.

Referenced by Perp().

Double_t TVector3::Phi (   )  const [inline]
 

Definition at line 336 of file TVector3.h.

References fX, and fY.

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

void TVector3::Print (  Option_t *  option = ""  )  const
 

Double_t TVector3::PseudoRapidity (   )  const
 

Referenced by Eta().

Double_t TVector3::Pt (  const TVector3 &   )  const [inline]
 

Definition at line 331 of file TVector3.h.

References Perp().

Double_t TVector3::Pt (   )  const [inline]
 

Definition at line 315 of file TVector3.h.

References Perp().

Double_t TVector3::Px (   )  const [inline]
 

Definition at line 215 of file TVector3.h.

Double_t TVector3::Py (   )  const [inline]
 

Definition at line 216 of file TVector3.h.

Double_t TVector3::Pz (   )  const [inline]
 

Definition at line 217 of file TVector3.h.

void TVector3::Rotate (  Double_t  ,
const TVector3 & 
) 
 

void TVector3::RotateUz (  const TVector3 &   ) 
 

Referenced by makePyEvts(), makePyEvts1(), and makePyEvts2().

void TVector3::RotateX (  Double_t   ) 
 

void TVector3::RotateY (  Double_t   ) 
 

void TVector3::RotateZ (  Double_t   ) 
 

void TVector3::SetMag (  Double_t   )  [inline]
 

Definition at line 361 of file TVector3.h.

References fX, fY, fZ, Mag(), SetX(), SetY(), and SetZ().

void TVector3::SetMagThetaPhi (  Double_t  mag,
Double_t  theta,
Double_t  phi
)  [inline]
 

Definition at line 413 of file TVector3.h.

References fX, fY, and fZ.

void TVector3::SetPerp (  Double_t   )  [inline]
 

Definition at line 387 of file TVector3.h.

References fX, fY, and Perp().

void TVector3::SetPhi (  Double_t   )  [inline]
 

Definition at line 381 of file TVector3.h.

References Perp(), SetX(), and SetY().

void TVector3::SetPtEtaPhi (  Double_t  pt,
Double_t  eta,
Double_t  phi
) 
 

void TVector3::SetPtThetaPhi (  Double_t  pt,
Double_t  theta,
Double_t  phi
) 
 

void TVector3::SetTheta (  Double_t   )  [inline]
 

Definition at line 373 of file TVector3.h.

References Mag(), Phi(), SetX(), SetY(), and SetZ().

void TVector3::SetX (  Double_t   )  [inline]
 

Definition at line 219 of file TVector3.h.

References fX.

Referenced by SetMag(), SetPhi(), and SetTheta().

void TVector3::SetXYZ (  Double_t  x,
Double_t  y,
Double_t  z
)  [inline]
 

Definition at line 223 of file TVector3.h.

References fX, fY, and fZ.

void TVector3::SetY (  Double_t   )  [inline]
 

Definition at line 220 of file TVector3.h.

References fY.

Referenced by SetMag(), SetPhi(), and SetTheta().

void TVector3::SetZ (  Double_t   )  [inline]
 

Definition at line 221 of file TVector3.h.

References fZ.

Referenced by SetMag(), and SetTheta().

Double_t TVector3::Theta (   )  const [inline]
 

Definition at line 340 of file TVector3.h.

References fX, fY, fZ, and Perp().

TVector3& TVector3::Transform (  const TRotation &   ) 
 

TVector3 TVector3::Unit (   )  const [inline]
 

Definition at line 294 of file TVector3.h.

References fX, fY, fZ, and Mag2().

Referenced by makePyEvts(), makePyEvts1(), and makePyEvts2().

Double_t TVector3::X (   )  const [inline]
 

Definition at line 212 of file TVector3.h.

Double_t TVector3::x (   )  const [inline]
 

Definition at line 209 of file TVector3.h.

Referenced by Orthogonal().

TVector2 TVector3::XYvector (   )  const [inline]
 

Definition at line 425 of file TVector3.h.

References fX, and fY.

Double_t TVector3::Y (   )  const [inline]
 

Definition at line 213 of file TVector3.h.

Double_t TVector3::y (   )  const [inline]
 

Definition at line 210 of file TVector3.h.

Referenced by Orthogonal().

Double_t TVector3::Z (   )  const [inline]
 

Definition at line 214 of file TVector3.h.

Double_t TVector3::z (   )  const [inline]
 

Definition at line 211 of file TVector3.h.

Referenced by Orthogonal().


Member Data Documentation

Double_t TVector3::fX [private]
 

Definition at line 182 of file TVector3.h.

Referenced by Cross(), Dot(), Mag2(), operator *=(), operator!=(), operator+=(), operator-(), operator-=(), operator=(), operator==(), Orthogonal(), Perp2(), Phi(), SetMag(), SetMagThetaPhi(), SetPerp(), SetX(), SetXYZ(), Theta(), Unit(), and XYvector().

Double_t TVector3::fY [private]
 

Definition at line 182 of file TVector3.h.

Referenced by Cross(), Dot(), Mag2(), operator *=(), operator!=(), operator+=(), operator-(), operator-=(), operator=(), operator==(), Orthogonal(), Perp2(), Phi(), SetMag(), SetMagThetaPhi(), SetPerp(), SetXYZ(), SetY(), Theta(), Unit(), and XYvector().

Double_t TVector3::fZ [private]
 

Definition at line 182 of file TVector3.h.

Referenced by CosTheta(), Cross(), Dot(), Mag2(), operator *=(), operator!=(), operator+=(), operator-(), operator-=(), operator=(), operator==(), Orthogonal(), SetMag(), SetMagThetaPhi(), SetXYZ(), SetZ(), Theta(), and Unit().


The documentation for this class was generated from the following file:
Generated on Thu Jul 12 14:04:55 2007 for RebassooAnalysis by  doxygen 1.3.9.1