Class describing a 4D cartesian coordinate system (x, y, z, t coordinates) or momentum-energy vectors stored as (Px, Py, Pz, E).
The metric used is (-,-,-,+)
Definition at line 44 of file PxPyPzE4D.h.
Public Types | |
| typedef ScalarType | Scalar | 
Public Member Functions | |
| constexpr | PxPyPzE4D () noexcept=default | 
| Default constructor with x=y=z=t=0.   | |
| template<class CoordSystem > | |
| constexpr | PxPyPzE4D (const CoordSystem &v) | 
| construct from any vector or coordinate system class implementing x(), y() and z() and t()   | |
| constexpr | PxPyPzE4D (Scalar px, Scalar py, Scalar pz, Scalar e) noexcept | 
| Constructor from x, y , z , t values.   | |
| Scalar | E () const | 
| Scalar | Et () const | 
| transverse energy   | |
| Scalar | Et2 () const | 
| transverse energy squared   | |
| Scalar | Eta () const | 
| pseudorapidity   | |
| void | GetCoordinates (Scalar &px, Scalar &py, Scalar &pz, Scalar &e) const | 
| get internal data into 4 Scalar numbers   | |
| void | GetCoordinates (Scalar dest[]) const | 
| get internal data into an array of 4 Scalar numbers   | |
| Scalar | M () const | 
| invariant mass   | |
| Scalar | M2 () const | 
| vector magnitude squared (or mass squared)   | |
| Scalar | Mag () const | 
| Scalar | Mag2 () const | 
| Scalar | Mt () const | 
| transverse mass   | |
| Scalar | Mt2 () const | 
| transverse mass squared   | |
| void | Negate () | 
| negate the 4-vector   | |
| bool | operator!= (const PxPyPzE4D &rhs) const | 
| template<class AnyCoordSystem > | |
| PxPyPzE4D & | operator= (const AnyCoordSystem &v) | 
| Assignment from a generic coordinate system implementing x(), y(), z() and t()   | |
| bool | operator== (const PxPyPzE4D &rhs) const | 
| Exact equality.   | |
| Scalar | P () const | 
| magnitude of spatial components (magnitude of 3-momentum)   | |
| Scalar | P2 () const | 
| squared magnitude of spatial components   | |
| Scalar | Perp () const | 
| Scalar | Perp2 () const | 
| Scalar | Phi () const | 
| azimuthal angle   | |
| Scalar | Pt () const | 
| Transverse spatial component (P_perp or rho)   | |
| Scalar | Pt2 () const | 
| transverse spatial component squared   | |
| Scalar | Px () const | 
| Scalar | Py () const | 
| Scalar | Pz () const | 
| Scalar | R () const | 
| Scalar | Rho () const | 
| void | Scale (const Scalar &a) | 
| scale coordinate values by a scalar quantity a   | |
| void | SetCoordinates (const Scalar src[]) | 
| Set internal data based on an array of 4 Scalar numbers.   | |
| void | SetCoordinates (Scalar px, Scalar py, Scalar pz, Scalar e) | 
| Set internal data based on 4 Scalar numbers.   | |
| void | SetE (Scalar e) | 
| set T value   | |
| void | SetPx (Scalar px) | 
| set X value   | |
| void | SetPxPyPzE (Scalar px, Scalar py, Scalar pz, Scalar e) | 
| set all values using cartesian coordinates   | |
| void | SetPy (Scalar py) | 
| set Y value   | |
| void | SetPz (Scalar pz) | 
| set Z value   | |
| Scalar | T () const | 
| Scalar | t () const | 
| Scalar | Theta () const | 
| polar angle   | |
| Scalar | X () const | 
| Scalar | x () const | 
| Scalar | Y () const | 
| Scalar | y () const | 
| Scalar | Z () const | 
| Scalar | z () const | 
Static Public Attributes | |
| static constexpr unsigned int | Dimension = 4U | 
Private Attributes | |
| ScalarType | fT = 0 | 
| ScalarType | fX = 0 | 
| (contiguous) data containing the coordinate values x,y,z,t   | |
| ScalarType | fY = 0 | 
| ScalarType | fZ = 0 | 
#include <Math/GenVector/PxPyPzE4D.h>
| typedef ScalarType ROOT::Math::PxPyPzE4D< ScalarType >::Scalar | 
Definition at line 48 of file PxPyPzE4D.h.
      
  | 
  constexprdefaultnoexcept | 
