CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
PtEtaPhiMass Class Reference

#include <PtEtaPhiMass.h>

Public Member Functions

float eta () const
 momentum pseudorapidity More...
 
float mass () const
 mass More...
 
float phi () const
 momentum azimuthal angle More...
 
float pt () const
 transverse momentum More...
 
 PtEtaPhiMass ()
 
 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 14 of file PtEtaPhiMass.h.

Constructor & Destructor Documentation

PtEtaPhiMass::PtEtaPhiMass ( )
inline

Definition at line 19 of file PtEtaPhiMass.h.

19 {}
PtEtaPhiMass::PtEtaPhiMass ( float  ipt,
float  ieta,
float  iphi,
float  imass 
)
inline

Definition at line 22 of file PtEtaPhiMass.h.

22  :
23  pt_(ipt), eta_(ieta), phi_(ieta), mass_(imass){}

Member Function Documentation

float PtEtaPhiMass::eta ( ) const
inline

momentum pseudorapidity

Definition at line 28 of file PtEtaPhiMass.h.

References eta_.

28 { return eta_; }
float PtEtaPhiMass::mass ( ) const
inline

mass

Definition at line 32 of file PtEtaPhiMass.h.

References mass_.

32 { return mass_; }
float PtEtaPhiMass::phi ( ) const
inline

momentum azimuthal angle

Definition at line 30 of file PtEtaPhiMass.h.

References phi_.

30 { return phi_; }
float PtEtaPhiMass::pt ( ) const
inline

transverse momentum

Definition at line 26 of file PtEtaPhiMass.h.

References pt_.

26 { return pt_;}

Member Data Documentation

float PtEtaPhiMass::eta_
private

Definition at line 16 of file PtEtaPhiMass.h.

Referenced by eta().

float PtEtaPhiMass::mass_
private

Definition at line 16 of file PtEtaPhiMass.h.

Referenced by mass().

float PtEtaPhiMass::phi_
private

Definition at line 16 of file PtEtaPhiMass.h.

Referenced by phi().

float PtEtaPhiMass::pt_
private

Definition at line 16 of file PtEtaPhiMass.h.

Referenced by pt().