![]() |
ATLAS Offline Software
|
#include <P4PtEtaPhiMBase.h>
Public Types | |
| enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
| virtual | ~P4PtEtaPhiMBase () |
| virtual destructor needed by pool 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... | |
| 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... | |
| 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 | m () const =0 |
| mass More... | |
| virtual double | eta () const =0 |
| pseudo rapidity More... | |
| virtual double | phi () const =0 |
| phi in [-pi,pi[ More... | |
| virtual double | pt () const =0 |
| transverse momentum More... | |
P4PtEtaPhiMBase is a base class for classes with 4-momentum behavior, for which pt, eta, phi and M are natural parameters, which is typically the case for a ger object. Any class deriving from it should implement pt(), eta(), phi(), m().
Definition at line 25 of file P4PtEtaPhiMBase.h.
|
inherited |
| Enumerator | |
|---|---|
| P4EETAPHIM | |
| P4IPTCOTTHPHIM | |
| P4PTETAPHIM | |
| P4PXPYPZE | |
| UNKNOWN | |
Definition at line 33 of file I4Momentum.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Print I4Momentum content.
Implements I4Momentum.
Definition at line 147 of file P4PtEtaPhiMBase.cxx.
|
virtual |
|
virtual |
Access to errors, if available; returns 0 if no errors.
Implements I4Momentum.
Reimplemented in P4PtEtaPhiM.
Definition at line 162 of file P4PtEtaPhiMBase.cxx.
|
virtual |
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
Definition at line 101 of file P4PtEtaPhiMBase.cxx.
|
pure virtualinherited |
pseudo rapidity
Implemented in TileTrackMuFeature, CombinedMuonFeature, IsoMuonFeature, TrigMuonClusterFeature, 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 >, Muon_ROI, EmTau_ROI, Jet_ROI, P4PtEtaPhiM, P4EEtaPhiM, TrigT2Jet, P4IPtCotThPhiMBase, and P4PxPyPzEBase.
|
virtual |
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.
|
virtual |
inverse of transverse momentum
Implements I4Momentum.
Definition at line 106 of file P4PtEtaPhiMBase.cxx.
|
inlinevirtual |
tells what kind of P4XYZT this is
Implements I4Momentum.
Definition at line 64 of file P4PtEtaPhiMBase.h.
|
pure virtualinherited |
mass
Implemented in TileTrackMuFeature, CombinedMuonFeature, IsoMuonFeature, TrigMuonClusterFeature, CaloTower, CaloCell, CaloVertexedCell, CaloCluster, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Muon_ROI, EmTau_ROI, P4Impl< P4Mom_t >, Jet_ROI, P4PtEtaPhiM, P4EEtaPhiM, P4IPtCotThPhiM, TrigT2Jet, and P4PxPyPzEBase.
|
virtual |
|
virtual |
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.
|
virtual |
square of momentum magnitude
Implements I4Momentum.
Definition at line 40 of file P4PtEtaPhiMBase.cxx.
|
pure virtualinherited |
phi in [-pi,pi[
Implemented in TileTrackMuFeature, CombinedMuonFeature, IsoMuonFeature, TrigMuonClusterFeature, 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 >, Muon_ROI, EmTau_ROI, Jet_ROI, P4PtEtaPhiM, P4EEtaPhiM, P4IPtCotThPhiM, TrigT2Jet, and P4PxPyPzEBase.
|
pure virtualinherited |
transverse momentum
Implemented in TileTrackMuFeature, IsoMuonFeature, CombinedMuonFeature, TrigMuonClusterFeature, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, Muon_ROI, EmTau_ROI, Jet_ROI, P4PtEtaPhiM, P4IPtCotThPhiMBase, P4EEtaPhiMBase, and P4PxPyPzEBase.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
set all 4-mom from a CLHEP HepLorentzVector DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in P4PtEtaPhiM.
Definition at line 180 of file P4PtEtaPhiMBase.cxx.
|
virtual |
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in P4PtEtaPhiM.
Definition at line 167 of file P4PtEtaPhiMBase.cxx.
|
virtual |
set all 4-mom from another I4Momentum pointer DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in P4PtEtaPhiM.
Definition at line 173 of file P4PtEtaPhiMBase.cxx.
|
virtual |
|
virtual |
|
virtual |
1.8.18