ATLAS Offline Software
|
#include <P4PxPyPzEBase.h>
Public Types | |
enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
virtual | ~P4PxPyPzEBase () |
virtual destructor needed by pool 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 const I4MomentumError * | errors () const |
Access to errors, if available; returns 0 if no errors. More... | |
virtual void | set4Mom (const I4Momentum &theI4Mom) |
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION More... | |
virtual void | set4Mom (const I4Momentum *const theI4Mom) |
set all 4-mom from another I4Momentum pointer DUMMY IMPLEMENTATION More... | |
virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv) |
set all 4-mom from a CLHEP HepLorentzVector DUMMY IMPLEMENTATION 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... | |
virtual double | px () const =0 |
x component of momentum More... | |
virtual double | py () const =0 |
y component of momentum More... | |
virtual double | pz () const =0 |
z component of momentum More... | |
virtual double | e () const =0 |
energy More... | |
P4PxPyPzEBase is a base class for classes with 4-momentum behavior, for which Px, Py, Pz and M are natural parameters. Any class deriving from it should implement px(), py(), pz(), e().
Definition at line 24 of file P4PxPyPzEBase.h.
|
inherited |
Enumerator | |
---|---|
P4EETAPHIM | |
P4IPTCOTTHPHIM | |
P4PTETAPHIM | |
P4PXPYPZE | |
UNKNOWN |
Definition at line 33 of file I4Momentum.h.
|
virtual |
|
virtual |
cosinus phi
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 77 of file P4PxPyPzEBase.cxx.
|
virtual |
cosinus theta
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 98 of file P4PxPyPzEBase.cxx.
|
virtual |
cottan theta
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 92 of file P4PxPyPzEBase.cxx.
|
virtual |
Print I4Momentum
content.
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, and Rec::TrackParticle.
Definition at line 152 of file P4PxPyPzEBase.cxx.
|
pure virtualinherited |
energy
Implemented in CaloTower, CaloCell, CaloVertexedCell, CaloCluster, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4PxPyPzE, TrigT2Jet, P4EEtaPhiM, P4PtEtaPhiMBase, and P4IPtCotThPhiMBase.
|
virtual |
Access to errors, if available; returns 0 if no errors.
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, and P4PxPyPzE.
Definition at line 169 of file P4PxPyPzEBase.cxx.
|
virtual |
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.
|
virtual |
pseudo rapidity
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 32 of file P4PxPyPzEBase.cxx.
|
virtual |
CLHEP HepLorentzVector.
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 147 of file P4PxPyPzEBase.cxx.
|
virtual |
inverse of transverse momentum
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 131 of file P4PxPyPzEBase.cxx.
|
inlinevirtual |
tells what kind of P4XYZT this is
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 59 of file P4PxPyPzEBase.h.
|
virtual |
mass
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 25 of file P4PxPyPzEBase.cxx.
|
virtual |
mass squared
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 14 of file P4PxPyPzEBase.cxx.
|
virtual |
momentum magnitude
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 68 of file P4PxPyPzEBase.cxx.
|
virtual |
square of momentum magnitude
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 59 of file P4PxPyPzEBase.cxx.
|
virtual |
phi in [-pi,pi[
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 50 of file P4PxPyPzEBase.cxx.
|
virtual |
transverse momentum
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 114 of file P4PxPyPzEBase.cxx.
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
virtual |
rapidity
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 136 of file P4PxPyPzEBase.cxx.
|
virtual |
set all 4-mom from a CLHEP HepLorentzVector DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, Rec::TrackParticle, and P4PxPyPzE.
Definition at line 188 of file P4PxPyPzEBase.cxx.
|
virtual |
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, Rec::TrackParticle, and P4PxPyPzE.
Definition at line 175 of file P4PxPyPzEBase.cxx.
|
virtual |
set all 4-mom from another I4Momentum pointer DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >, Rec::TrackParticle, and P4PxPyPzE.
Definition at line 181 of file P4PxPyPzEBase.cxx.
|
virtual |
sinus phi
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 82 of file P4PxPyPzEBase.cxx.
|
virtual |
sinus theta
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 106 of file P4PxPyPzEBase.cxx.
|
virtual |
tan theta
Implements I4Momentum.
Reimplemented in Nav4MomWrapper< Navigable_t, P4Momentum_t >.
Definition at line 87 of file P4PxPyPzEBase.cxx.