21 #ifndef HEP_THREEVECTOR_H
22 #define HEP_THREEVECTOR_H
75 inline double x()
const;
76 inline double y()
const;
77 inline double z()
const;
80 inline void setX(
double);
81 inline void setY(
double);
82 inline void setZ(
double);
85 inline void set(
double x,
double y,
double z);
88 inline double phi()
const;
91 inline double theta()
const;
100 inline double mag2()
const;
103 inline double mag()
const;
106 inline void setPhi(
double);
115 inline double perp2()
const;
118 inline double perp()
const;
243 inline double getX()
const;
244 inline double getY()
const;
245 inline double getZ()
const;
248 inline double getR ()
const;
250 inline double getPhi ()
const;
253 inline double r ()
const;
256 inline double rho ()
const;
257 inline double getRho ()
const;
264 inline void setR (
double s );
267 inline void setRho (
double s );
302 double beta ()
const;
306 double gamma()
const;
317 inline double angle()
const;
414 double phi,
double theta,
double psi);
447 #include "CLHEP/Vector/ThreeVector.icc"
void set(double x, double y, double z)
Hep3Vector operator-() const
HepLorentzVector rotationOf(const HepLorentzVector &vec, const Hep3Vector &axis, double delta)
DLL_API const Hep3Vector HepZHat
Hep3Vector HepThreeVectorF
Hep3Vector & operator/=(double)
double howNear(const Hep3Vector &v) const
double deltaPhi(const Hep3Vector &v2) const
bool isParallel(const Hep3Vector &v, double epsilon=tolerance) const
bool isNear(const Hep3Vector &, double epsilon=tolerance) const
HepLorentzRotation operator*(const HepRotation &r, const HepLorentzRotation <)
Hep3Vector & operator=(const Hep3Vector &)
double dot(const Hep3Vector &) const
Hep3Vector & operator-=(const Hep3Vector &)
bool operator<(const Hep3Vector &v) const
Hep3Vector & operator+=(const Hep3Vector &)
HepLorentzVector rotationXOf(const HepLorentzVector &vec, double delta)
bool operator!=(const Hep3Vector &) const
Hep3Vector project() const
static double setTolerance(double tol)
bool isOrthogonal(const Hep3Vector &v, double epsilon=tolerance) const
bool operator>=(const Hep3Vector &v) const
bool operator<=(const Hep3Vector &v) const
Hep3Vector & operator*=(double)
bool operator>(const Hep3Vector &v) const
double negativeInfinity() const
Hep3Vector operator+(const Hep3Vector &, const Hep3Vector &)
double howOrthogonal(const Hep3Vector &v) const
double diff2(const Hep3Vector &v) const
std::ostream & operator<<(std::ostream &os, const HepRandom &dist)
double deltaR(const Hep3Vector &v) const
Hep3Vector & rotateUz(const Hep3Vector &)
Hep3Vector & rotateZ(double)
void setCylindrical(double r, double phi, double z)
static DLL_API double tolerance
Hep3Vector perpPart() const
double pseudoRapidity() const
Hep3Vector & transform(const HepRotation &)
void setREtaPhi(double r, double eta, double phi)
void setRThetaPhi(double r, double theta, double phi)
void setRhoPhiZ(double rho, double phi, double z)
DLL_API const Hep3Vector HepYHat
HepLorentzVector rotationYOf(const HepLorentzVector &vec, double delta)
Hep3Vector HepThreeVectorD
HepLorentzVector operator/(const HepLorentzVector &, double a)
void setRhoPhiTheta(double rho, double phi, double theta)
Hep3Vector operator-(const Hep3Vector &, const Hep3Vector &)
HepLorentzVector rotationZOf(const HepLorentzVector &vec, double delta)
DLL_API const Hep3Vector HepXHat
Hep3Vector & rotateY(double)
Hep3Vector orthogonal() const
void setSpherical(double r, double theta, double phi)
Hep3Vector cross(const Hep3Vector &) const
double operator[](int) const
double howParallel(const Hep3Vector &v) const
std::istream & operator>>(std::istream &is, HepRandom &dist)
Hep3Vector & rotateX(double)
int compare(const Hep3Vector &v) const
double coLinearRapidity() const
bool operator==(const Hep3Vector &) const
Hep3Vector & rotate(double, const Hep3Vector &)
static double getTolerance()
double epsilon(double density, double temperature)
void setRhoPhiEta(double rho, double phi, double eta)
double azimAngle(const Hep3Vector &v2) const
double operator()(int) const
double polarAngle(const Hep3Vector &v2) const