![]() |
ATLAS Offline Software
|
hub for various interface implementations of I4Momentum
More...
#include <P4Impl.h>
Public Types | |
| typedef P4Mom_t | base_type |
| publish the type of the base class (ie: 'traits-itize' it) | |
| enum | Kind { P4EETAPHIM , P4IPTCOTTHPHIM , P4PTETAPHIM , P4PXPYPZE , UNKNOWN } |
Public Member Functions | |
| P4Impl () | |
| Default constructor. | |
| P4Impl (const P4Impl &rhs) | |
| Copy constructor. | |
| P4Impl & | operator= (const P4Impl &rhs) |
| Assignment operator. | |
| P4Impl (const double p1, const double p2, const double p3, const double p4) | |
| Constructor with arguments. | |
| P4Impl (const CLHEP::HepLorentzVector &theHlv) | |
| P4Impl (const P4Mom_t &rhs) | |
| P4Impl (const I4Momentum &rhs) | |
| P4Impl (const I4Momentum *const rhs) | |
| virtual | ~P4Impl () |
| Default constructor: | |
| const P4Mom_t & | base () const |
| access to underlying base type | |
| P4Mom_t & | base () |
| access to underlying base type | |
| double | px () const |
| x component of momentum | |
| double | py () const |
| y component of momentum | |
| double | pz () const |
| z component of momentum | |
| double | m () const |
| mass | |
| double | m2 () const |
| mass squared | |
| double | p () const |
| momentum magnitude | |
| double | p2 () const |
| square of momentum magnitude | |
| double | eta () const |
| pseudo rapidity | |
| double | rapidity () const |
| rapidity | |
| double | phi () const |
| phi in [-pi,pi[ | |
| double | sinPhi () const |
| sin(phi) | |
| double | cosPhi () const |
| cos(phi) | |
| double | e () const |
| energy | |
| double | et () const |
| transverse energy defined to be e*sin(theta) | |
| double | pt () const |
| transverse momentum | |
| double | iPt () const |
| inverse of transverse momentum | |
| double | cosTh () const |
| cosinus theta | |
| double | sinTh () const |
| sinus theta | |
| double | tanTh () const |
| tan theta | |
| double | cotTh () const |
| cottan theta | |
| CLHEP::HepLorentzVector | hlv () const |
| CLHEP HepLorentzVector. | |
| virtual const I4MomentumError * | errors () const |
| Access to errors, if available; returns 0 if no errors. | |
| I4Momentum::Kind | kind () const |
| kind (what type of P4XYZ) of underlying class | |
| virtual void | set4Mom (const I4Momentum *const theI4Mom) |
| set 4Momentum (will throw exception if cannot be implemented) | |
| virtual void | set4Mom (const I4Momentum &theI4Mom) |
| set 4Momentum (will throw exception if cannot be implemented) | |
| virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv) |
| set 4Momentum (will throw exception if cannot be implemented) | |
| std::ostream & | dump (std::ostream &out) const |
Print I4Momentum content. | |
hub for various interface implementations of I4Momentum
| typedef P4Mom_t P4Impl< P4Mom_t >::base_type |
|
inherited |
| Enumerator | |
|---|---|
| P4EETAPHIM | |
| P4IPTCOTTHPHIM | |
| P4PTETAPHIM | |
| P4PXPYPZE | |
| UNKNOWN | |
Definition at line 33 of file I4Momentum.h.
Default constructor.
Inline methods:
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inlinevirtual |
cos(phi)
Implements I4Momentum.
|
inlinevirtual |
cosinus theta
Implements I4Momentum.
|
inlinevirtual |
cottan theta
Implements I4Momentum.
|
inlinevirtual |
Print I4Momentum content.
Implements I4Momentum.
|
inlinevirtual |
energy
Implements I4Momentum.
|
inlinevirtual |
Access to errors, if available; returns 0 if no errors.
Implements I4Momentum.
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
|
inlinevirtual |
pseudo rapidity
Implements I4Momentum.
|
inlinevirtual |
CLHEP HepLorentzVector.
Implements I4Momentum.
|
inlinevirtual |
inverse of transverse momentum
Implements I4Momentum.
|
inlinevirtual |
kind (what type of P4XYZ) of underlying class
Implements I4Momentum.
|
inlinevirtual |
mass
Implements I4Momentum.
|
inlinevirtual |
mass squared
Implements I4Momentum.
| P4Impl< P4Mom_t > & P4Impl< P4Mom_t >::operator= | ( | const P4Impl< P4Mom_t > & | rhs | ) |
|
inlinevirtual |
momentum magnitude
Implements I4Momentum.
|
inlinevirtual |
square of momentum magnitude
Implements I4Momentum.
|
inlinevirtual |
phi in [-pi,pi[
Implements I4Momentum.
|
inlinevirtual |
transverse momentum
Implements I4Momentum.
|
inlinevirtual |
|
inlinevirtual |
y component of momentum
Implements I4Momentum.
|
inlinevirtual |
z component of momentum
Implements I4Momentum.
|
inlinevirtual |
rapidity
Implements I4Momentum.
|
inlinevirtual |
set 4Momentum (will throw exception if cannot be implemented)
Implements I4Momentum.
|
inlinevirtual |
set 4Momentum (will throw exception if cannot be implemented)
Implements I4Momentum.
|
inlinevirtual |
set 4Momentum (will throw exception if cannot be implemented)
Implements I4Momentum.
|
inlinevirtual |
sin(phi)
Implements I4Momentum.
|
inlinevirtual |
sinus theta
Implements I4Momentum.
|
inlinevirtual |
tan theta
Implements I4Momentum.