Default constructor with x=y=z=t=0.
      
  | 
  inlineconstexprnoexcept | 
Constructor from x, y , z , t values.
Definition at line 61 of file PxPyPzE4D.h.
      
  | 
  inlineexplicitconstexpr | 
      
  | 
  inline | 
Definition at line 102 of file PxPyPzE4D.h.
      
  | 
  inline | 
transverse energy
Definition at line 192 of file PxPyPzE4D.h.
      
  | 
  inline | 
transverse energy squared
Definition at line 183 of file PxPyPzE4D.h.
      
  | 
  inline | 
pseudorapidity
Definition at line 211 of file PxPyPzE4D.h.
      
  | 
  inline | 
get internal data into 4 Scalar numbers
Definition at line 92 of file PxPyPzE4D.h.
      
  | 
  inline | 
get internal data into an array of 4 Scalar numbers
Definition at line 80 of file PxPyPzE4D.h.
      
  | 
  inline | 
invariant mass
Definition at line 131 of file PxPyPzE4D.h.
      
  | 
  inline | 
vector magnitude squared (or mass squared)
Definition at line 125 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 144 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 126 of file PxPyPzE4D.h.
      
  | 
  inline | 
transverse mass
Definition at line 167 of file PxPyPzE4D.h.
      
  | 
  inline | 
transverse mass squared
Definition at line 162 of file PxPyPzE4D.h.
      
  | 
  inline | 
negate the 4-vector
Definition at line 260 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 291 of file PxPyPzE4D.h.
      
  | 
  inline | 
      
  | 
  inline | 
Exact equality.
Definition at line 288 of file PxPyPzE4D.h.
      
  | 
  inline | 
magnitude of spatial components (magnitude of 3-momentum)
Definition at line 119 of file PxPyPzE4D.h.
      
  | 
  inline | 
squared magnitude of spatial components
Definition at line 114 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 156 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 150 of file PxPyPzE4D.h.
      
  | 
  inline | 
azimuthal angle
Definition at line 201 of file PxPyPzE4D.h.
      
  | 
  inline | 
Transverse spatial component (P_perp or rho)
Definition at line 155 of file PxPyPzE4D.h.
      
  | 
  inline | 
transverse spatial component squared
Definition at line 149 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 99 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 100 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 101 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 120 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 157 of file PxPyPzE4D.h.
      
  | 
  inline | 
scale coordinate values by a scalar quantity a
Definition at line 265 of file PxPyPzE4D.h.
      
  | 
  inline | 
Set internal data based on an array of 4 Scalar numbers.
Definition at line 74 of file PxPyPzE4D.h.
      
  | 
  inline | 
Set internal data based on 4 Scalar numbers.
Definition at line 86 of file PxPyPzE4D.h.
      
  | 
  inline | 
set T value
Definition at line 239 of file PxPyPzE4D.h.
      
  | 
  inline | 
set X value
Definition at line 221 of file PxPyPzE4D.h.
      
  | 
  inline | 
set all values using cartesian coordinates
Definition at line 246 of file PxPyPzE4D.h.
      
  | 
  inline | 
set Y value
Definition at line 227 of file PxPyPzE4D.h.
      
  | 
  inline | 
set Z value
Definition at line 233 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 107 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 301 of file PxPyPzE4D.h.
      
  | 
  inline | 
polar angle
Definition at line 206 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 104 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 298 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 105 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 299 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 106 of file PxPyPzE4D.h.
      
  | 
  inline | 
Definition at line 300 of file PxPyPzE4D.h.
      
  | 
  staticconstexpr | 
Definition at line 49 of file PxPyPzE4D.h.
      
  | 
  private | 
Definition at line 328 of file PxPyPzE4D.h.
      
  | 
  private | 
(contiguous) data containing the coordinate values x,y,z,t
Definition at line 325 of file PxPyPzE4D.h.
      
  | 
  private | 
Definition at line 326 of file PxPyPzE4D.h.
      
  | 
  private | 
Definition at line 327 of file PxPyPzE4D.h.