ATLAS Offline Software
|
#include <I4Momentum.h>
Inherited by INavigable4Momentum [virtual]
, P4EEtaPhiMBase [virtual]
, P4Impl< P4Mom_t > [virtual]
, P4Impl< P4ImplEEtaPhiM > [virtual]
, P4Impl< P4ImplIPtCotThPhiM > [virtual]
, P4Impl< P4ImplPtEtaPhiM > [virtual]
, P4Impl< P4ImplPxPyPzE > [virtual]
, P4IPtCotThPhiMBase [virtual]
, P4PtEtaPhiMBase [virtual]
, and P4PxPyPzEBase [virtual]
.
Public Types | |
enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
virtual | ~I4Momentum () |
virtual destructor needed 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 | m () const =0 |
mass More... | |
virtual double | m2 () const =0 |
mass squared More... | |
virtual double | p () const =0 |
momentum magnitude More... | |
virtual double | p2 () const =0 |
square of momentum magnitude More... | |
virtual double | eta () const =0 |
pseudo rapidity More... | |
virtual double | rapidity () const =0 |
rapidity More... | |
virtual double | phi () const =0 |
phi in [-pi,pi[ More... | |
virtual double | e () const =0 |
energy More... | |
virtual double | et () const =0 |
transverse energy defined to be e*sin(theta) More... | |
virtual double | pt () const =0 |
transverse momentum More... | |
virtual double | iPt () const =0 |
inverse of transverse momentum More... | |
virtual double | cosPhi () const =0 |
cosinus phi More... | |
virtual double | sinPhi () const =0 |
sinus phi More... | |
virtual double | cosTh () const =0 |
cosinus theta More... | |
virtual double | sinTh () const =0 |
sinus theta More... | |
virtual double | cotTh () const =0 |
cottan theta More... | |
virtual double | tanTh () const =0 |
tan theta More... | |
virtual CLHEP::HepLorentzVector | hlv () const =0 |
CLHEP HepLorentzVector. More... | |
virtual const I4MomentumError * | errors () const =0 |
Access to errors, if available; returns 0 if no errors. More... | |
virtual Kind | kind () const =0 |
tells what kind of P4XYZT this is More... | |
virtual void | set4Mom (const I4Momentum *const theI4Mom)=0 |
set 4Momentum (will throw exception if cannot be implemented) More... | |
virtual void | set4Mom (const I4Momentum &theI4Mom)=0 |
set 4Momentum (will throw exception if cannot be implemented) More... | |
virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv)=0 |
set 4Momentum (will throw exception if cannot be implemented) More... | |
virtual std::ostream & | dump (std::ostream &out) const =0 |
Print I4Momentum content. More... | |
I4Momentum is an abstract base class providing 4-momentum behavior. Concrete base classes and some implementation are provided in package Event/FourMom
I4MomentumError is an abstract base class providing errors (uncertainties) for 4-momentum classes. Concrete base classes and some implementation are provided in package Event/FourMom
Definition at line 30 of file I4Momentum.h.
enum I4Momentum::Kind |
Enumerator | |
---|---|
P4EETAPHIM | |
P4IPTCOTTHPHIM | |
P4PTETAPHIM | |
P4PXPYPZE | |
UNKNOWN |
Definition at line 33 of file I4Momentum.h.
|
virtual |
|
pure virtual |
cosinus phi
Implemented in CaloCell, CaloVertexedCell, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4IPtCotThPhiMBase, P4EEtaPhiMBase, P4PtEtaPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
cosinus theta
Implemented in CaloCell, CaloVertexedCell, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4IPtCotThPhiMBase, P4EEtaPhiMBase, P4PtEtaPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
|
pure virtual |
Print I4Momentum
content.
Implemented in P4EEtaPhiMBase, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, P4Impl< P4Mom_t >, P4Impl< P4ImplIPtCotThPhiM >, P4Impl< P4ImplEEtaPhiM >, P4Impl< P4ImplPxPyPzE >, P4Impl< P4ImplPtEtaPhiM >, Rec::TrackParticle, P4PtEtaPhiMBase, P4IPtCotThPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
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, P4EEtaPhiM, TrigT2Jet, P4PtEtaPhiMBase, and P4IPtCotThPhiMBase.
|
pure virtual |
Access to errors, if available; returns 0 if no errors.
Implemented in egamma, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4PtEtaPhiM, P4PxPyPzE, P4EEtaPhiM, P4IPtCotThPhiM, P4EEtaPhiMBase, P4PtEtaPhiMBase, P4IPtCotThPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
transverse energy defined to be e*sin(theta)
Implemented in CaloCell, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4PtEtaPhiMBase, P4PxPyPzEBase, P4IPtCotThPhiMBase, and P4EEtaPhiMBase.
|
pure virtual |
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.
|
pure virtual |
CLHEP HepLorentzVector.
Implemented in CaloCluster, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4EEtaPhiMBase, P4PtEtaPhiMBase, P4IPtCotThPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
inverse of transverse momentum
Implemented in ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4IPtCotThPhiM, P4EEtaPhiMBase, P4PtEtaPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
tells what kind of P4XYZT this is
Implemented in ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4EEtaPhiMBase, P4PtEtaPhiMBase, P4IPtCotThPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
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.
|
pure virtual |
|
pure virtual |
|
pure virtual |
square of momentum magnitude
Implemented in ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4IPtCotThPhiMBase, P4EEtaPhiMBase, P4PtEtaPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
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 virtual |
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.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
set 4Momentum (will throw exception if cannot be implemented)
Implemented in CaloCell, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, P4Impl< P4Mom_t >, P4Impl< P4ImplIPtCotThPhiM >, P4Impl< P4ImplEEtaPhiM >, P4Impl< P4ImplPxPyPzE >, P4Impl< P4ImplPtEtaPhiM >, Rec::TrackParticle, egamma, P4PtEtaPhiM, P4PxPyPzE, P4EEtaPhiM, P4IPtCotThPhiM, P4EEtaPhiMBase, P4PtEtaPhiMBase, P4IPtCotThPhiMBase, P4PxPyPzEBase, CaloCluster, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, and ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >.
|
pure virtual |
set 4Momentum (will throw exception if cannot be implemented)
Implemented in CaloCell, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, P4Impl< P4Mom_t >, P4Impl< P4ImplIPtCotThPhiM >, P4Impl< P4ImplEEtaPhiM >, P4Impl< P4ImplPxPyPzE >, P4Impl< P4ImplPtEtaPhiM >, Rec::TrackParticle, egamma, P4PtEtaPhiM, P4PxPyPzE, P4EEtaPhiM, P4IPtCotThPhiM, P4EEtaPhiMBase, P4PtEtaPhiMBase, P4IPtCotThPhiMBase, P4PxPyPzEBase, CaloCluster, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, and ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >.
|
pure virtual |
set 4Momentum (will throw exception if cannot be implemented)
Implemented in CaloCell, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, P4Impl< P4Mom_t >, P4Impl< P4ImplIPtCotThPhiM >, P4Impl< P4ImplEEtaPhiM >, P4Impl< P4ImplPxPyPzE >, P4Impl< P4ImplPtEtaPhiM >, Rec::TrackParticle, egamma, P4PtEtaPhiM, P4PxPyPzE, P4EEtaPhiM, P4IPtCotThPhiM, P4EEtaPhiMBase, P4PtEtaPhiMBase, P4IPtCotThPhiMBase, P4PxPyPzEBase, CaloCluster, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, and ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >.
|
pure virtual |
sinus phi
Implemented in CaloCell, CaloVertexedCell, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4IPtCotThPhiMBase, P4EEtaPhiMBase, P4PtEtaPhiMBase, and P4PxPyPzEBase.
|
pure virtual |
sinus theta
Implemented in CaloCell, CaloVertexedCell, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4Impl< P4Mom_t >, P4IPtCotThPhiMBase, P4EEtaPhiMBase, P4PtEtaPhiMBase, and P4PxPyPzEBase.
|
pure virtual |