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 52 of file PtEtaPhiE4D.h.
Public Types | |
typedef ScalarType | Scalar |
Public Member Functions | |
PtEtaPhiE4D () | |
Default constructor gives zero 4-vector. More... | |
template<class CoordSystem > | |
PtEtaPhiE4D (const CoordSystem &c) | |
Generic constructor from any 4D coordinate system implementing Pt(), Eta(), Phi() and E() More... | |
PtEtaPhiE4D (const PtEtaPhiE4D &v) | |
copy constructor More... | |
PtEtaPhiE4D (Scalar pt, Scalar eta, Scalar phi, Scalar e) | |
Constructor from pt, eta, phi, e values. More... | |
Scalar | E () const |
Scalar | Et () const |
transverse energy More... | |
Scalar | Et2 () const |
transverse energy squared More... | |
Scalar | Eta () const |
void | GetCoordinates (Scalar &pt, Scalar &eta, Scalar &phi, Scalar &e) const |
get internal data into 4 Scalar numbers More... | |
void | GetCoordinates (Scalar dest[]) const |
get internal data into an array of 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 PtEtaPhiE4D &rhs) const |
template<class CoordSystem > | |
PtEtaPhiE4D & | operator= (const CoordSystem &c) |
Assignment from a generic coordinate system implementing Pt(), Eta(), Phi() and E() More... | |
PtEtaPhiE4D & | operator= (const PtEtaPhiE4D &v) |
assignment operator More... | |
bool | operator== (const PtEtaPhiE4D &rhs) const |
Exact equality. More... | |
Scalar | P () const |
magnitude of momentum More... | |
Scalar | P2 () const |
squared magnitude of spatial components (momentum squared) More... | |
Scalar | Perp () const |
Scalar | Perp2 () const |
Scalar | Phi () const |
Scalar | Pt () const |
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 (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 pt, Scalar eta, Scalar phi, Scalar e) |
Set internal data based on 4 Scalar numbers. More... | |
void | SetE (Scalar e) |
set E value More... | |
void | SetEta (Scalar eta) |
set eta value More... | |
void | SetPhi (Scalar phi) |
set phi value More... | |
void | SetPt (Scalar pt) |
set Pt value More... | |
void | SetPxPyPzE (Scalar px, Scalar py, Scalar pz, Scalar e) |
set values using cartesian coordinate system 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 Member Functions | |
void | Restrict () |
Static Private Member Functions | |
static Scalar | pi () |
Private Attributes | |
ScalarType | fE |
ScalarType | fEta |
ScalarType | fPhi |
ScalarType | fPt |
#include <Math/GenVector/PtEtaPhiE4D.h>
typedef ScalarType ROOT::Math::PtEtaPhiE4D< ScalarType >::Scalar |
Definition at line 56 of file PtEtaPhiE4D.h.
|
inline |
Default constructor gives zero 4-vector.
Definition at line 63 of file PtEtaPhiE4D.h.
|
inline |
Constructor from pt, eta, phi, e values.
Definition at line 68 of file PtEtaPhiE4D.h.
|
inlineexplicit |
|
inline |
copy constructor
Definition at line 85 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 132 of file PtEtaPhiE4D.h.
|
inline |
|
inline |
transverse energy squared
Definition at line 231 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 130 of file PtEtaPhiE4D.h.
|
inline |
get internal data into 4 Scalar numbers
Definition at line 122 of file PtEtaPhiE4D.h.
|
inline |
get internal data into an array of 4 Scalar numbers
Definition at line 109 of file PtEtaPhiE4D.h.
|
inline |
invariant mass
Definition at line 181 of file PtEtaPhiE4D.h.
|
inline |
vector magnitude squared (or mass squared)
Definition at line 171 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 191 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 176 of file PtEtaPhiE4D.h.
|
inline |
transverse mass
Definition at line 207 of file PtEtaPhiE4D.h.
|
inline |
transverse mass squared
Definition at line 202 of file PtEtaPhiE4D.h.
|
inline |
negate the 4-vector
Definition at line 288 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 325 of file PtEtaPhiE4D.h.
|
inline |
|
inline |
assignment operator
Definition at line 91 of file PtEtaPhiE4D.h.
|
inline |
Exact equality.
Definition at line 321 of file PtEtaPhiE4D.h.
|
inline |
magnitude of momentum
Definition at line 152 of file PtEtaPhiE4D.h.
|
inline |
squared magnitude of spatial components (momentum squared)
Definition at line 162 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 134 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 197 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 131 of file PtEtaPhiE4D.h.
|
inlinestaticprivate |
Definition at line 238 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 129 of file PtEtaPhiE4D.h.
|
inline |
transverse spatial component squared
Definition at line 196 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 140 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 142 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 144 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 157 of file PtEtaPhiE4D.h.
|
inlineprivate |
Definition at line 239 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 135 of file PtEtaPhiE4D.h.
|
inline |
Scale coordinate values by a scalar quantity a.
Definition at line 297 of file PtEtaPhiE4D.h.
|
inline |
Set internal data based on an array of 4 Scalar numbers.
Definition at line 103 of file PtEtaPhiE4D.h.
|
inline |
Set internal data based on 4 Scalar numbers.
Definition at line 115 of file PtEtaPhiE4D.h.
|
inline |
set E value
Definition at line 273 of file PtEtaPhiE4D.h.
|
inline |
set eta value
Definition at line 260 of file PtEtaPhiE4D.h.
|
inline |
set phi value
Definition at line 266 of file PtEtaPhiE4D.h.
|
inline |
set Pt value
Definition at line 254 of file PtEtaPhiE4D.h.
|
inline |
set values using cartesian coordinate system
Definition at line 379 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 136 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 334 of file PtEtaPhiE4D.h.
|
inline |
polar angle
Definition at line 247 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 141 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 331 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 143 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 332 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 147 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 333 of file PtEtaPhiE4D.h.
|
private |
Definition at line 358 of file PtEtaPhiE4D.h.
|
private |
Definition at line 356 of file PtEtaPhiE4D.h.
|
private |
Definition at line 357 of file PtEtaPhiE4D.h.
|
private |
Definition at line 355 of file PtEtaPhiE4D.h.