1 #ifndef DataFormats_Math_PtEtaPhiMass_h 2 #define DataFormats_Math_PtEtaPhiMass_h 29 constexpr
float pt()
const {
return pt_; }
31 constexpr
float eta()
const {
return eta_; }
33 constexpr
float phi()
const {
return phi_; }
constexpr float mass() const
mass
float __attribute__((always_inline)) __attribute__((pure)) etaFromXYZ(float x
RhoEtaPhi(float irho, float ieta, float iphi)
constexpr float eta() const
momentum pseudorapidity
float phi() const
momentum azimuthal angle
constexpr PtEtaPhiMass(float ipt, float ieta, float iphi, float imass)
constexpr float phi() const
momentum azimuthal angle
float eta() const
momentum pseudorapidity
constexpr float pt() const
transverse momentum
float rho() const
transverse momentum