Rivet
1.8.0
|
Three-dimensional specialisation of Vector. More...
#include <Vector3.hh>
Public Member Functions | |
template<typename V3 > | |
Vector3 (const V3 &other) | |
Vector3 (const Vector< 3 > &other) | |
Vector3 (double x, double y, double z) | |
double | x () const |
double | y () const |
double | z () const |
Vector3 & | setX (double x) |
Vector3 & | setY (double y) |
Vector3 & | setZ (double z) |
double | dot (const Vector3 &v) const |
Vector3 | cross (const Vector3 &v) const |
double | angle (const Vector3 &v) const |
Vector3 | unit () const |
double | polarRadius2 () const |
double | perp2 () const |
Synonym for polarRadius2. | |
double | rho2 () const |
Synonym for polarRadius2. | |
double | polarRadius () const |
double | perp () const |
Synonym for polarRadius. | |
double | rho () const |
Synonym for polarRadius. | |
double | azimuthalAngle (const PhiMapping mapping=ZERO_2PI) const |
Angle subtended by the vector's projection in x-y and the x-axis. | |
double | phi (const PhiMapping mapping=ZERO_2PI) const |
Synonym for azimuthalAngle. | |
double | polarAngle () const |
Angle subtended by the vector and the z-axis. | |
double | theta () const |
Synonym for polarAngle. | |
double | pseudorapidity () const |
double | eta () const |
Synonym for pseudorapidity. | |
Vector3 & | operator*= (const double a) |
Vector3 & | operator/= (const double a) |
Vector3 & | operator+= (const Vector3 &v) |
Vector3 & | operator-= (const Vector3 &v) |
Vector3 | operator- () const |
Invert the vector. | |
Static Public Member Functions | |
static Vector3 | mkX () |
static Vector3 | mkY () |
static Vector3 | mkZ () |
Friends | |
class | Matrix3 |
Vector3 | multiply (const double, const Vector3 &) |
Vector3 | multiply (const Vector3 &, const double) |
Vector3 | add (const Vector3 &, const Vector3 &) |
Vector3 | subtract (const Vector3 &, const Vector3 &) |
Three-dimensional specialisation of Vector.
double Rivet::Vector3::pseudorapidity | ( | ) | const [inline] |
Purely geometric approximation to rapidity; exact for massless particles and in the central region.
References polarAngle().
Referenced by Rivet::deltaEta(), Rivet::deltaR(), eta(), Rivet::FourVector::pseudorapidity(), and Rivet::pseudorapidity().
Vector3 Rivet::Vector3::unit | ( | ) | const [inline] |
References Rivet::Vector< 3 >::isZero(), and Rivet::Vector< 3 >::mod().
Referenced by Rivet::MissingMomentum::project().