#include "Rivet/Math/MathHeader.hh"
#include "Rivet/Math/MathUtils.hh"
#include "Rivet/Math/VectorN.hh"
#include "Rivet/Math/Vector3.hh"
Go to the source code of this file.
Namespaces | |
namespace | Rivet |
Classes | |
class | FourVector |
class | FourMomentum |
Specialized version of the FourVector with momentum/energy functionality. More... | |
struct | FourMomentum::byEAscending |
struct for sorting by increasing energy More... | |
struct | FourMomentum::byEDescending |
struct for sorting by decreasing energy More... | |
Typedefs | |
typedef FourVector | Vector4 |
Functions | |
FourVector | transform (const LorentzTransform <, const FourVector &v4) |
double | contract (const FourVector &a, const FourVector &b) |
Contract two 4-vectors, with metric signature (+ - - -). | |
double | dot (const FourVector &a, const FourVector &b) |
Contract two 4-vectors, with metric signature (+ - - -). | |
FourVector | multiply (const double a, const FourVector &v) |
FourVector | multiply (const FourVector &v, const double a) |
FourVector | operator* (const double a, const FourVector &v) |
FourVector | operator* (const FourVector &v, const double a) |
FourVector | operator/ (const FourVector &v, const double a) |
FourVector | add (const FourVector &a, const FourVector &b) |
FourVector | operator+ (const FourVector &a, const FourVector &b) |
FourVector | operator- (const FourVector &a, const FourVector &b) |
double | invariant (const FourVector &lv) |
double | angle (const FourVector &a, const FourVector &b) |
Angle (in radians) between spatial parts of two Lorentz vectors. | |
double | angle (const Vector3 &a, const FourVector &b) |
Angle (in radians) between spatial parts of two Lorentz vectors. | |
double | angle (const FourVector &a, const Vector3 &b) |
Angle (in radians) between spatial parts of two Lorentz vectors. | |
double | polarRadius2 (const FourVector &v) |
Calculate transverse length sq. of a Lorentz vector. | |
double | perp2 (const FourVector &v) |
Synonym for polarRadius2. | |
double | rho2 (const FourVector &v) |
Synonym for polarRadius2. | |
double | polarRadius (const FourVector &v) |
Calculate transverse length of a Lorentz vector. | |
double | perp (const FourVector &v) |
Synonym for polarRadius. | |
double | rho (const FourVector &v) |
Synonym for polarRadius. | |
double | azimuthalAngle (const FourVector &v, const PhiMapping mapping=ZERO_2PI) |
Calculate azimuthal angle of a Lorentz vector. | |
double | phi (const FourVector &v, const PhiMapping mapping=ZERO_2PI) |
Synonym for azimuthalAngle. | |
double | polarAngle (const FourVector &v) |
Calculate polar angle of a Lorentz vector. | |
double | theta (const FourVector &v) |
Synonym for polarAngle. | |
double | pseudorapidity (const FourVector &v) |
Calculate pseudorapidity of a Lorentz vector. | |
double | eta (const FourVector &v) |
Synonym for pseudorapidity. | |
double | mass2 (const FourMomentum &v) |
Get squared mass (the Lorentz self-invariant) of a momentum 4-vector. | |
double | mass (const FourMomentum &v) |
Get mass (the Lorentz self-invariant) of a momentum 4-vector. | |
double | rapidity (const FourMomentum &v) |
Calculate rapidity of a momentum 4-vector. | |
double | pT2 (const FourMomentum &v) |
Calculate squared transverse momentum of a momentum 4-vector. | |
double | pT (const FourMomentum &v) |
Calculate transverse momentum of a momentum 4-vector. | |
double | Et2 (const FourMomentum &v) |
Calculate transverse energy squared, of a momentum 4-vector. | |
double | Et (const FourMomentum &v) |
Calculate transverse energy of a momentum 4-vector. | |
Vector3 | boostVector (const FourMomentum &v) |
Calculate velocity boost vector of a momentum 4-vector. | |
double | deltaR (const FourVector &a, const FourVector &b, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (const FourVector &v, double eta2, double phi2, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (double eta1, double phi1, const FourVector &v, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (const FourMomentum &a, const FourMomentum &b, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (const FourMomentum &v, double eta2, double phi2, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (double eta1, double phi1, const FourMomentum &v, DeltaRScheme scheme=PSEUDORAPIDITY) |
const string | toString (const FourVector &lv) |
Render a 4-vector as a string. | |
std::ostream & | operator<< (std::ostream &out, const FourVector &lv) |
Write a 4-vector to an ostream. |