CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PtEtaPhiMass Class Reference

#include <PtEtaPhiMass.h>

Public Member Functions

constexpr float eta () const
 momentum pseudorapidity More...
 
constexpr float mass () const
 mass More...
 
constexpr float phi () const
 momentum azimuthal angle More...
 
constexpr float pt () const
 transverse momentum More...
 
 PtEtaPhiMass ()
 
constexpr PtEtaPhiMass (float ipt, float ieta, float iphi, float imass)
 

Private Attributes

float eta_
 
float mass_
 
float phi_
 
float pt_
 

Detailed Description

standard cms four-momentum Lorentz vector consistent with LeafCandidate representation

Definition at line 16 of file PtEtaPhiMass.h.

Constructor & Destructor Documentation

◆ PtEtaPhiMass() [1/2]

PtEtaPhiMass::PtEtaPhiMass ( )
inline

Definition at line 22 of file PtEtaPhiMass.h.

22 {}

◆ PtEtaPhiMass() [2/2]

constexpr PtEtaPhiMass::PtEtaPhiMass ( float  ipt,
float  ieta,
float  iphi,
float  imass 
)
inlineconstexpr

Definition at line 25 of file PtEtaPhiMass.h.

26  : pt_(ipt), eta_(ieta), phi_(iphi), mass_(imass) {}

Member Function Documentation

◆ eta()

constexpr float PtEtaPhiMass::eta ( ) const
inlineconstexpr

momentum pseudorapidity

Definition at line 31 of file PtEtaPhiMass.h.

31 { return eta_; }

References eta_.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

◆ mass()

constexpr float PtEtaPhiMass::mass ( ) const
inlineconstexpr

mass

Definition at line 35 of file PtEtaPhiMass.h.

35 { return mass_; }

References mass_.

Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().

◆ phi()

constexpr float PtEtaPhiMass::phi ( ) const
inlineconstexpr

momentum azimuthal angle

Definition at line 33 of file PtEtaPhiMass.h.

33 { return phi_; }

References phi_.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

◆ pt()

constexpr float PtEtaPhiMass::pt ( ) const
inlineconstexpr

Member Data Documentation

◆ eta_

float PtEtaPhiMass::eta_
private

Definition at line 18 of file PtEtaPhiMass.h.

Referenced by eta().

◆ mass_

float PtEtaPhiMass::mass_
private

Definition at line 18 of file PtEtaPhiMass.h.

Referenced by mass().

◆ phi_

float PtEtaPhiMass::phi_
private

Definition at line 18 of file PtEtaPhiMass.h.

Referenced by phi().

◆ pt_

float PtEtaPhiMass::pt_
private

Definition at line 18 of file PtEtaPhiMass.h.

Referenced by pt().

PtEtaPhiMass::pt_
float pt_
Definition: PtEtaPhiMass.h:18
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
PtEtaPhiMass::mass_
float mass_
Definition: PtEtaPhiMass.h:18
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
PtEtaPhiMass::phi_
float phi_
Definition: PtEtaPhiMass.h:18
PtEtaPhiMass::eta_
float eta_
Definition: PtEtaPhiMass.h:18