Class describing a 4D cylindrical coordinate system using Pt , Phi, Eta and E (or rho, phi, eta , T) The metric used is (-,-,-,+).
Phi is restricted to be in the range [-PI,PI)
Definition at line 54 of file PtEtaPhiE4D.h.
Public Types | |
| typedef ScalarType | Scalar |
Public Member Functions | |
| constexpr | PtEtaPhiE4D () noexcept=default |
| Default constructor gives zero 4-vector. | |
| template<class CoordSystem > | |
| constexpr | PtEtaPhiE4D (const CoordSystem &c) |
| Generic constructor from any 4D coordinate system implementing Pt(), Eta(), Phi() and E() | |
| constexpr | PtEtaPhiE4D (Scalar pt, Scalar eta, Scalar phi, Scalar e) noexcept |
| Constructor from pt, eta, phi, e values. | |
| Scalar | E () const |
| Scalar | Et () const |
| transverse energy | |
| Scalar | Et2 () const |
| transverse energy squared | |
| Scalar | Eta () const |
| void | GetCoordinates (Scalar &pt, Scalar &eta, Scalar &phi, 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 PtEtaPhiE4D &rhs) const |
| template<class CoordSystem > | |
| PtEtaPhiE4D & | operator= (const CoordSystem &c) |
| Assignment from a generic coordinate system implementing Pt(), Eta(), Phi() and E() | |
| bool | operator== (const PtEtaPhiE4D &rhs) const |
| Exact equality. | |
| Scalar | P () const |
| magnitude of momentum | |
| Scalar | P2 () const |
| squared magnitude of spatial components (momentum squared) | |
| Scalar | Perp () const |
| Scalar | Perp2 () const |
| Scalar | Phi () const |
| Scalar | Pt () const |
| Scalar | Pt2 () const |
| transverse spatial component squared | |
| Scalar | Px () const |
| Scalar | Py () const |
| Scalar | Pz () const |
| Scalar | R () const |
| Scalar | Rho () const |
| void | Scale (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 pt, Scalar eta, Scalar phi, Scalar e) |
| Set internal data based on 4 Scalar numbers. | |
| void | SetE (Scalar e) |
| set E value | |
| void | SetEta (Scalar eta) |
| set eta value | |
| void | SetPhi (Scalar phi) |
| set phi value | |
| void | SetPt (Scalar pt) |
| set Pt value | |
| void | SetPxPyPzE (Scalar px, Scalar py, Scalar pz, Scalar e) |
| set values using cartesian coordinate system | |
| 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 Member Functions | |
| void | Restrict () |
Static Private Member Functions | |
| static Scalar | pi () |
Private Attributes | |
| ScalarType | fE = 0. |
| ScalarType | fEta = 0. |
| ScalarType | fPhi = 0. |
| ScalarType | fPt = 0. |
#include <Math/GenVector/PtEtaPhiE4D.h>
| typedef ScalarType ROOT::Math::PtEtaPhiE4D< ScalarType >::Scalar |
Definition at line 58 of file PtEtaPhiE4D.h.
|
constexprdefaultnoexcept |
Default constructor gives zero 4-vector.
|
inlineconstexprnoexcept |
Constructor from pt, eta, phi, e values.
Definition at line 71 of file PtEtaPhiE4D.h.
|
inlineexplicitconstexpr |
|
inline |
Definition at line 116 of file PtEtaPhiE4D.h.
|
inline |
|
inline |
transverse energy squared
Definition at line 222 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 114 of file PtEtaPhiE4D.h.
|
inline |
get internal data into 4 Scalar numbers
Definition at line 106 of file PtEtaPhiE4D.h.
|
inline |
get internal data into an array of 4 Scalar numbers
Definition at line 93 of file PtEtaPhiE4D.h.
|
inline |
invariant mass
Definition at line 167 of file PtEtaPhiE4D.h.
|
inline |
vector magnitude squared (or mass squared)
Definition at line 157 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 179 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 162 of file PtEtaPhiE4D.h.
|
inline |
transverse mass
Definition at line 195 of file PtEtaPhiE4D.h.
|
inline |
transverse mass squared
Definition at line 190 of file PtEtaPhiE4D.h.
|
inline |
negate the 4-vector
Definition at line 280 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 317 of file PtEtaPhiE4D.h.
|
inline |
|
inline |
Exact equality.
Definition at line 313 of file PtEtaPhiE4D.h.
|
inline |
magnitude of momentum
Definition at line 137 of file PtEtaPhiE4D.h.
|
inline |
squared magnitude of spatial components (momentum squared)
Definition at line 148 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 118 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 185 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 115 of file PtEtaPhiE4D.h.
|
inlinestaticprivate |
Definition at line 229 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 113 of file PtEtaPhiE4D.h.
|
inline |
transverse spatial component squared
Definition at line 184 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 124 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 126 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 128 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 143 of file PtEtaPhiE4D.h.
|
inlineprivate |
Definition at line 230 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 119 of file PtEtaPhiE4D.h.
|
inline |
Scale coordinate values by a scalar quantity a.
Definition at line 289 of file PtEtaPhiE4D.h.
|
inline |
Set internal data based on an array of 4 Scalar numbers.
Definition at line 87 of file PtEtaPhiE4D.h.
|
inline |
Set internal data based on 4 Scalar numbers.
Definition at line 99 of file PtEtaPhiE4D.h.
|
inline |
set E value
Definition at line 265 of file PtEtaPhiE4D.h.
|
inline |
set eta value
Definition at line 252 of file PtEtaPhiE4D.h.
|
inline |
set phi value
Definition at line 258 of file PtEtaPhiE4D.h.
|
inline |
set Pt value
Definition at line 246 of file PtEtaPhiE4D.h.
|
inline |
set values using cartesian coordinate system
Definition at line 368 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 120 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 326 of file PtEtaPhiE4D.h.
|
inline |
polar angle
Definition at line 239 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 125 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 323 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 127 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 324 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 132 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 325 of file PtEtaPhiE4D.h.
|
staticconstexpr |
Definition at line 59 of file PtEtaPhiE4D.h.
|
private |
Definition at line 348 of file PtEtaPhiE4D.h.
|
private |
Definition at line 346 of file PtEtaPhiE4D.h.
|
private |
Definition at line 347 of file PtEtaPhiE4D.h.
|
private |
Definition at line 345 of file PtEtaPhiE4D.h.