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 ) :
269 m_error = std::make_unique< ErrorType>(err, *
this);
Scalar perp() const
perp method - perpendicular length
I4Momentum is an abstract base class providing 4-momentum behavior.
virtual double m() const =0
mass
virtual double phi() const =0
phi in [-pi,pi[
virtual double pt() const =0
transverse momentum
virtual double eta() const =0
pseudo rapidity
P4BasePtEtaPhiM is a base class for classes with 4-momentum behavior, for which pt,...
CLHEP::HepLorentzVector hlv() const
void setM(const double theM)
set mass data member
void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference
void setPhi(const double thePhi)
set phi data member
virtual const I4MomentumError * errors() const
P4ImplPtEtaPhiM()
Default constructor:
P4ImplPtEtaPhiM & operator=(const P4ImplPtEtaPhiM &rhs)
Assignment operator.
virtual ~P4ImplPtEtaPhiM()
virtual destructor needed by pool
void setErrors(const ErrorMatrixPtEtaPhiM &err)
set the errors
I4Momentum::Kind kind() const
std::unique_ptr< ErrorType > m_error
friend class P4ImplPtEtaPhiMCnv_p1
void setEta(const double theEta)
set eta data member
void setPt(const double thePt)
set pt data member
double m() const
{@ a la I4Momentum -like interface
FourMomentumError< P4ImplPtEtaPhiM > ErrorType