|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef FOURMOM_P4IMPLPTETAPHIM_H
8 #define FOURMOM_P4IMPLPTETAPHIM_H
14 #include "CLHEP/Vector/LorentzVector.h"
15 #include "CLHEP/Units/SystemOfUnits.h"
62 const double phi,
const double m );
99 void setPt(
const double thePt );
101 void setEta(
const double theEta );
103 void setPhi(
const double thePhi );
105 void setM(
const double theM );
115 void set4Mom(
const CLHEP::HepLorentzVector & theHlv );
153 const double phi,
const double m ) :
174 m_eta( i4mom.
eta() ),
175 m_phi( i4mom.
phi() ),
182 m_pt ( i4Mom->
pt() ),
183 m_eta( i4Mom->
eta() ),
184 m_phi( i4Mom->
phi() ),
269 m_error = std::make_unique< ErrorType>(
err, *
this);
272 #endif // FOURMOM_P4IMPLPTETAPHIM_H
Scalar phi() const
phi method
Scalar perp() const
perp method - perpenticular length
Scalar eta() const
pseudorapidity method
virtual const I4MomentumError * errors() const
void setErrors(const ErrorMatrixPtEtaPhiM &err)
set the errors
virtual double pt() const =0
transverse momentum
FourMomentumError< P4ImplPtEtaPhiM > ErrorType
CLHEP::HepLorentzVector hlv() const
virtual ~P4ImplPtEtaPhiM()
virtual destructor needed by pool
std::unique_ptr< ErrorType > m_error
P4ImplPtEtaPhiM()
Default constructor:
I4Momentum::Kind kind() const
void setEta(const double theEta)
set eta data member
virtual double eta() const =0
pseudo rapidity
virtual double phi() const =0
phi in [-pi,pi[
void setPhi(const double thePhi)
set phi data member
P4ImplPtEtaPhiM & operator=(const P4ImplPtEtaPhiM &rhs)
Assignment operator.
virtual double m() const =0
mass
void setPt(const double thePt)
set pt data member
double m() const
{@ a la I4Momentum -like interface
void setM(const double theM)
set mass data member
void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference