|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef FOURMOM_P4IMPLPXPYPZE_H
12 #define FOURMOM_P4IMPLPXPYPZE_H
17 #include "CLHEP/Vector/LorentzVector.h"
18 #include "CLHEP/Units/SystemOfUnits.h"
59 const double pz,
const double e );
102 void setPx(
const double thePx );
105 void setPy(
const double thePy );
108 void setPz(
const double thePz );
111 void setE(
const double theE );
118 void set4Mom (
const CLHEP::HepLorentzVector & theHlv );
189 m_px ( i4Mom->
px() ),
190 m_py ( i4Mom->
py() ),
191 m_pz ( i4Mom->
pz() ),
269 m_error = std::make_unique< ErrorType>(
err, *
this);
272 #endif //> FOURMOM_P4IMPLPXPYPZE_H
virtual double py() const =0
y component of momentum
void setPy(const double thePy)
set Py data member
std::unique_ptr< ErrorType > m_error
double py() const
get py data member
CLHEP::HepLorentzVector hlv() const
void setE(const double theE)
set energy data member
virtual const I4MomentumError * errors() const
double px() const
{@ a la I4Momentum -like interface
void setPz(const double thePz)
set Pz data member
virtual double pz() const =0
z component of momentum
virtual double e() const =0
energy
I4Momentum::Kind kind() const
double e() const
get energy data member
virtual ~P4ImplPxPyPzE()
Destructor:
void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference
P4ImplPxPyPzE & operator=(const P4ImplPxPyPzE &rhs)
Assignment operator:
FourMomentumError< P4ImplPxPyPzE > ErrorType
double pz() const
get pz data member
void setPx(const double thePx)
set Px data member
virtual double px() const =0
x component of momentum
P4ImplPxPyPzE()
Default constructor:
void setErrors(const ErrorMatrixPxPyPzE &err)
set the errors