#include <LorentzVector.h>

Public Types | |
| typedef CoordSystem::Scalar | Scalar |
| typedef CoordSystem | CoordinateType |
| typedef DisplacementVector3D < Cartesian3D< Scalar > > | BetaVector |
Public Member Functions | |
| LorentzVector () | |
| default constructor of an empty vector (Px = Py = Pz = E = 0 ) | |
| LorentzVector (const Scalar &a, const Scalar &b, const Scalar &c, const Scalar &d) | |
| generic constructors from four scalar values. | |
| template<class Coords > | |
| LorentzVector (const LorentzVector< Coords > &v) | |
| constructor from a LorentzVector expressed in different coordinates, or using a different Scalar type | |
| template<class ForeignLorentzVector > | |
| LorentzVector (const ForeignLorentzVector &v) | |
| Construct from a foreign 4D vector type, for example, HepLorentzVector Precondition: v must implement methods x(), y(), z(), and t(). | |
| template<class OtherCoords > | |
| LorentzVector & | operator= (const LorentzVector< OtherCoords > &v) |
| Assignment operator from a lorentz vector of arbitrary type. | |
| template<class ForeignLorentzVector > | |
| LorentzVector & | operator= (const ForeignLorentzVector &v) |
| assignment from any other Lorentz vector implementing x(), y(), z() and t() | |
| const CoordSystem & | Coordinates () const |
| Retrieve a const reference to the coordinates object. | |
| LorentzVector< CoordSystem > & | SetCoordinates (const Scalar src[]) |
| Set internal data based on an array of 4 Scalar numbers. | |
| LorentzVector< CoordSystem > & | SetCoordinates (Scalar a, Scalar b, Scalar c, Scalar d) |
| Set internal data based on 4 Scalar numbers. | |
| template<class IT > | |
| LorentzVector< CoordSystem > & | SetCoordinates (IT begin, IT end) |
| Set internal data based on 4 Scalars at *begin to *end. | |
| void | GetCoordinates (Scalar &a, Scalar &b, Scalar &c, Scalar &d) const |
| get internal data into 4 Scalar numbers | |
| void | GetCoordinates (Scalar dest[]) const |
| get internal data into an array of 4 Scalar numbers | |
| template<class IT > | |
| void | GetCoordinates (IT begin, IT end) const |
| get internal data into 4 Scalars at *begin to *end | |
| template<class IT > | |
| void | GetCoordinates (IT begin) const |
| get internal data into 4 Scalars at *begin | |
| LorentzVector< CoordSystem > & | SetXYZT (Scalar xx, Scalar yy, Scalar zz, Scalar tt) |
| set the values of the vector from the cartesian components (x,y,z,t) (if the vector is held in another coordinates, like (Pt,eta,phi,m) then (x, y, z, t) are converted to that form) | |
| LorentzVector< CoordSystem > & | SetPxPyPzE (Scalar xx, Scalar yy, Scalar zz, Scalar ee) |
| bool | operator== (const LorentzVector &rhs) const |
| Exact equality. | |
| bool | operator!= (const LorentzVector &rhs) const |
| Scalar | Px () const |
| spatial X component | |
| Scalar | X () const |
| Scalar | Py () const |
| spatial Y component | |
| Scalar | Y () const |
| Scalar | Pz () const |
| spatial Z component | |
| Scalar | Z () const |
| Scalar | E () const |
| return 4-th component (time, or energy for a 4-momentum vector) | |
| Scalar | T () const |
| Scalar | M2 () const |
| return magnitude (mass) squared M2 = T**2 - X**2 - Y**2 - Z**2 (we use -,-,-,+ metric) | |
| Scalar | M () const |
| return magnitude (mass) using the (-,-,-,+) metric. | |
| Scalar | R () const |
| return the spatial (3D) magnitude ( sqrt(X**2 + Y**2 + Z**2) ) | |
| Scalar | P () const |
| Scalar | P2 () const |
| return the square of the spatial (3D) magnitude ( X**2 + Y**2 + Z**2 ) | |
| Scalar | Perp2 () const |
| return the square of the transverse spatial component ( X**2 + Y**2 ) | |
| Scalar | Pt () const |
| return the transverse spatial component sqrt ( X**2 + Y**2 ) | |
| Scalar | Rho () const |
| Scalar | Mt2 () const |
| return the transverse mass squared
| |
| Scalar | Mt () const |
| return the transverse mass
| |
| Scalar | Et2 () const |
| return the transverse energy squared
| |
| Scalar | Et () const |
| return the transverse energy
| |
| Scalar | Phi () const |
| azimuthal Angle | |
| Scalar | Theta () const |
| polar Angle | |
| Scalar | Eta () const |
| pseudorapidity
| |
| ::ROOT::Math::DisplacementVector3D < Cartesian3D< Scalar > > | Vect () const |
| get the spatial components of the Vector in a DisplacementVector based on Cartesian Coordinates | |
| template<class OtherLorentzVector > | |
| Scalar | Dot (const OtherLorentzVector &q) const |
| scalar (Dot) product of two LorentzVector vectors (metric is -,-,-,+) Enable the product using any other LorentzVector implementing the x(), y() , y() and t() member functions | |
| template<class OtherLorentzVector > | |
| LorentzVector & | operator+= (const OtherLorentzVector &q) |
| Self addition with another Vector ( v+= q ) Enable the addition with any other LorentzVector. | |
| template<class OtherLorentzVector > | |
| LorentzVector & | operator-= (const OtherLorentzVector &q) |
| Self subtraction of another Vector from this ( v-= q ) Enable the addition with any other LorentzVector. | |
| template<class OtherLorentzVector > | |
| LorentzVector | operator+ (const OtherLorentzVector &v2) const |
| addition of two LorentzVectors (v3 = v1 + v2) Enable the addition with any other LorentzVector | |
| template<class OtherLorentzVector > | |
| LorentzVector | operator- (const OtherLorentzVector &v2) const |
| subtraction of two LorentzVectors (v3 = v1 - v2) Enable the subtraction of any other LorentzVector | |
| LorentzVector & | operator*= (Scalar a) |
| multiplication by a scalar quantity v *= a | |
| LorentzVector & | operator/= (Scalar a) |
| division by a scalar quantity v /= a | |
| LorentzVector | operator* (const Scalar &a) const |
| product of a LorentzVector by a scalar quantity | |
| LorentzVector< CoordSystem > | operator/ (const Scalar &a) const |
| Divide a LorentzVector by a scalar quantity. | |
| LorentzVector | operator- () const |
| Negative of a LorentzVector (q = - v ). | |
| LorentzVector | operator+ () const |
| Scalar | Rapidity () const |
| Rapidity relative to the Z axis: .5 log [(E+Pz)/(E-Pz)]. | |
| Scalar | ColinearRapidity () const |
| Rapidity in the direction of travel: atanh (|P|/E)=.5 log[(E+P)/(E-P)]. | |
| bool | isTimelike () const |
| Determine if momentum-energy can represent a physical massive particle. | |
| bool | isLightlike (Scalar tolerance=100 *std::numeric_limits< Scalar >::epsilon()) const |
| Determine if momentum-energy can represent a massless particle. | |
| bool | isSpacelike () const |
| Determine if momentum-energy is spacelike, and represents a tachyon. | |
| BetaVector | BoostToCM () const |
| The beta vector for the boost that would bring this vector into its center of mass frame (zero momentum). | |
| template<class Other4Vector > | |
| BetaVector | BoostToCM (const Other4Vector &v) const |
| The beta vector for the boost that would bring this vector into its center of mass frame (zero momentum). | |
| Scalar | Beta () const |
| Return beta scalar value. | |
| Scalar | Gamma () const |
| Return Gamma scalar value. | |
| Scalar | x () const |
| Scalar | y () const |
| Scalar | z () const |
| Scalar | t () const |
| Scalar | px () const |
| Scalar | py () const |
| Scalar | pz () const |
| Scalar | e () const |
| Scalar | r () const |
| Scalar | theta () const |
| Scalar | phi () const |
| Scalar | rho () const |
| Scalar | eta () const |
| Scalar | pt () const |
| Scalar | perp2 () const |
| Scalar | mag2 () const |
| Scalar | mag () const |
| Scalar | mt () const |
| Scalar | mt2 () const |
| Scalar | energy () const |
| Scalar | mass () const |
| Scalar | mass2 () const |
| LorentzVector< CoordSystem > & | SetE (Scalar a) |
| Methods setting a Single-component Work only if the component is one of which the vector is represented. | |
| LorentzVector< CoordSystem > & | SetEta (Scalar a) |
| LorentzVector< CoordSystem > & | SetM (Scalar a) |
| LorentzVector< CoordSystem > & | SetPhi (Scalar a) |
| LorentzVector< CoordSystem > & | SetPt (Scalar a) |
| LorentzVector< CoordSystem > & | SetPx (Scalar a) |
| LorentzVector< CoordSystem > & | SetPy (Scalar a) |
| LorentzVector< CoordSystem > & | SetPz (Scalar a) |
The metric used for the LorentzVector is (-,-,-,+). In the case of LorentzVector we don't distinguish the concepts of points and displacement vectors as in the 3D case, since the main use case for 4D Vectors is to describe the kinematics of relativistic particles. A LorentzVector behaves like a DisplacementVector in 4D. The Minkowski components could be viewed as v and t, or for kinematic 4-vectors, as p and E.
Definition at line 54 of file GenVector/LorentzVector.h.
| typedef DisplacementVector3D< Cartesian3D<Scalar> > ROOT::Math::LorentzVector< CoordSystem >::BetaVector |
Definition at line 524 of file GenVector/LorentzVector.h.
| typedef CoordSystem ROOT::Math::LorentzVector< CoordSystem >::CoordinateType |
Definition at line 61 of file GenVector/LorentzVector.h.
| typedef CoordSystem::Scalar ROOT::Math::LorentzVector< CoordSystem >::Scalar |
Definition at line 60 of file GenVector/LorentzVector.h.
| ROOT::Math::LorentzVector< CoordSystem >::LorentzVector | ( | ) | [inline] |
default constructor of an empty vector (Px = Py = Pz = E = 0 )
Definition at line 66 of file GenVector/LorentzVector.h.
| ROOT::Math::LorentzVector< CoordSystem >::LorentzVector | ( | const Scalar & | a, | |
| const Scalar & | b, | |||
| const Scalar & | c, | |||
| const Scalar & | d | |||
| ) | [inline] |
generic constructors from four scalar values.
The association between values and coordinate depends on the coordinate system. For PxPyPzE4D,
| a | scalar value (Px) | |
| b | scalar value (Py) | |
| c | scalar value (Pz) | |
| d | scalar value (E) |
Definition at line 77 of file GenVector/LorentzVector.h.
| ROOT::Math::LorentzVector< CoordSystem >::LorentzVector | ( | const LorentzVector< Coords > & | v | ) | [inline, explicit] |
constructor from a LorentzVector expressed in different coordinates, or using a different Scalar type
Definition at line 88 of file GenVector/LorentzVector.h.
| ROOT::Math::LorentzVector< CoordSystem >::LorentzVector | ( | const ForeignLorentzVector< CoordSystem > & | v | ) | [inline, explicit] |
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Beta | ( | ) | const [inline] |
Return beta scalar value.
Definition at line 574 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), ROOT::Math::LorentzVector< CoordSystem >::M2(), ROOT::Math::LorentzVector< CoordSystem >::P(), ROOT::Math::LorentzVector< CoordSystem >::P2(), and ROOT::Math::Throw().
| BetaVector ROOT::Math::LorentzVector< CoordSystem >::BoostToCM | ( | const Other4Vector & | v | ) | const [inline] |
The beta vector for the boost that would bring this vector into its center of mass frame (zero momentum).
Definition at line 552 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Mag2(), and ROOT::Math::LorentzVector< CoordSystem >::Vect().
| BetaVector ROOT::Math::LorentzVector< CoordSystem >::BoostToCM | ( | ) | const [inline] |
The beta vector for the boost that would bring this vector into its center of mass frame (zero momentum).
Definition at line 530 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), ROOT::Math::LorentzVector< CoordSystem >::M2(), ROOT::Math::LorentzVector< CoordSystem >::P(), and ROOT::Math::LorentzVector< CoordSystem >::Vect().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::ColinearRapidity | ( | ) | const [inline] |
Rapidity in the direction of travel: atanh (|P|/E)=.5 log[(E+P)/(E-P)].
Definition at line 492 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), log(), and ROOT::Math::LorentzVector< CoordSystem >::P().
| const CoordSystem& ROOT::Math::LorentzVector< CoordSystem >::Coordinates | ( | ) | const [inline] |
Retrieve a const reference to the coordinates object.
Definition at line 157 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::operator=().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Dot | ( | const OtherLorentzVector< CoordSystem > & | q | ) | const [inline] |
scalar (Dot) product of two LorentzVector vectors (metric is -,-,-,+) Enable the product using any other LorentzVector implementing the x(), y() , y() and t() member functions
| q | any LorentzVector implementing the x(), y() , z() and t() member functions |
Definition at line 364 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::t(), ROOT::Math::LorentzVector< CoordSystem >::x(), ROOT::Math::LorentzVector< CoordSystem >::y(), and ROOT::Math::LorentzVector< CoordSystem >::z().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::e | ( | ) | const [inline] |
Definition at line 623 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::E | ( | ) | const [inline] |
return 4-th component (time, or energy for a 4-momentum vector)
Definition at line 271 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Beta(), ROOT::Math::LorentzVector< CoordSystem >::BoostToCM(), ROOT::Math::LorentzVector< CoordSystem >::ColinearRapidity(), ROOT::Math::LorentzVector< CoordSystem >::Gamma(), ROOT::Math::LorentzVector< CoordSystem >::isLightlike(), ROOT::Math::LorentzVector< CoordSystem >::isSpacelike(), ROOT::Math::LorentzVector< CoordSystem >::isTimelike(), ROOT::Math::Transform3D::operator()(), ROOT::Math::RotationZYX::operator()(), ROOT::Math::RotationZ::operator()(), ROOT::Math::RotationY::operator()(), ROOT::Math::RotationX::operator()(), ROOT::Math::Rotation3D::operator()(), ROOT::Math::Quaternion::operator()(), ROOT::Math::EulerAngles::operator()(), ROOT::Math::AxisAngle::operator()(), and ROOT::Math::LorentzVector< CoordSystem >::Rapidity().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::energy | ( | ) | const [inline] |
Definition at line 638 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Et | ( | ) | const [inline] |
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Et2 | ( | ) | const [inline] |
| Scalar ROOT::Math::LorentzVector< CoordSystem >::eta | ( | ) | const [inline] |
Definition at line 628 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Eta | ( | ) | const [inline] |
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Gamma | ( | ) | const [inline] |
Return Gamma scalar value.
Definition at line 592 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), ROOT::Math::LorentzVector< CoordSystem >::P2(), ROOT::Math::sqrt(), and ROOT::Math::Throw().
| void ROOT::Math::LorentzVector< CoordSystem >::GetCoordinates | ( | IT | begin | ) | const [inline] |
get internal data into 4 Scalars at *begin
Definition at line 214 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::GetCoordinates().
| void ROOT::Math::LorentzVector< CoordSystem >::GetCoordinates | ( | IT | begin, | |
| IT | end | |||
| ) | const [inline] |
get internal data into 4 Scalars at *begin to *end
Definition at line 204 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::GetCoordinates().
| void ROOT::Math::LorentzVector< CoordSystem >::GetCoordinates | ( | Scalar | dest[] | ) | const [inline] |
get internal data into an array of 4 Scalar numbers
Definition at line 197 of file GenVector/LorentzVector.h.
| void ROOT::Math::LorentzVector< CoordSystem >::GetCoordinates | ( | Scalar & | a, | |
| Scalar & | b, | |||
| Scalar & | c, | |||
| Scalar & | d | |||
| ) | const [inline] |
get internal data into 4 Scalar numbers
Definition at line 191 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::GetCoordinates().
| bool ROOT::Math::LorentzVector< CoordSystem >::isLightlike | ( | Scalar | tolerance = 100*std::numeric_limits<Scalar>::epsilon() |
) | const [inline] |
Determine if momentum-energy can represent a massless particle.
Definition at line 510 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), and ROOT::Math::LorentzVector< CoordSystem >::P().
| bool ROOT::Math::LorentzVector< CoordSystem >::isSpacelike | ( | ) | const [inline] |
Determine if momentum-energy is spacelike, and represents a tachyon.
Definition at line 520 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), and ROOT::Math::LorentzVector< CoordSystem >::P().
| bool ROOT::Math::LorentzVector< CoordSystem >::isTimelike | ( | ) | const [inline] |
Determine if momentum-energy can represent a physical massive particle.
Definition at line 503 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), and ROOT::Math::LorentzVector< CoordSystem >::P().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::M | ( | ) | const [inline] |
return magnitude (mass) using the (-,-,-,+) metric.
If M2 is negative (space-like vector) a GenVector_exception is suggested and if continuing, - sqrt( -M2) is returned
Definition at line 283 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::M2 | ( | ) | const [inline] |
return magnitude (mass) squared M2 = T**2 - X**2 - Y**2 - Z**2 (we use -,-,-,+ metric)
Definition at line 277 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Beta(), and ROOT::Math::LorentzVector< CoordSystem >::BoostToCM().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::mag | ( | ) | const [inline] |
Definition at line 632 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::mag2 | ( | ) | const [inline] |
Definition at line 631 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::mass | ( | ) | const [inline] |
Definition at line 639 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::mass2 | ( | ) | const [inline] |
Definition at line 640 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::mt | ( | ) | const [inline] |
Definition at line 633 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Mt | ( | ) | const [inline] |
| Scalar ROOT::Math::LorentzVector< CoordSystem >::mt2 | ( | ) | const [inline] |
Definition at line 634 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Mt2 | ( | ) | const [inline] |
| bool ROOT::Math::LorentzVector< CoordSystem >::operator!= | ( | const LorentzVector< CoordSystem > & | rhs | ) | const [inline] |
Definition at line 245 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::operator==().
| LorentzVector ROOT::Math::LorentzVector< CoordSystem >::operator* | ( | const Scalar & | a | ) | const [inline] |
product of a LorentzVector by a scalar quantity
| a | scalar quantity of type a |
Definition at line 445 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::operator-().
| LorentzVector& ROOT::Math::LorentzVector< CoordSystem >::operator*= | ( | Scalar | a | ) | [inline] |
multiplication by a scalar quantity v *= a
Definition at line 427 of file GenVector/LorentzVector.h.
| LorentzVector ROOT::Math::LorentzVector< CoordSystem >::operator+ | ( | ) | const [inline] |
Definition at line 471 of file GenVector/LorentzVector.h.
| LorentzVector ROOT::Math::LorentzVector< CoordSystem >::operator+ | ( | const OtherLorentzVector< CoordSystem > & | v2 | ) | const [inline] |
addition of two LorentzVectors (v3 = v1 + v2) Enable the addition with any other LorentzVector
| v2 | any LorentzVector implementing the x(), y() , z() and t() member functions |
Definition at line 401 of file GenVector/LorentzVector.h.
| LorentzVector& ROOT::Math::LorentzVector< CoordSystem >::operator+= | ( | const OtherLorentzVector< CoordSystem > & | q | ) | [inline] |
Self addition with another Vector ( v+= q ) Enable the addition with any other LorentzVector.
| q | any LorentzVector implementing the x(), y() , z() and t() member functions |
Definition at line 375 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::SetXYZT(), ROOT::Math::LorentzVector< CoordSystem >::t(), ROOT::Math::LorentzVector< CoordSystem >::x(), ROOT::Math::LorentzVector< CoordSystem >::y(), and ROOT::Math::LorentzVector< CoordSystem >::z().
| LorentzVector ROOT::Math::LorentzVector< CoordSystem >::operator- | ( | ) | const [inline] |
Negative of a LorentzVector (q = - v ).
Definition at line 466 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::operator*().
| LorentzVector ROOT::Math::LorentzVector< CoordSystem >::operator- | ( | const OtherLorentzVector< CoordSystem > & | v2 | ) | const [inline] |
subtraction of two LorentzVectors (v3 = v1 - v2) Enable the subtraction of any other LorentzVector
| v2 | any LorentzVector implementing the x(), y() , z() and t() member functions |
Definition at line 416 of file GenVector/LorentzVector.h.
| LorentzVector& ROOT::Math::LorentzVector< CoordSystem >::operator-= | ( | const OtherLorentzVector< CoordSystem > & | q | ) | [inline] |
Self subtraction of another Vector from this ( v-= q ) Enable the addition with any other LorentzVector.
| q | any LorentzVector implementing the x(), y() , z() and t() member functions |
Definition at line 388 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::SetXYZT(), ROOT::Math::LorentzVector< CoordSystem >::t(), ROOT::Math::LorentzVector< CoordSystem >::x(), ROOT::Math::LorentzVector< CoordSystem >::y(), and ROOT::Math::LorentzVector< CoordSystem >::z().
| LorentzVector<CoordSystem> ROOT::Math::LorentzVector< CoordSystem >::operator/ | ( | const Scalar & | a | ) | const [inline] |
Divide a LorentzVector by a scalar quantity.
| a | scalar quantity of type a |
Definition at line 456 of file GenVector/LorentzVector.h.
| LorentzVector& ROOT::Math::LorentzVector< CoordSystem >::operator/= | ( | Scalar | a | ) | [inline] |
| LorentzVector& ROOT::Math::LorentzVector< CoordSystem >::operator= | ( | const ForeignLorentzVector< CoordSystem > & | v | ) | [inline] |
assignment from any other Lorentz vector implementing x(), y(), z() and t()
Definition at line 131 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::SetXYZT().
| LorentzVector& ROOT::Math::LorentzVector< CoordSystem >::operator= | ( | const LorentzVector< OtherCoords > & | v | ) | [inline] |
Assignment operator from a lorentz vector of arbitrary type.
Definition at line 121 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::Coordinates().
| bool ROOT::Math::LorentzVector< CoordSystem >::operator== | ( | const LorentzVector< CoordSystem > & | rhs | ) | const [inline] |
Exact equality.
Definition at line 242 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::operator!=().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::P | ( | ) | const [inline] |
Definition at line 288 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Beta(), ROOT::Math::LorentzVector< CoordSystem >::BoostToCM(), ROOT::Math::LorentzVector< CoordSystem >::ColinearRapidity(), ROOT::Math::LorentzVector< CoordSystem >::isLightlike(), ROOT::Math::LorentzVector< CoordSystem >::isSpacelike(), ROOT::Math::LorentzVector< CoordSystem >::isTimelike(), and ROOT::Math::LorentzVector< CoordSystem >::P2().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::P2 | ( | ) | const [inline] |
return the square of the spatial (3D) magnitude ( X**2 + Y**2 + Z**2 )
Definition at line 292 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::P().
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Beta(), and ROOT::Math::LorentzVector< CoordSystem >::Gamma().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::perp2 | ( | ) | const [inline] |
Definition at line 630 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Perp2 | ( | ) | const [inline] |
return the square of the transverse spatial component ( X**2 + Y**2 )
Definition at line 296 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::phi | ( | ) | const [inline] |
Definition at line 626 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Phi | ( | ) | const [inline] |
| Scalar ROOT::Math::LorentzVector< CoordSystem >::pt | ( | ) | const [inline] |
Definition at line 629 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Pt | ( | ) | const [inline] |
return the transverse spatial component sqrt ( X**2 + Y**2 )
Definition at line 301 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::px | ( | ) | const [inline] |
Definition at line 620 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Px | ( | ) | const [inline] |
| Scalar ROOT::Math::LorentzVector< CoordSystem >::py | ( | ) | const [inline] |
Definition at line 621 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Py | ( | ) | const [inline] |
| Scalar ROOT::Math::LorentzVector< CoordSystem >::pz | ( | ) | const [inline] |
Definition at line 622 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Pz | ( | ) | const [inline] |
spatial Z component
Definition at line 266 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Rapidity().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::r | ( | ) | const [inline] |
Definition at line 624 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::R | ( | ) | const [inline] |
return the spatial (3D) magnitude ( sqrt(X**2 + Y**2 + Z**2) )
Definition at line 287 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Rapidity | ( | ) | const [inline] |
Rapidity relative to the Z axis: .5 log [(E+Pz)/(E-Pz)].
Definition at line 480 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::E(), log(), and ROOT::Math::LorentzVector< CoordSystem >::Pz().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::rho | ( | ) | const [inline] |
Definition at line 627 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Rho | ( | ) | const [inline] |
Definition at line 302 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetCoordinates | ( | IT | begin, | |
| IT | end | |||
| ) | [inline] |
Set internal data based on 4 Scalars at *begin to *end.
Definition at line 181 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::SetCoordinates().
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetCoordinates | ( | Scalar | a, | |
| Scalar | b, | |||
| Scalar | c, | |||
| Scalar | d | |||
| ) | [inline] |
Set internal data based on 4 Scalar numbers.
Definition at line 172 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetCoordinates | ( | const Scalar | src[] | ) | [inline] |
Set internal data based on an array of 4 Scalar numbers.
Definition at line 164 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::operator>>(), and ROOT::Math::LorentzVector< CoordSystem >::SetCoordinates().
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetE | ( | Scalar | a | ) | [inline] |
Methods setting a Single-component Work only if the component is one of which the vector is represented.
For example SetE will work for a PxPyPzE Vector but not for a PxPyPzM Vector.
Definition at line 648 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetEta | ( | Scalar | a | ) | [inline] |
Definition at line 649 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetM | ( | Scalar | a | ) | [inline] |
Definition at line 650 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetPhi | ( | Scalar | a | ) | [inline] |
Definition at line 651 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetPt | ( | Scalar | a | ) | [inline] |
Definition at line 652 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetPx | ( | Scalar | a | ) | [inline] |
Definition at line 653 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetPxPyPzE | ( | Scalar | xx, | |
| Scalar | yy, | |||
| Scalar | zz, | |||
| Scalar | ee | |||
| ) | [inline] |
Definition at line 232 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetPy | ( | Scalar | a | ) | [inline] |
Definition at line 654 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetPz | ( | Scalar | a | ) | [inline] |
Definition at line 655 of file GenVector/LorentzVector.h.
| LorentzVector<CoordSystem>& ROOT::Math::LorentzVector< CoordSystem >::SetXYZT | ( | Scalar | xx, | |
| Scalar | yy, | |||
| Scalar | zz, | |||
| Scalar | tt | |||
| ) | [inline] |
set the values of the vector from the cartesian components (x,y,z,t) (if the vector is held in another coordinates, like (Pt,eta,phi,m) then (x, y, z, t) are converted to that form)
Definition at line 228 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::VectorUtil::Mult(), ROOT::Math::LorentzVector< CoordSystem >::operator+=(), ROOT::Math::LorentzVector< CoordSystem >::operator-=(), and ROOT::Math::LorentzVector< CoordSystem >::operator=().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::t | ( | ) | const [inline] |
Definition at line 619 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Dot(), ROOT::Math::VectorUtil::Mult(), ROOT::Math::LorentzVector< CoordSystem >::operator+=(), and ROOT::Math::LorentzVector< CoordSystem >::operator-=().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::T | ( | ) | const [inline] |
Definition at line 272 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzRotation::operator()(), ROOT::Math::BoostZ::operator()(), ROOT::Math::BoostY::operator()(), ROOT::Math::BoostX::operator()(), and ROOT::Math::Boost::operator()().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::theta | ( | ) | const [inline] |
Definition at line 625 of file GenVector/LorentzVector.h.
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Theta | ( | ) | const [inline] |
| ::ROOT::Math::DisplacementVector3D<Cartesian3D<Scalar> > ROOT::Math::LorentzVector< CoordSystem >::Vect | ( | ) | const [inline] |
get the spatial components of the Vector in a DisplacementVector based on Cartesian Coordinates
Definition at line 348 of file GenVector/LorentzVector.h.
References ROOT::Math::LorentzVector< CoordSystem >::X(), ROOT::Math::LorentzVector< CoordSystem >::Y(), and ROOT::Math::LorentzVector< CoordSystem >::Z().
Referenced by ROOT::Math::LorentzVector< CoordSystem >::BoostToCM(), ROOT::Math::Transform3D::operator()(), ROOT::Math::RotationZYX::operator()(), ROOT::Math::RotationZ::operator()(), ROOT::Math::RotationY::operator()(), ROOT::Math::RotationX::operator()(), ROOT::Math::Rotation3D::operator()(), ROOT::Math::Quaternion::operator()(), ROOT::Math::EulerAngles::operator()(), and ROOT::Math::AxisAngle::operator()().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::x | ( | ) | const [inline] |
Definition at line 616 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Dot(), ROOT::Math::VectorUtil::Mult(), ROOT::Math::LorentzVector< CoordSystem >::operator+=(), and ROOT::Math::LorentzVector< CoordSystem >::operator-=().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::X | ( | ) | const [inline] |
Definition at line 257 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzRotation::operator()(), ROOT::Math::BoostZ::operator()(), ROOT::Math::BoostY::operator()(), ROOT::Math::BoostX::operator()(), ROOT::Math::Boost::operator()(), and ROOT::Math::LorentzVector< CoordSystem >::Vect().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::y | ( | ) | const [inline] |
Definition at line 617 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Dot(), ROOT::Math::VectorUtil::Mult(), ROOT::Math::LorentzVector< CoordSystem >::operator+=(), and ROOT::Math::LorentzVector< CoordSystem >::operator-=().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Y | ( | ) | const [inline] |
Definition at line 262 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzRotation::operator()(), ROOT::Math::BoostZ::operator()(), ROOT::Math::BoostY::operator()(), ROOT::Math::BoostX::operator()(), ROOT::Math::Boost::operator()(), and ROOT::Math::LorentzVector< CoordSystem >::Vect().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::z | ( | ) | const [inline] |
Definition at line 618 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzVector< CoordSystem >::Dot(), ROOT::Math::VectorUtil::Mult(), ROOT::Math::LorentzVector< CoordSystem >::operator+=(), and ROOT::Math::LorentzVector< CoordSystem >::operator-=().
| Scalar ROOT::Math::LorentzVector< CoordSystem >::Z | ( | ) | const [inline] |
Definition at line 267 of file GenVector/LorentzVector.h.
Referenced by ROOT::Math::LorentzRotation::operator()(), ROOT::Math::BoostZ::operator()(), ROOT::Math::BoostY::operator()(), ROOT::Math::BoostX::operator()(), ROOT::Math::Boost::operator()(), and ROOT::Math::LorentzVector< CoordSystem >::Vect().
1.5.9