Vector4.hh 883 string err = "deltaR with scheme RAPIDITY can only be called with FourMomentum objects, not FourVectors"; 924 string err = "deltaR with scheme RAPIDITY can only be called with FourMomentum objects, not FourVectors"; 963 string err = "deltaR with scheme RAPIDITY can only be called with FourMomentum objects, not FourVectors"; 1087 return deltaR2(a.rapidity(), a.azimuthalAngle(), FourMomentum(b).rapidity(), b.azimuthalAngle()); FourMomentum & setPy(double py) Set y-component of momentum . Definition: Vector4.hh:349 FourVector operator-() const Multiply all components (space and time) by -1. Definition: Vector4.hh:213 Definition: ALICE_2010_I880049.cc:13 MOMS & sortByPt(MOMS &pbs) Sort a container of momenta by pT (decreasing) and return by reference for non-const inputs... Definition: Vector4.hh:1445 FourMomentum & setXYZM(double px, double py, double pz, double mass) Alias for setPM. Definition: Vector4.hh:391 double pT() const Calculate the transverse momentum . Definition: Vector4.hh:628 FourMomentum & operator+=(const FourMomentum &v) Add to this 4-vector. NB time as well as space components are added. Definition: Vector4.hh:736 double rapidity(double E, double pz) Calculate a rapidity value from the supplied energy E and longitudinal momentum pz. Definition: MathUtils.hh:602 double mod2() const Calculate the modulus-squared of a vector. . Definition: VectorN.hh:84 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:796 FourMomentum & setPz(double pz) Set z-component of momentum . Definition: Vector4.hh:355 FourVector & operator*=(double a) Multiply by a scalar. Definition: Vector4.hh:189 bool cmpMomByEt(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing transverse energy. Definition: Vector4.hh:1360 double pt2() const Calculate the squared transverse momentum . Definition: Vector4.hh:623 Vector3 polarVec() const Projection of 3-vector on to the plane. Definition: Vector4.hh:117 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:130 bool cmpMomByMass(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing mass. Definition: Vector4.hh:1378 double Et() const Calculate the transverse energy . Definition: Vector4.hh:641 double absrapidity() const Absolute rapidity. Definition: Vector4.hh:601 double p2() const Get the modulus-squared of the 3-momentum. Definition: Vector4.hh:586 FourMomentum & operator*=(double a) Multiply by a scalar. Definition: Vector4.hh:724 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:801 FourMomentum & setE(double E) Set energy (time component of momentum). Definition: Vector4.hh:337 double contract(const FourVector &v) const Contract two 4-vectors, with metric signature (+ - - -). Definition: Vector4.hh:173 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:786 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:781 double mass2() const Get the squared mass (the Lorentz self-invariant). Definition: Vector4.hh:572 bool cmpMomByDescRap(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing rapidity. Definition: Vector4.hh:1412 double abspseudorapidity() const Get the directly. Definition: Vector4.hh:157 double rapidity() const Calculate the rapidity. Definition: Vector4.hh:592 bool cmpMomByAscE(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing energy. Definition: Vector4.hh:1373 FourMomentum & operator-=(const FourMomentum &v) Subtract from this 4-vector. NB time as well as space components are subtracted. Definition: Vector4.hh:742 double pseudorapidity() const Pseudorapidity (defined purely by the 3-vector components) Definition: Vector4.hh:148 bool cmpMomByAscEt(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing transverse energy. Definition: Vector4.hh:1364 double polarRadius() const Magnitude of projection of 3-vector on to the plane. Definition: Vector4.hh:104 bool cmpMomByEta(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing eta (pseudorapidity) Definition: Vector4.hh:1387 FourMomentum & setThetaPhiME(double theta, double phi, double mass, double E) Definition: Vector4.hh:475 double angle(const Vector3 &v) const Angle in radians to another vector. Definition: Vector3.hh:89 FourMomentum & setEtaPhiMPt(double eta, double phi, double mass, double pt) Definition: Vector4.hh:416 bool cmpMomByE(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing energy. Definition: Vector4.hh:1369 Vector3 polarVec() const Polar projection of this vector into the x-y plane. Definition: Vector3.hh:111 FourMomentum & setPtPhiME(double pt, double phi, double mass, double E) Definition: Vector4.hh:517 FourMomentum & setThetaPhiMPt(double theta, double phi, double mass, double pt) Definition: Vector4.hh:498 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:811 FourMomentum & setPx(double px) Set x-component of momentum . Definition: Vector4.hh:343 Struct for sorting by increasing energy. Definition: Vector4.hh:690 double polarAngle() const Angle subtended by the vector and the z-axis. Definition: Vector3.hh:166 double dot(const FourVector &v) const Contract two 4-vectors, with metric signature (+ - - -). Definition: Vector4.hh:179 double deltaPhi(double phi1, double phi2, bool sign=false) Calculate the difference between two angles in radians. Definition: MathUtils.hh:569 bool cmpMomByAscMass(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing mass. Definition: Vector4.hh:1382 double angle(const Vector3 &v3) const Angle between this vector and another (3-vector) Definition: Vector4.hh:84 bool cmpMomByAscPt(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing pT. Definition: Vector4.hh:1346 double mass() const Get the mass (the Lorentz self-invariant). Definition: Vector4.hh:561 Object implementing Lorentz transform calculations and boosts. Definition: LorentzTrans.hh:21 FourMomentum operator-() const Multiply all components (time and space) by -1. Definition: Vector4.hh:748 bool cmpMomByDescEta(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing eta (pseudorapidity) Definition: Vector4.hh:1392 bool cmpMomByP(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing 3-momentum magnitude |p|. Definition: Vector4.hh:1351 Specialisation of VectorN to a general (non-momentum) Lorentz 4-vector. Definition: Vector4.hh:22 static FourMomentum mkXYZE(double px, double py, double pz, double E) Make a vector from (px,py,pz,E) coordinates. Definition: Vector4.hh:771 double deltaR2(double rap1, double phi1, double rap2, double phi2) Definition: MathUtils.hh:590 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:91 double deltaR(double rap1, double phi1, double rap2, double phi2) Definition: MathUtils.hh:597 double E() const Get energy (time component of momentum). Definition: Vector4.hh:538 bool cmpMomByPt(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing pT. Definition: Vector4.hh:1342 MOMS & sortByEt(MOMS &pbs) Sort a container of momenta by Et (decreasing) and return by reference for non-const inputs... Definition: Vector4.hh:1467 RapScheme Enum for rapidity variable to be used in calculating , applying rapidity cuts, etc. Definition: MathHeader.hh:28 bool cmpMomByAscP(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing 3-momentum magnitude |p|. Definition: Vector4.hh:1355 FourMomentum & operator/=(double a) Divide by a scalar. Definition: Vector4.hh:730 double operator*(const FourVector &v) const Contract two 4-vectors, with metric signature (+ - - -). Definition: Vector4.hh:184 bool cmpMomByRap(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing rapidity. Definition: Vector4.hh:1407 FourMomentum & setRapPhiMPt(double y, double phi, double mass, double pt) Definition: Vector4.hh:458 MOMS & sortBy(MOMS &pbs, const CMP &cmp) Sort a container of momenta by cmp and return by reference for non-const inputs. Definition: Vector4.hh:1431 double pt() const Calculate the transverse momentum . Definition: Vector4.hh:632 Vector3 vector3() const Get the spatial part of the 4-vector as a 3-vector. Definition: Vector4.hh:162 FourMomentum & setXYZE(double px, double py, double pz, double E) Alias for setPE. Definition: Vector4.hh:369 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:806 FourMomentum & setRapPhiME(double y, double phi, double mass, double E) Definition: Vector4.hh:438 double angle(const FourVector &v) const Angle between this vector and another. Definition: Vector4.hh:80 std::enable_if< std::is_floating_point< NUM >::value, bool >::type isZero(NUM val, double tolerance=1e-8) Compare a number to zero. Definition: MathUtils.hh:21 double polarAngle() const Angle subtended by the 3-vector and the z-axis. Definition: Vector4.hh:139 Vector3 pTvec() const Calculate the transverse momentum vector . Definition: Vector4.hh:610 FourMomentum & setEtaPhiME(double eta, double phi, double mass, double E) Definition: Vector4.hh:400 double phi(const PhiMapping mapping=ZERO_2PI) const Synonym for azimuthalAngle. Definition: Vector4.hh:134 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:152 std::string toString(const AnalysisInfo &ai) String representation. Definition: AnalysisInfo.cc:144 FourVector & operator-=(const FourVector &v) Subtract from this 4-vector. NB time as well as space components are subtracted. Definition: Vector4.hh:207 FourMomentum & setPE(double px, double py, double pz, double E) Set the p coordinates and energy simultaneously. Definition: Vector4.hh:362 bool cmpMomByAbsRap(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing absolute rapidity. Definition: Vector4.hh:1417 double phi(const PhiMapping mapping=ZERO_2PI) const Synonym for azimuthalAngle. Definition: Vector3.hh:161 MOMS & sortByE(MOMS &pbs) Sort a container of momenta by E (decreasing) and return by reference for non-const inputs... Definition: Vector4.hh:1456 FourVector & operator+=(const FourVector &v) Add to this 4-vector. Definition: Vector4.hh:201 bool cmpMomByDescAbsEta(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing absolute eta (pseudorapidity) Definition: Vector4.hh:1402 Struct for sorting by decreasing energy. Definition: Vector4.hh:704 FourVector & operator/=(double a) Divide by a scalar. Definition: Vector4.hh:195 Specialized version of the FourVector with momentum/energy functionality. Definition: Vector4.hh:301 double Et2() const Calculate the transverse energy . Definition: Vector4.hh:637 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:791 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:776 FourMomentum reverse() const Multiply space components only by -1. Definition: Vector4.hh:755 bool cmpMomByDescAbsRap(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by decreasing absolute rapidity. Definition: Vector4.hh:1422 FourMomentum & setPM(double px, double py, double pz, double mass) Set the p coordinates and mass simultaneously. Definition: Vector4.hh:383 std::enable_if< std::is_arithmetic< NUM >::value, NUM >::type sqr(NUM a) Named number-type squaring operation. Definition: MathUtils.hh:189 double polarRadius2() const Square of the polar radius (. Definition: Vector3.hh:126 bool cmpMomByAbsEta(const FourMomentum &a, const FourMomentum &b) Comparison to give a sorting by increasing absolute eta (pseudorapidity) Definition: Vector4.hh:1397 FourVector reverse() const Multiply space components only by -1. Definition: Vector4.hh:220 std::enable_if< std::is_arithmetic< NUM >::value, int >::type sign(NUM val) Find the sign of a number. Definition: MathUtils.hh:236 double pT2() const Calculate the squared transverse momentum . Definition: Vector4.hh:619 Vector3 boostVector() const Deprecated alias for betaVec. Definition: Vector4.hh:678 Cmp< T > cmp(const T &t1, const T &t2) Global helper function for easy creation of Cmp objects. Definition: Cmp.hh:285 Generated on Sun Feb 17 2019 21:04:56 for Rivet by ![]() |