|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef FOURMOM_P4IMPLEETAPHIM_H
8 #define FOURMOM_P4IMPLEETAPHIM_H
14 #include "CLHEP/Vector/LorentzVector.h"
15 #include "CLHEP/Units/SystemOfUnits.h"
61 const double phi,
const double m );
98 void setE(
const double theE );
100 void setEta(
const double theEta );
102 void setPhi(
const double thePhi );
104 void setM(
const double theM );
111 void set4Mom(
const CLHEP::HepLorentzVector & theHlv );
151 const double phi,
const double m ) :
177 m_eta( i4mom.
eta() ),
178 m_phi( i4mom.
phi() ),
186 m_eta( i4Mom->
eta() ),
187 m_phi( i4Mom->
phi() ),
275 m_error = std::make_unique< ErrorType>(
err, *
this);
279 #endif // FOURMOM_P4IMPLEETAPHIM_H
std::unique_ptr< ErrorType > m_error
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
virtual const I4MomentumError * errors() const
void setM(const double theM)
set mass data member
I4Momentum::Kind kind() const
FourMomentumError< P4ImplEEtaPhiM > ErrorType
virtual ~P4ImplEEtaPhiM()
virtual destructor needed by pool
void setEta(const double theEta)
set eta data member
CLHEP::HepLorentzVector hlv() const
void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference
virtual double e() const =0
energy
virtual double eta() const =0
pseudo rapidity
virtual double phi() const =0
phi in [-pi,pi[
void setErrors(const ErrorMatrixEEtaPhiM &err)
set the errors
double m() const
{@ a la I4Momentum -like interface
virtual double m() const =0
mass
void setE(const double theE)
set energy data member
void setPhi(const double thePhi)
set phi data member
P4ImplEEtaPhiM()
Default constructor:
P4ImplEEtaPhiM & operator=(const P4ImplEEtaPhiM &rhs)
Assignment operator.