CMS 3D CMS Logo

Functions | Variables
l1gt::Scales Namespace Reference

Functions

float floatEta (eta_t eta)
 
float floatPhi (phi_t phi)
 
float floatPt (pt_t pt)
 

Variables

constexpr float ETAPHI_LSB = M_PI / INTPHI_PI
 
const int INTPHI_PI = 1 << (phi_t::width - 1)
 
const int INTPHI_TWOPI = 2 * INTPHI_PI
 
const float INTPT_LSB = 1.0 / (1 << (pt_t::width - pt_t::iwidth))
 

Function Documentation

◆ floatEta()

float l1gt::Scales::floatEta ( eta_t  eta)
inline

◆ floatPhi()

float l1gt::Scales::floatPhi ( phi_t  phi)
inline

◆ floatPt()

float l1gt::Scales::floatPt ( pt_t  pt)
inline

Variable Documentation

◆ ETAPHI_LSB

constexpr float l1gt::Scales::ETAPHI_LSB = M_PI / INTPHI_PI

Definition at line 43 of file gt_datatypes.h.

Referenced by floatEta(), and floatPhi().

◆ INTPHI_PI

const int l1gt::Scales::INTPHI_PI = 1 << (phi_t::width - 1)

Definition at line 40 of file gt_datatypes.h.

◆ INTPHI_TWOPI

const int l1gt::Scales::INTPHI_TWOPI = 2 * INTPHI_PI

Definition at line 42 of file gt_datatypes.h.

◆ INTPT_LSB

const float l1gt::Scales::INTPT_LSB = 1.0 / (1 << (pt_t::width - pt_t::iwidth))

Definition at line 41 of file gt_datatypes.h.