ATLAS Offline Software
|
#include <P4PtEtaPhiM.h>
Public Types | |
enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
P4PtEtaPhiM (const double pt, const double eta, const double phi, const double m) | |
constructor with all data members More... | |
P4PtEtaPhiM () | |
default constructor More... | |
P4PtEtaPhiM (const CLHEP::HepLorentzVector &theHlv) | |
constructor from hlv to allow conversion from hlv More... | |
P4PtEtaPhiM (const I4Momentum &theI4M) | |
constructor from any 4Momentum reference More... | |
P4PtEtaPhiM (const I4Momentum *const pI4M) | |
constructor from any 4Momentum pointer More... | |
virtual double | pt () const |
get pt data member More... | |
virtual double | eta () const |
get eta data member More... | |
virtual double | phi () const |
get phi data member More... | |
virtual double | m () const |
get mass data member More... | |
virtual void | setPt (double thePt) |
set pt data member More... | |
virtual void | setEta (double theEta) |
set eta data member More... | |
virtual void | setPhi (double thePhi) |
set phi data member More... | |
virtual void | setM (double theM) |
set mass 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 a CLHEP HepLorentzVector More... | |
virtual const I4MomentumError * | errors () const |
Access to errors, if available; returns 0 if no errors. More... | |
virtual double | px () const |
x component of momentum More... | |
virtual double | py () const |
y component of momentum More... | |
virtual double | pz () const |
z component of momentum More... | |
virtual double | e () const |
energy More... | |
virtual double | p () const |
magnitude of 3-momentum. More... | |
virtual double | p2 () const |
square of momentum magnitude More... | |
virtual double | m2 () const |
mass squared 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 | cotTh () const |
cottan theta More... | |
virtual double | cosTh () const |
cosinus theta More... | |
virtual double | sinTh () const |
sinus theta More... | |
virtual double | tanTh () const |
tan theta More... | |
virtual CLHEP::HepLorentzVector | hlv () const |
HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same More... | |
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_pt |
double | m_eta |
double | m_phi |
double | m_m |
P4PtEtaPhiM is a class with 4-momentum behavior, for which Pt, Eta, Phi and M are data members.
Definition at line 24 of file P4PtEtaPhiM.h.
|
inherited |
Enumerator | |
---|---|
P4EETAPHIM | |
P4IPTCOTTHPHIM | |
P4PTETAPHIM | |
P4PXPYPZE | |
UNKNOWN |
Definition at line 33 of file I4Momentum.h.
|
inline |
|
inline |
constructor from hlv to allow conversion from hlv
Definition at line 91 of file P4PtEtaPhiM.h.
|
inline |
|
inline |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
Print I4Momentum
content.
Implements I4Momentum.
Definition at line 147 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
|
virtual |
Access to errors, if available; returns 0 if no errors.
Reimplemented from P4PtEtaPhiMBase.
Definition at line 7 of file P4PtEtaPhiM.cxx.
|
virtualinherited |
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
Definition at line 101 of file P4PtEtaPhiMBase.cxx.
|
inlinevirtual |
|
virtualinherited |
HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same
Implements I4Momentum.
Definition at line 128 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
inverse of transverse momentum
Implements I4Momentum.
Definition at line 106 of file P4PtEtaPhiMBase.cxx.
|
inlinevirtualinherited |
tells what kind of P4XYZT this is
Implements I4Momentum.
Definition at line 64 of file P4PtEtaPhiMBase.h.
|
inlinevirtual |
|
virtualinherited |
|
virtualinherited |
magnitude of 3-momentum.
Special implementation from Frank Paige : if negative energy p is negative but eta and phi still the same.
Implements I4Momentum.
Definition at line 27 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
square of momentum magnitude
Implements I4Momentum.
Definition at line 40 of file P4PtEtaPhiMBase.cxx.
|
inlinevirtual |
|
inlinevirtual |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
inlinevirtual |
set all 4-mom from a CLHEP HepLorentzVector
Reimplemented from P4PtEtaPhiMBase.
Definition at line 140 of file P4PtEtaPhiM.h.
|
inlinevirtual |
set all 4-mom from another I4Momentum reference
Reimplemented from P4PtEtaPhiMBase.
Definition at line 127 of file P4PtEtaPhiM.h.
|
inlinevirtual |
set all 4-mom from another I4Momentum pointer
Reimplemented from P4PtEtaPhiMBase.
Definition at line 135 of file P4PtEtaPhiM.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
protected |
Definition at line 77 of file P4PtEtaPhiM.h.
|
protected |
Definition at line 79 of file P4PtEtaPhiM.h.
|
protected |
Definition at line 78 of file P4PtEtaPhiM.h.
|
protected |
Definition at line 76 of file P4PtEtaPhiM.h.