Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

ThreeVector Class Reference

#include <ThreeVector.h>

List of all members.

Public Member Functions

 ThreeVector ()
 ThreeVector (double px_, double py_, double pz_)
double getPx () const
double getPy () const
double getPz () const
double getX () const
double getY () const
double getZ () const
double getP2 () const
double getP () const
double getMag () const
double getPt2 () const
double getPt () const
double getR () const
double getPhi () const
double getTheta () const
double getEta () const
double getComponent (int i) const
ThreeVectorsetValues (double px_, double py_, double pz_)
ThreeVectoroperator+= (const ThreeVector &rhs)
ThreeVectoroperator-= (const ThreeVector &rhs)
ThreeVectoroperator *= (double rhs)

Private Attributes

double px
double py
double pz


Constructor & Destructor Documentation

ThreeVector::ThreeVector  )  [inline]
 

Definition at line 54 of file ThreeVector.h.

ThreeVector::ThreeVector double  px_,
double  py_,
double  pz_
[inline]
 

Definition at line 58 of file ThreeVector.h.


Member Function Documentation

double ThreeVector::getComponent int  i  )  const [inline]
 

Definition at line 81 of file ThreeVector.h.

References getPx(), getPy(), and getPz().

Referenced by VertexFitObject::initForFit(), and main().

double ThreeVector::getEta  )  const [inline]
 

Definition at line 79 of file ThreeVector.h.

References getTheta().

Referenced by FourVector::getEta().

double ThreeVector::getMag  )  const [inline]
 

Definition at line 75 of file ThreeVector.h.

Referenced by K0Event::genEvent(), and main().

double ThreeVector::getP  )  const [inline]
 

Definition at line 74 of file ThreeVector.h.

double ThreeVector::getP2  )  const [inline]
 

Definition at line 73 of file ThreeVector.h.

References px, py, and pz.

Referenced by FourVector::getP2().

double ThreeVector::getPhi  )  const [inline]
 

Definition at line 77 of file ThreeVector.h.

Referenced by NeutralParticleTrack::NeutralParticleTrack().

double ThreeVector::getPt  )  const [inline]
 

Definition at line 70 of file ThreeVector.h.

Referenced by getTheta(), and NeutralParticleTrack::NeutralParticleTrack().

double ThreeVector::getPt2  )  const [inline]
 

Definition at line 69 of file ThreeVector.h.

References px, and py.

Referenced by FourVector::getPt2().

double ThreeVector::getPx  )  const [inline]
 

Definition at line 62 of file ThreeVector.h.

References px.

Referenced by getComponent(), FourVector::getPx(), operator *(), operator+(), operator-(), and operator<<().

double ThreeVector::getPy  )  const [inline]
 

Definition at line 63 of file ThreeVector.h.

References py.

Referenced by getComponent(), FourVector::getPy(), operator *(), operator+(), operator-(), and operator<<().

double ThreeVector::getPz  )  const [inline]
 

Definition at line 64 of file ThreeVector.h.

References pz.

Referenced by getComponent(), FourVector::getPz(), operator *(), operator+(), operator-(), and operator<<().

double ThreeVector::getR  )  const [inline]
 

Definition at line 71 of file ThreeVector.h.

double ThreeVector::getTheta  )  const [inline]
 

Definition at line 78 of file ThreeVector.h.

References getPt(), and pz.

Referenced by getEta(), FourVector::getTheta(), and NeutralParticleTrack::NeutralParticleTrack().

double ThreeVector::getX  )  const [inline]
 

Definition at line 65 of file ThreeVector.h.

Referenced by ChargedParticleTrack::ChargedParticleTrack(), JBLHelix::getClosestS(), NeutralParticleTrack::NeutralParticleTrack(), NeutralParticleTrack::setParameters(), and ChargedParticleTrack::setParameters().

double ThreeVector::getY  )  const [inline]
 

Definition at line 66 of file ThreeVector.h.

Referenced by ChargedParticleTrack::ChargedParticleTrack(), JBLHelix::getClosestS(), NeutralParticleTrack::NeutralParticleTrack(), NeutralParticleTrack::setParameters(), and ChargedParticleTrack::setParameters().

double ThreeVector::getZ  )  const [inline]
 

Definition at line 67 of file ThreeVector.h.

Referenced by ChargedParticleTrack::ChargedParticleTrack(), NeutralParticleTrack::NeutralParticleTrack(), NeutralParticleTrack::setParameters(), and ChargedParticleTrack::setParameters().

ThreeVector & ThreeVector::operator *= double  rhs  )  [inline]
 

Definition at line 112 of file ThreeVector.h.

References px, py, and pz.

ThreeVector & ThreeVector::operator+= const ThreeVector rhs  )  [inline]
 

Definition at line 98 of file ThreeVector.h.

References px, py, and pz.

ThreeVector & ThreeVector::operator-= const ThreeVector rhs  )  [inline]
 

Definition at line 105 of file ThreeVector.h.

References px, py, and pz.

ThreeVector & ThreeVector::setValues double  px_,
double  py_,
double  pz_
[inline]
 

Definition at line 90 of file ThreeVector.h.

References px, py, and pz.

Referenced by NeutralParticleTrack::getTrajectoryDerivativeEx(), ChargedParticleTrack::getTrajectoryDerivativeEx(), NeutralParticleTrack::getTrajectoryPointEx(), JBLHelix::getTrajectoryPointEx(), ChargedParticleTrack::getTrajectoryPointEx(), VertexFitObject::getVertexDerivativeEx(), NeutralParticleTrack::getVertexDerivativeEx(), ChargedParticleTrack::getVertexDerivativeEx(), VertexFitObject::getVertexEx(), FourVector::setValues(), TTVertexConstraint::TTVertexConstraint(), and VertexConstraint::VertexConstraint().


Member Data Documentation

double ThreeVector::px [private]
 

Definition at line 51 of file ThreeVector.h.

Referenced by getP2(), getPt2(), getPx(), operator *=(), operator+=(), operator-=(), and setValues().

double ThreeVector::py [private]
 

Definition at line 51 of file ThreeVector.h.

Referenced by getP2(), getPt2(), getPy(), operator *=(), operator+=(), operator-=(), and setValues().

double ThreeVector::pz [private]
 

Definition at line 51 of file ThreeVector.h.

Referenced by getP2(), getPz(), getTheta(), operator *=(), operator+=(), operator-=(), and setValues().


The documentation for this class was generated from the following file:
Generated on Fri Sep 14 17:38:38 2007 for Kinfit by doxygen 1.3.2