|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef FOURMOM_P4PXPYPZE_H
6 #define FOURMOM_P4PXPYPZE_H
11 #include "CLHEP/Units/SystemOfUnits.h"
12 #include "CLHEP/Vector/LorentzVector.h"
36 P4PxPyPzE(
const CLHEP::HepLorentzVector & theHlv);
46 virtual double px()
const;
48 virtual double py()
const;
50 virtual double pz()
const;
52 virtual double e()
const;
55 virtual void setPx(
double thePx) ;
57 virtual void setPy(
double thePy) ;
59 virtual void setPz(
double thePz) ;
61 virtual void setE(
double theE) ;
68 virtual void set4Mom (
const CLHEP::HepLorentzVector & theHlv );
105 m_px(
px),m_py(
py),m_pz(
pz),m_e(
e)
183 {
const double thePx=
pxi();
184 const double thePy=
pyi();
185 return sqrt(thePx*thePx+thePy*thePy);}
virtual double py() const =0
y component of momentum
virtual double e() const
get energy data member
virtual double py() const
get py data member
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
double pzi() const
Experimental : inlined function to get pz without going through virtual inheritance.
virtual double pz() const
get pz data member
virtual void setE(double theE)
set energy data member
double pxi() const
Experimental : inlined function to get px without going through virtual inheritance.
double pti() const
Experimental : inlined function to get pt without going through virtual inheritance.
virtual double pz() const =0
z component of momentum
virtual void setPx(double thePx)
set Px data member
virtual double e() const =0
energy
P4PxPyPzE()
default constructor
virtual double px() const
get px data member
virtual void setPz(double thePz)
set Pz data member
virtual void setPy(double thePy)
set Py data member
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference
double pyi() const
Experimental : inlined function to get py without going through virtual inheritance.
virtual double px() const =0
x component of momentum
double ei() const
Experimental : inlined function to get e without going through virtual inheritance.