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

TwoVector Class Reference

#include <TwoVector.h>

List of all members.

Public Member Functions

 TwoVector ()
 TwoVector (double x_, double y_)
double getX () const
double getY () const
double getMag2 () const
double getMag () const
double getPhi () const
double getComponent (int i) const
TwoVectorsetValues (double x_, double y_)
TwoVectoroperator+= (const TwoVector &rhs)
TwoVectoroperator-= (const TwoVector &rhs)
TwoVectoroperator *= (double rhs)

Private Attributes

double x
double y


Constructor & Destructor Documentation

TwoVector::TwoVector  )  [inline]
 

Definition at line 44 of file TwoVector.h.

TwoVector::TwoVector double  x_,
double  y_
[inline]
 

Definition at line 48 of file TwoVector.h.


Member Function Documentation

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

Definition at line 60 of file TwoVector.h.

References getX(), and getY().

double TwoVector::getMag  )  const [inline]
 

Definition at line 56 of file TwoVector.h.

double TwoVector::getMag2  )  const [inline]
 

Definition at line 55 of file TwoVector.h.

References x, and y.

double TwoVector::getPhi  )  const [inline]
 

Definition at line 58 of file TwoVector.h.

double TwoVector::getX  )  const [inline]
 

Definition at line 52 of file TwoVector.h.

Referenced by JBLHelix::getClosestS(), getComponent(), operator *(), operator+(), operator-(), operator<<(), NeutralParticleTrack::setVertex(), and ChargedParticleTrack::setVertex().

double TwoVector::getY  )  const [inline]
 

Definition at line 53 of file TwoVector.h.

Referenced by JBLHelix::getClosestS(), getComponent(), operator *(), operator+(), operator-(), operator<<(), NeutralParticleTrack::setVertex(), and ChargedParticleTrack::setVertex().

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

Definition at line 87 of file TwoVector.h.

References x, and y.

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

Definition at line 75 of file TwoVector.h.

References x, and y.

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

Definition at line 81 of file TwoVector.h.

References x, and y.

TwoVector & TwoVector::setValues double  x_,
double  y_
[inline]
 

Definition at line 68 of file TwoVector.h.

References x, and y.

Referenced by JBLHelix::getCenterPointEx().


Member Data Documentation

double TwoVector::x [private]
 

Definition at line 41 of file TwoVector.h.

Referenced by getMag2(), operator *=(), operator+=(), operator-=(), and setValues().

double TwoVector::y [private]
 

Definition at line 41 of file TwoVector.h.

Referenced by getMag2(), 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