Vector4.hh 1064 return deltaR2(a.rapidity(), a.azimuthalAngle(), FourMomentum(b).rapidity(), b.azimuthalAngle());
Specialized version of the FourVector with momentum/energy functionality. Definition Vector4.hh:316 double p2() const Get the modulus-squared of the 3-momentum. Definition Vector4.hh:601 double mass() const Get the mass (the Lorentz self-invariant). Definition Vector4.hh:576 double rapidity() const Calculate the rapidity. Definition Vector4.hh:607 FourMomentum reverse() const Multiply space components only by -1. Definition Vector4.hh:733 FourMomentum & setPtPhiME(double pt, double phi, double mass, double E) Definition Vector4.hh:532 FourMomentum & setRapPhiMPt(double y, double phi, double mass, double pt) Definition Vector4.hh:473 FourMomentum & setPz(double pz) Set z-component of momentum . Definition Vector4.hh:370 FourMomentum & setXYZE(double px, double py, double pz, double E) Alias for setPE. Definition Vector4.hh:384 static FourMomentum mkThetaPhiME(double theta, double phi, double mass, double E) Make a vector from (theta,phi,energy) coordinates and the mass. Definition Vector4.hh:779 double pt() const Calculate the transverse momentum . Definition Vector4.hh:649 FourMomentum & setPE(double px, double py, double pz, double E) Set the p coordinates and energy simultaneously. Definition Vector4.hh:377 static FourMomentum mkRapPhiME(double y, double phi, double mass, double E) Make a vector from (y,phi,energy) coordinates and the mass. Definition Vector4.hh:769 double Et2() const Calculate the transverse energy . Definition Vector4.hh:654 static FourMomentum mkXYZE(double px, double py, double pz, double E) Make a vector from (px,py,pz,E) coordinates. Definition Vector4.hh:749 FourMomentum & setPy(double py) Set y-component of momentum . Definition Vector4.hh:364 FourMomentum & setPx(double px) Set x-component of momentum . Definition Vector4.hh:358 double pt2() const Calculate the squared transverse momentum . Definition Vector4.hh:640 static FourMomentum mkPtPhiME(double pt, double phi, double mass, double E) Make a vector from (pT,phi,energy) coordinates and the mass. Definition Vector4.hh:789 Vector3 pTvec() const Calculate the transverse momentum vector . Definition Vector4.hh:627 FourMomentum & setRapPhiME(double y, double phi, double mass, double E) Definition Vector4.hh:453 double mass2() const Get the squared mass (the Lorentz self-invariant). Definition Vector4.hh:587 FourMomentum & setEtaPhiMPt(double eta, double phi, double mass, double pt) Definition Vector4.hh:431 double pT2() const Calculate the squared transverse momentum . Definition Vector4.hh:636 static FourMomentum mkEtaPhiME(double eta, double phi, double mass, double E) Make a vector from (eta,phi,energy) coordinates and the mass. Definition Vector4.hh:759 FourMomentum & operator-=(const FourMomentum &v) Subtract from this 4-vector. NB time as well as space components are subtracted. Definition Vector4.hh:720 static FourMomentum mkXYZM(double px, double py, double pz, double mass) Make a vector from (px,py,pz) coordinates and the mass. Definition Vector4.hh:754 FourMomentum & setThetaPhiME(double theta, double phi, double mass, double E) Definition Vector4.hh:490 double E() const Get energy (time component of momentum). Definition Vector4.hh:553 FourMomentum & setXYZM(double px, double py, double pz, double mass) Alias for setPM. Definition Vector4.hh:406 FourMomentum & operator+=(const FourMomentum &v) Add to this 4-vector. NB time as well as space components are added. Definition Vector4.hh:714 static FourMomentum mkEtaPhiMPt(double eta, double phi, double mass, double pt) Make a vector from (eta,phi,pT) coordinates and the mass. Definition Vector4.hh:764 static FourMomentum mkRapPhiMPt(double y, double phi, double mass, double pt) Make a vector from (y,phi,pT) coordinates and the mass. Definition Vector4.hh:774 double pT() const Calculate the transverse momentum . Definition Vector4.hh:645 static FourMomentum mkThetaPhiMPt(double theta, double phi, double mass, double pt) Make a vector from (theta,phi,pT) coordinates and the mass. Definition Vector4.hh:784 FourMomentum & setThetaPhiMPt(double theta, double phi, double mass, double pt) Definition Vector4.hh:513 FourMomentum operator-() const Multiply all components (time and space) by -1. Definition Vector4.hh:726 double absrapidity() const Absolute rapidity. Definition Vector4.hh:618 FourMomentum & setEtaPhiME(double eta, double phi, double mass, double E) Definition Vector4.hh:415 FourMomentum & operator/=(double a) Divide by a scalar. Definition Vector4.hh:708 FourMomentum & setE(double E) Set energy (time component of momentum). Definition Vector4.hh:352 FourMomentum & operator*=(double a) Multiply by a scalar. Definition Vector4.hh:702 FourMomentum & setPM(double px, double py, double pz, double mass) Set the p coordinates and mass simultaneously. Definition Vector4.hh:398 Specialisation of VectorN to a general (non-momentum) Lorentz 4-vector. Definition Vector4.hh:30 FourVector operator-() const Multiply all components (space and time) by -1. Definition Vector4.hh:228 FourVector & operator/=(double a) Divide by a scalar. Definition Vector4.hh:210 Vector3 vector3() const Get the spatial part of the 4-vector as a 3-vector. Definition Vector4.hh:177 double angle(const FourVector &v) const Angle between this vector and another. Definition Vector4.hh:95 double phi(const PhiMapping mapping=ZERO_2PI) const Synonym for azimuthalAngle. Definition Vector4.hh:149 double contract(const FourVector &v) const Contract two 4-vectors, with metric signature (+ - - -). Definition Vector4.hh:188 double azimuthalAngle(const PhiMapping mapping=ZERO_2PI) const Angle subtended by the 3-vector's projection in x-y and the x-axis. Definition Vector4.hh:145 double dot(const FourVector &v) const Contract two 4-vectors, with metric signature (+ - - -). Definition Vector4.hh:194 FourVector & operator*=(double a) Multiply by a scalar. Definition Vector4.hh:204 double operator*(const FourVector &v) const Contract two 4-vectors, with metric signature (+ - - -). Definition Vector4.hh:199 double pseudorapidity() const Pseudorapidity (defined purely by the 3-vector components) Definition Vector4.hh:163 double polarRadius() const Magnitude of projection of 3-vector on to the plane. Definition Vector4.hh:119 double angle(const Vector3 &v3) const Angle between this vector and another (3-vector) Definition Vector4.hh:99 Vector3 polarVec() const Projection of 3-vector on to the plane. Definition Vector4.hh:132 double polarRadius2() const Mod-square of the projection of the 3-vector on to the plane This is a more efficient function than ... Definition Vector4.hh:106 FourVector reverse() const Multiply space components only by -1. Definition Vector4.hh:235 double polarAngle() const Angle subtended by the 3-vector and the z-axis. Definition Vector4.hh:154 FourVector & operator-=(const FourVector &v) Subtract from this 4-vector. NB time as well as space components are subtracted. Definition Vector4.hh:222 double abspseudorapidity() const Get the directly. Definition Vector4.hh:172 FourVector & operator+=(const FourVector &v) Add to this 4-vector. Definition Vector4.hh:216 Object implementing Lorentz transform calculations and boosts. Definition LorentzTrans.hh:21 double pseudorapidity() const Purely geometric approximation to rapidity. Definition Vector3.hh:212 double phi(const PhiMapping mapping=ZERO_2PI) const Synonym for azimuthalAngle. Definition Vector3.hh:183 double polarRadius2() const Square of the polar radius (. Definition Vector3.hh:145 double azimuthalAngle(const PhiMapping mapping=ZERO_2PI) const Angle subtended by the vector's projection in x-y and the x-axis. Definition Vector3.hh:174 double angle(const Vector3 &v) const Angle in radians to another vector. Definition Vector3.hh:108 double polarAngle() const Angle subtended by the vector and the z-axis. Definition Vector3.hh:193 Vector3 polarVec() const Polar projection of this vector into the x-y plane. Definition Vector3.hh:130 double mod2() const Calculate the modulus-squared of a vector. . Definition VectorN.hh:84 Vector< N > & set(const size_t index, const double value) Set indexed value. Definition VectorN.hh:60 MOMS & isortBy(MOMS &pbs, const CMP &cmp) Sort a container of momenta by cmp and return by reference for non-const inputs. Definition Vector4.hh:1411 MOMS & isortByE(MOMS &pbs) Sort a container of momenta by E (decreasing) and return by reference for non-const inputs. Definition Vector4.hh:1436 MOMS & isortByEt(MOMS &pbs) Sort a container of momenta by Et (decreasing) and return by reference for non-const inputs. Definition Vector4.hh:1447 bool cmpMomByDescEta(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing eta (pseudorapidity) Definition Vector4.hh:1372 bool cmpMomByMass(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing mass. Definition Vector4.hh:1358 bool cmpMomByP(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing 3-momentum magnitude |p|. Definition Vector4.hh:1331 bool cmpMomByAscEt(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing transverse energy. Definition Vector4.hh:1344 bool cmpMomByRap(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing rapidity. Definition Vector4.hh:1387 bool cmpMomByE(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing energy. Definition Vector4.hh:1349 MOMS sortBy(const MOMS &pbs, const CMP &cmp) Sort a container of momenta by cmp and return by value for const inputs. Definition Vector4.hh:1417 bool cmpMomByAbsRap(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing absolute rapidity. Definition Vector4.hh:1397 MOMS sortByPt(const MOMS &pbs) Sort a container of momenta by pT (decreasing) and return by value for const inputs. Definition Vector4.hh:1430 MOMS sortByEt(const MOMS &pbs) Sort a container of momenta by Et (decreasing) and return by value for const inputs. Definition Vector4.hh:1452 bool cmpMomByEt(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing transverse energy. Definition Vector4.hh:1340 bool cmpMomByAscPt(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing pT. Definition Vector4.hh:1326 bool cmpMomByAscP(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing 3-momentum magnitude |p|. Definition Vector4.hh:1335 bool cmpMomByAscMass(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing mass. Definition Vector4.hh:1362 MOMS sortByE(const MOMS &pbs) Sort a container of momenta by E (decreasing) and return by value for const inputs. Definition Vector4.hh:1441 bool cmpMomByPt(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing pT. Definition Vector4.hh:1322 bool cmpMomByAbsEta(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing absolute eta (pseudorapidity) Definition Vector4.hh:1377 bool cmpMomByDescAbsEta(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing absolute eta (pseudorapidity) Definition Vector4.hh:1382 bool cmpMomByEta(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing eta (pseudorapidity) Definition Vector4.hh:1367 bool cmpMomByAscE(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing energy. Definition Vector4.hh:1353 bool cmpMomByDescAbsRap(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing absolute rapidity. Definition Vector4.hh:1402 MOMS & isortByPt(MOMS &pbs) Sort a container of momenta by pT (decreasing) and return by reference for non-const inputs. Definition Vector4.hh:1425 bool cmpMomByDescRap(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing rapidity. Definition Vector4.hh:1392 double mass(const FourMomentum &a, const FourMomentum &b) Calculate mass of two 4-vectors. Definition Vector4.hh:1463 double mass2(const FourMomentum &a, const FourMomentum &b) Calculate mass^2 of two 4-vectors. Definition Vector4.hh:1468 double pT(const Vector3 &a, const Vector3 &b) Calculate transverse momentum of pair of 3-vectors. Definition Vector3.hh:640 Definition MC_CENT_PPB_Projections.hh:10 constexpr std::enable_if_t< std::is_arithmetic_v< NUM >, int > sign(NUM val) Find the sign of a number. Definition MathUtils.hh:264 double deltaR(double rap1, double phi1, double rap2, double phi2) Definition MathUtils.hh:697 double deltaPhi(double phi1, double phi2, bool sign=false) Calculate the difference between two angles in radians. Definition MathUtils.hh:667 double deltaEta(double eta1, double eta2, bool sign=false) Definition MathUtils.hh:675 double deltaR2(double rap1, double phi1, double rap2, double phi2) Definition MathUtils.hh:690 std::ostream & operator<<(std::ostream &os, const AnalysisInfo &ai) Stream an AnalysisInfo as a text description. Definition AnalysisInfo.hh:362 std::enable_if_t< std::is_floating_point_v< NUM >, bool > isZero(NUM val, double tolerance=1e-8) Compare a number to zero. Definition MathUtils.hh:24 std::enable_if_t< std::is_arithmetic_v< NUM >, NUM > sqr(NUM a) Named number-type squaring operation. Definition MathUtils.hh:218 double contract(const FourVector &a, const FourVector &b) Contract two 4-vectors, with metric signature (+ - - -). Definition Vector4.hh:245 RapScheme Enum for rapidity variable to be used in calculating , applying rapidity cuts, etc. Definition MathConstants.hh:46 Cmp< T > cmp(const T &t1, const T &t2) Global helper function for easy creation of Cmp objects. Definition Cmp.hh:255 double angle(const Vector2 &a, const Vector2 &b) Angle (in radians) between two 2-vectors. Definition Vector2.hh:177 double rapidity(double E, double pz) Calculate a rapidity value from the supplied energy E and longitudinal momentum pz. Definition MathUtils.hh:702 Generated on Wed Oct 30 2024 15:42:55 for Rivet by 1.9.8 |