ATLAS Offline Software
|
#include <P4PxPyPzE.h>
Public Types | |
enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
P4PxPyPzE (const double px, const double py, const double pz, const double e) | |
constructor with all data members More... | |
P4PxPyPzE (const CLHEP::HepLorentzVector &theHlv) | |
constructor from hlv to allow conversion from hlv More... | |
P4PxPyPzE (const I4Momentum &theI4M) | |
constructor from any I4Momentum reference More... | |
P4PxPyPzE (const I4Momentum *const theI4M) | |
constructor from any I4Momentum pointer More... | |
P4PxPyPzE () | |
default constructor More... | |
virtual double | px () const |
get px data member More... | |
virtual double | py () const |
get py data member More... | |
virtual double | pz () const |
get pz data member More... | |
virtual double | e () const |
get energy data member More... | |
virtual void | setPx (double thePx) |
set Px data member More... | |
virtual void | setPy (double thePy) |
set Py data member More... | |
virtual void | setPz (double thePz) |
set Pz data member More... | |
virtual void | setE (double theE) |
set energy data member More... | |
virtual void | set4Mom (const I4Momentum &theI4Mom) |
set all 4-mom from another I4Momentum reference More... | |
virtual void | set4Mom (const I4Momentum *const theI4Mom) |
set all 4-mom from another I4Momentum pointer More... | |
virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv) |
set all 4-mom from CLHEP HepLorentzVector More... | |
virtual const I4MomentumError * | errors () const |
Access to errors, if available; returns 0 if no errors. More... | |
double | pxi () const |
Experimental : inlined function to get px without going through virtual inheritance. More... | |
double | pyi () const |
Experimental : inlined function to get py without going through virtual inheritance. More... | |
double | pzi () const |
Experimental : inlined function to get pz without going through virtual inheritance. More... | |
double | ei () const |
Experimental : inlined function to get e without going through virtual inheritance. More... | |
double | pti () const |
Experimental : inlined function to get pt without going through virtual inheritance. More... | |
virtual double | m () const |
mass More... | |
virtual double | m2 () const |
mass squared More... | |
virtual double | eta () const |
pseudo rapidity More... | |
virtual double | phi () const |
phi in [-pi,pi[ More... | |
virtual double | p () const |
momentum magnitude More... | |
virtual double | p2 () const |
square of momentum magnitude More... | |
virtual double | pt () const |
transverse momentum More... | |
virtual double | et () const |
transverse energy defined to be e*sin(theta) More... | |
virtual double | iPt () const |
inverse of transverse momentum More... | |
virtual double | rapidity () const |
rapidity More... | |
virtual double | cosPhi () const |
cosinus phi More... | |
virtual double | sinPhi () const |
sinus phi More... | |
virtual double | tanTh () const |
tan theta More... | |
virtual double | cotTh () const |
cottan theta More... | |
virtual double | cosTh () const |
cosinus theta More... | |
virtual double | sinTh () const |
sinus theta More... | |
virtual CLHEP::HepLorentzVector | hlv () const |
CLHEP HepLorentzVector. More... | |
virtual I4Momentum::Kind | kind () const |
tells what kind of P4XYZT this is More... | |
virtual std::ostream & | dump (std::ostream &out) const |
Print I4Momentum content. More... | |
Protected Attributes | |
double | m_px |
double | m_py |
double | m_pz |
double | m_e |
P4PxPyPzE is a class with 4-momentum behavior, for which Px, Py, Pz and M are data members.
Definition at line 28 of file P4PxPyPzE.h.
|
inherited |
Enumerator | |
---|---|
P4EETAPHIM | |
P4IPTCOTTHPHIM | |
P4PTETAPHIM | |
P4PXPYPZE | |
UNKNOWN |
Definition at line 33 of file I4Momentum.h.
|
inline |
constructor from hlv to allow conversion from hlv
Definition at line 109 of file P4PxPyPzE.h.
|
inline |
|
inline |
|
inline |
|
virtualinherited |
cosinus phi
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 77 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
cosinus theta
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 98 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
cottan theta
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 92 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
Print I4Momentum
content.
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, and Rec::TrackParticle.
Definition at line 152 of file P4PxPyPzEBase.cxx.
|
inlinevirtual |
get energy data member
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 132 of file P4PxPyPzE.h.
|
inline |
Experimental : inlined function to get e without going through virtual inheritance.
Definition at line 179 of file P4PxPyPzE.h.
|
virtual |
Access to errors, if available; returns 0 if no errors.
Reimplemented from P4PxPyPzEBase.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 7 of file P4PxPyPzE.cxx.
|
virtualinherited |
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 125 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
pseudo rapidity
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 32 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
CLHEP HepLorentzVector.
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 147 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
inverse of transverse momentum
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 131 of file P4PxPyPzEBase.cxx.
|
inlinevirtualinherited |
tells what kind of P4XYZT this is
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 59 of file P4PxPyPzEBase.h.
|
virtualinherited |
mass
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 25 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
mass squared
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 14 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
momentum magnitude
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 68 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
square of momentum magnitude
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 59 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
phi in [-pi,pi[
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 50 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
transverse momentum
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 114 of file P4PxPyPzEBase.cxx.
|
inline |
Experimental : inlined function to get pt without going through virtual inheritance.
Definition at line 182 of file P4PxPyPzE.h.
|
inlinevirtual |
get px data member
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 122 of file P4PxPyPzE.h.
|
inline |
Experimental : inlined function to get px without going through virtual inheritance.
Definition at line 170 of file P4PxPyPzE.h.
|
inlinevirtual |
get py data member
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 126 of file P4PxPyPzE.h.
|
inline |
Experimental : inlined function to get py without going through virtual inheritance.
Definition at line 173 of file P4PxPyPzE.h.
|
inlinevirtual |
get pz data member
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 129 of file P4PxPyPzE.h.
|
inline |
Experimental : inlined function to get pz without going through virtual inheritance.
Definition at line 176 of file P4PxPyPzE.h.
|
virtualinherited |
rapidity
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 136 of file P4PxPyPzEBase.cxx.
|
inlinevirtual |
set all 4-mom from CLHEP HepLorentzVector
Reimplemented from P4PxPyPzEBase.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, and Rec::TrackParticle.
Definition at line 161 of file P4PxPyPzE.h.
|
inlinevirtual |
set all 4-mom from another I4Momentum reference
Reimplemented from P4PxPyPzEBase.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, and Rec::TrackParticle.
Definition at line 147 of file P4PxPyPzE.h.
|
inlinevirtual |
set all 4-mom from another I4Momentum pointer
Reimplemented from P4PxPyPzEBase.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, and Rec::TrackParticle.
Definition at line 155 of file P4PxPyPzE.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtualinherited |
sinus phi
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 82 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
sinus theta
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 106 of file P4PxPyPzEBase.cxx.
|
virtualinherited |
tan theta
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 87 of file P4PxPyPzEBase.cxx.
|
protected |
Definition at line 92 of file P4PxPyPzE.h.
|
protected |
Definition at line 89 of file P4PxPyPzE.h.
|
protected |
Definition at line 90 of file P4PxPyPzE.h.
|
protected |
Definition at line 91 of file P4PxPyPzE.h.