ROOT 6.13/01 Reference Guide |
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 42 of file PxPyPzE4D.h.
Public Types | |
typedef ScalarType | Scalar |
Public Member Functions | |
PxPyPzE4D () | |
Default constructor with x=y=z=t=0. More... | |
PxPyPzE4D (Scalar px, Scalar py, Scalar pz, Scalar e) | |
Constructor from x, y , z , t values. More... | |
template<class CoordSystem > | |
PxPyPzE4D (const CoordSystem &v) | |
construct from any vector or coordinate system class implementing x(), y() and z() and t() More... | |
PxPyPzE4D (const PxPyPzE4D &v) | |
copy constructor More... | |
Scalar | E () const |
Scalar | Et () const |
transverse energy More... | |
Scalar | Et2 () const |
transverse energy squared More... | |
Scalar | Eta () const |
pseudorapidity More... | |
void | GetCoordinates (Scalar dest[]) const |
get internal data into an array of 4 Scalar numbers More... | |
void | GetCoordinates (Scalar &px, Scalar &py, Scalar &pz, Scalar &e) const |
get internal data into 4 Scalar numbers More... | |
Scalar | M () const |
invariant mass More... | |
Scalar | M2 () const |
vector magnitude squared (or mass squared) More... | |
Scalar | Mag () const |
Scalar | Mag2 () const |
Scalar | Mt () const |
transverse mass More... | |
Scalar | Mt2 () const |
transverse mass squared More... | |
void | Negate () |
negate the 4-vector More... | |
bool | operator!= (const PxPyPzE4D &rhs) const |
PxPyPzE4D & | operator= (const PxPyPzE4D &v) |
assignment operator More... | |
template<class AnyCoordSystem > | |
PxPyPzE4D & | operator= (const AnyCoordSystem &v) |
Assignment from a generic coordinate system implementing x(), y(), z() and t() More... | |
bool | operator== (const PxPyPzE4D &rhs) const |
Exact equality. More... | |
Scalar | P () const |
magnitude of spatial components (magnitude of 3-momentum) More... | |
Scalar | P2 () const |
squared magnitude of spatial components More... | |
Scalar | Perp () const |
Scalar | Perp2 () const |
Scalar | Phi () const |
azimuthal angle More... | |
Scalar | Pt () const |
Transverse spatial component (P_perp or rho) More... | |
Scalar | Pt2 () const |
transverse spatial component squared More... | |
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 More... | |
void | SetCoordinates (const Scalar src[]) |
Set internal data based on an array of 4 Scalar numbers. More... | |
void | SetCoordinates (Scalar px, Scalar py, Scalar pz, Scalar e) |
Set internal data based on 4 Scalar numbers. More... | |
void | SetE (Scalar e) |
set T value More... | |
void | SetPx (Scalar px) |
set X value More... | |
void | SetPxPyPzE (Scalar px, Scalar py, Scalar pz, Scalar e) |
set all values using cartesian coordinates More... | |
void | SetPy (Scalar py) |
set Y value More... | |
void | SetPz (Scalar pz) |
set Z value More... | |
Scalar | T () const |
Scalar | t () const |
Scalar | Theta () const |
polar angle More... | |
Scalar | X () const |
Scalar | x () const |
Scalar | Y () const |
Scalar | y () const |
Scalar | Z () const |
Scalar | z () const |
Private Attributes | |
ScalarType | fT |
ScalarType | fX |
(contigous) data containing the coordinate values x,y,z,t More... | |
ScalarType | fY |
ScalarType | fZ |
#include <Math/GenVector/PxPyPzE4D.h>
typedef ScalarType ROOT::Math::PxPyPzE4D< ScalarType >::Scalar |
Definition at line 46 of file PxPyPzE4D.h.
|
inline |
Default constructor with x=y=z=t=0.
Definition at line 53 of file PxPyPzE4D.h.
|
inline |
Constructor from x, y , z , t values.
Definition at line 59 of file PxPyPzE4D.h.
|
inlineexplicit |
|
inline |
copy constructor
Definition at line 76 of file PxPyPzE4D.h.
|
inline |
Definition at line 121 of file PxPyPzE4D.h.
|
inline |
transverse energy
Definition at line 207 of file PxPyPzE4D.h.
|
inline |
transverse energy squared
Definition at line 198 of file PxPyPzE4D.h.
|
inline |
pseudorapidity
Definition at line 225 of file PxPyPzE4D.h.
|
inline |
get internal data into an array of 4 Scalar numbers
Definition at line 99 of file PxPyPzE4D.h.
|
inline |
get internal data into 4 Scalar numbers
Definition at line 111 of file PxPyPzE4D.h.
|
inline |
invariant mass
Definition at line 150 of file PxPyPzE4D.h.
|
inline |
vector magnitude squared (or mass squared)
Definition at line 144 of file PxPyPzE4D.h.
|
inline |
Definition at line 161 of file PxPyPzE4D.h.
|
inline |
Definition at line 145 of file PxPyPzE4D.h.
|
inline |
transverse mass
Definition at line 184 of file PxPyPzE4D.h.
|
inline |
transverse mass squared
Definition at line 179 of file PxPyPzE4D.h.
|
inline |
negate the 4-vector
Definition at line 274 of file PxPyPzE4D.h.
|
inline |
Definition at line 305 of file PxPyPzE4D.h.
|
inline |
assignment operator
Definition at line 82 of file PxPyPzE4D.h.
|
inline |
|
inline |
Exact equality.
Definition at line 302 of file PxPyPzE4D.h.
|
inline |
magnitude of spatial components (magnitude of 3-momentum)
Definition at line 138 of file PxPyPzE4D.h.
|
inline |
squared magnitude of spatial components
Definition at line 133 of file PxPyPzE4D.h.
|
inline |
Definition at line 173 of file PxPyPzE4D.h.
|
inline |
Definition at line 167 of file PxPyPzE4D.h.
|
inline |
azimuthal angle
Definition at line 215 of file PxPyPzE4D.h.
|
inline |
Transverse spatial component (P_perp or rho)
Definition at line 172 of file PxPyPzE4D.h.
|
inline |
transverse spatial component squared
Definition at line 166 of file PxPyPzE4D.h.
|
inline |
Definition at line 118 of file PxPyPzE4D.h.
|
inline |
Definition at line 119 of file PxPyPzE4D.h.
|
inline |
Definition at line 120 of file PxPyPzE4D.h.
|
inline |
Definition at line 139 of file PxPyPzE4D.h.
|
inline |
Definition at line 174 of file PxPyPzE4D.h.
|
inline |
scale coordinate values by a scalar quantity a
Definition at line 279 of file PxPyPzE4D.h.
|
inline |
Set internal data based on an array of 4 Scalar numbers.
Definition at line 93 of file PxPyPzE4D.h.
|
inline |
Set internal data based on 4 Scalar numbers.
Definition at line 105 of file PxPyPzE4D.h.
|
inline |
set T value
Definition at line 253 of file PxPyPzE4D.h.
|
inline |
set X value
Definition at line 235 of file PxPyPzE4D.h.
|
inline |
set all values using cartesian coordinates
Definition at line 260 of file PxPyPzE4D.h.
|
inline |
set Y value
Definition at line 241 of file PxPyPzE4D.h.
|
inline |
set Z value
Definition at line 247 of file PxPyPzE4D.h.
|
inline |
Definition at line 126 of file PxPyPzE4D.h.
|
inline |
Definition at line 315 of file PxPyPzE4D.h.
|
inline |
polar angle
Definition at line 220 of file PxPyPzE4D.h.
|
inline |
Definition at line 123 of file PxPyPzE4D.h.
|
inline |
Definition at line 312 of file PxPyPzE4D.h.
|
inline |
Definition at line 124 of file PxPyPzE4D.h.
|
inline |
Definition at line 313 of file PxPyPzE4D.h.
|
inline |
Definition at line 125 of file PxPyPzE4D.h.
|
inline |
Definition at line 314 of file PxPyPzE4D.h.
|
private |
Definition at line 342 of file PxPyPzE4D.h.
|
private |
(contigous) data containing the coordinate values x,y,z,t
Definition at line 339 of file PxPyPzE4D.h.
|
private |
Definition at line 340 of file PxPyPzE4D.h.
|
private |
Definition at line 341 of file PxPyPzE4D.h.