![]() |
ROOT
6.06/09
Reference Guide
|
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 58 of file PtEtaPhiE4D.h.
Public Types | |
| typedef ScalarType | Scalar |
Public Member Functions | |
| PtEtaPhiE4D () | |
| Default constructor gives zero 4-vector. More... | |
| PtEtaPhiE4D (Scalar pt, Scalar eta, Scalar phi, Scalar e) | |
| Constructor from pt, eta, phi, e values. 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 & | operator= (const PtEtaPhiE4D &v) |
| assignment operator More... | |
| void | SetCoordinates (const Scalar src[]) |
| Set internal data based on an array of 4 Scalar numbers. More... | |
| void | GetCoordinates (Scalar dest[]) const |
| get internal data into 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 | GetCoordinates (Scalar &pt, Scalar &eta, Scalar &phi, Scalar &e) const |
| get internal data into 4 Scalar numbers More... | |
| Scalar | Pt () const |
| Scalar | Eta () const |
| Scalar | Phi () const |
| Scalar | E () const |
| Scalar | Perp () const |
| Scalar | Rho () const |
| Scalar | T () const |
| Scalar | Px () const |
| Scalar | X () const |
| Scalar | Py () const |
| Scalar | Y () const |
| Scalar | Pz () const |
| Scalar | Z () const |
| Scalar | P () const |
| magnitude of momentum More... | |
| Scalar | R () const |
| Scalar | P2 () const |
| squared magnitude of spatial components (momentum squared) More... | |
| Scalar | M2 () const |
| vector magnitude squared (or mass squared) More... | |
| Scalar | Mag2 () const |
| Scalar | M () const |
| invariant mass More... | |
| Scalar | Mag () const |
| Scalar | Pt2 () const |
| transverse spatial component squared More... | |
| Scalar | Perp2 () const |
| Scalar | Mt2 () const |
| transverse mass squared More... | |
| Scalar | Mt () const |
| transverse mass More... | |
| Scalar | Et () const |
| transverse energy More... | |
| Scalar | Et2 () const |
| transverse energy squared More... | |
| Scalar | Theta () const |
| polar angle More... | |
| void | SetPt (Scalar pt) |
| set Pt value More... | |
| void | SetEta (Scalar eta) |
| set eta value More... | |
| void | SetPhi (Scalar phi) |
| set phi value More... | |
| void | SetE (Scalar e) |
| set E value More... | |
| void | SetPxPyPzE (Scalar px, Scalar py, Scalar pz, Scalar e) |
| set values using cartesian coordinate system More... | |
| void | Negate () |
| negate the 4-vector More... | |
| void | Scale (Scalar a) |
| Scale coordinate values by a scalar quantity a. More... | |
| template<class CoordSystem > | |
| PtEtaPhiE4D & | operator= (const CoordSystem &c) |
| Assignment from a generic coordinate system implementing Pt(), Eta(), Phi() and E() More... | |
| bool | operator== (const PtEtaPhiE4D &rhs) const |
| Exact equality. More... | |
| bool | operator!= (const PtEtaPhiE4D &rhs) const |
| Scalar | x () const |
| Scalar | y () const |
| Scalar | z () const |
| Scalar | t () const |
Private Member Functions | |
| void | Restrict () |
Static Private Member Functions | |
| static Scalar | pi () |
Private Attributes | |
| ScalarType | fPt |
| ScalarType | fEta |
| ScalarType | fPhi |
| ScalarType | fE |
#include <Math/GenVector/PtEtaPhiE4D.h>
| typedef ScalarType ROOT::Math::PtEtaPhiE4D< ScalarType >::Scalar |
Definition at line 62 of file PtEtaPhiE4D.h.
|
inline |
Default constructor gives zero 4-vector.
Definition at line 69 of file PtEtaPhiE4D.h.
|
inline |
Constructor from pt, eta, phi, e values.
Definition at line 74 of file PtEtaPhiE4D.h.
|
inlineexplicit |
|
inline |
copy constructor
Definition at line 91 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 138 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::T(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::t().
|
inline |
transverse energy
transverse energy
Definition at line 226 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Et2().
|
inline |
transverse energy squared
Definition at line 233 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 136 of file PtEtaPhiE4D.h.
|
inline |
get internal data into an array of 4 Scalar numbers
Definition at line 115 of file PtEtaPhiE4D.h.
|
inline |
get internal data into 4 Scalar numbers
Definition at line 128 of file PtEtaPhiE4D.h.
|
inline |
invariant mass
Definition at line 183 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Mag().
|
inline |
vector magnitude squared (or mass squared)
Definition at line 177 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::M(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::Mag2().
|
inline |
Definition at line 193 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 178 of file PtEtaPhiE4D.h.
|
inline |
transverse mass
Definition at line 209 of file PtEtaPhiE4D.h.
|
inline |
transverse mass squared
Definition at line 204 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Mt().
|
inline |
negate the 4-vector
Definition at line 293 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Scale().
|
inline |
Definition at line 330 of file PtEtaPhiE4D.h.
|
inline |
assignment operator
Definition at line 97 of file PtEtaPhiE4D.h.
|
inline |
|
inline |
Exact equality.
Definition at line 326 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::operator!=().
|
inline |
magnitude of momentum
Definition at line 161 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::M2(), ROOT::Math::PtEtaPhiE4D< ScalarType >::P2(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::R().
|
inline |
squared magnitude of spatial components (momentum squared)
Definition at line 172 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 140 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 199 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 137 of file PtEtaPhiE4D.h.
|
inlinestaticprivate |
Definition at line 237 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Negate(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Restrict(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::Theta().
|
inline |
Definition at line 135 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Perp(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::Rho().
|
inline |
transverse spatial component squared
Definition at line 198 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Perp2().
|
inline |
Definition at line 146 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::X().
|
inline |
Definition at line 148 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Y().
|
inline |
Definition at line 150 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Mt2(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::Z().
|
inline |
Definition at line 167 of file PtEtaPhiE4D.h.
|
inlineprivate |
Definition at line 238 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::PtEtaPhiE4D(), ROOT::Math::PtEtaPhiE4D< ScalarType >::SetCoordinates(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::SetPhi().
|
inline |
Definition at line 141 of file PtEtaPhiE4D.h.
|
inline |
Scale coordinate values by a scalar quantity a.
Definition at line 302 of file PtEtaPhiE4D.h.
|
inline |
Set internal data based on an array of 4 Scalar numbers.
Definition at line 109 of file PtEtaPhiE4D.h.
|
inline |
Set internal data based on 4 Scalar numbers.
Definition at line 121 of file PtEtaPhiE4D.h.
|
inline |
set E value
Definition at line 278 of file PtEtaPhiE4D.h.
|
inline |
set eta value
Definition at line 265 of file PtEtaPhiE4D.h.
|
inline |
set phi value
Definition at line 271 of file PtEtaPhiE4D.h.
|
inline |
set Pt value
Definition at line 259 of file PtEtaPhiE4D.h.
|
inline |
set values using cartesian coordinate system
Definition at line 388 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 142 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 339 of file PtEtaPhiE4D.h.
|
inline |
polar angle
Definition at line 248 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 147 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::x().
|
inline |
Definition at line 336 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 149 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::y().
|
inline |
Definition at line 337 of file PtEtaPhiE4D.h.
|
inline |
Definition at line 156 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::z().
|
inline |
Definition at line 338 of file PtEtaPhiE4D.h.
|
private |
Definition at line 363 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::E(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Et(), ROOT::Math::PtEtaPhiE4D< ScalarType >::GetCoordinates(), ROOT::Math::PtEtaPhiE4D< ScalarType >::M2(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Mt2(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Negate(), ROOT::Math::PtEtaPhiE4D< ScalarType >::operator=(), ROOT::Math::PtEtaPhiE4D< ScalarType >::operator==(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Scale(), ROOT::Math::PtEtaPhiE4D< ScalarType >::SetCoordinates(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::SetE().
|
private |
Definition at line 361 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::Et(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Eta(), ROOT::Math::PtEtaPhiE4D< ScalarType >::GetCoordinates(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Negate(), ROOT::Math::PtEtaPhiE4D< ScalarType >::operator=(), ROOT::Math::PtEtaPhiE4D< ScalarType >::operator==(), ROOT::Math::PtEtaPhiE4D< ScalarType >::P(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Pz(), ROOT::Math::PtEtaPhiE4D< ScalarType >::SetCoordinates(), ROOT::Math::PtEtaPhiE4D< ScalarType >::SetEta(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::Theta().
|
private |
Definition at line 362 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::GetCoordinates(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Negate(), ROOT::Math::PtEtaPhiE4D< ScalarType >::operator=(), ROOT::Math::PtEtaPhiE4D< ScalarType >::operator==(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Phi(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Px(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Py(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Restrict(), ROOT::Math::PtEtaPhiE4D< ScalarType >::SetCoordinates(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::SetPhi().
|
private |
Definition at line 360 of file PtEtaPhiE4D.h.
Referenced by ROOT::Math::PtEtaPhiE4D< ScalarType >::GetCoordinates(), ROOT::Math::PtEtaPhiE4D< ScalarType >::operator=(), ROOT::Math::PtEtaPhiE4D< ScalarType >::operator==(), ROOT::Math::PtEtaPhiE4D< ScalarType >::P(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Pt(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Pt2(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Px(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Py(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Pz(), ROOT::Math::PtEtaPhiE4D< ScalarType >::Scale(), ROOT::Math::PtEtaPhiE4D< ScalarType >::SetCoordinates(), ROOT::Math::PtEtaPhiE4D< ScalarType >::SetPt(), and ROOT::Math::PtEtaPhiE4D< ScalarType >::Theta().