CMS 3D CMS Logo

List of all members | Public Member Functions
l1ct::PFRegionEmu Struct Reference

#include <layer1_emulator.h>

Inheritance diagram for l1ct::PFRegionEmu:
l1ct::PFRegion

Public Member Functions

bool contains (float eta, float phi) const
 
bool containsHw (glbeta_t glbeta, glbphi_t phi) const
 
float localEta (float globalEta) const
 
float localPhi (float globalPhi) const
 
 PFRegionEmu ()
 
 PFRegionEmu (float etaCenter, float phicenter)
 
 PFRegionEmu (float etamin, float etamax, float phicenter, float phiwidth, float etaextra, float phiextra)
 
bool read (std::fstream &from)
 
bool write (std::fstream &to) const
 
- Public Member Functions inherited from l1ct::PFRegion
float floatEtaCenter () const
 
float floatEtaExtra () const
 
float floatEtaHalfWidth () const
 
float floatEtaMax () const
 
float floatEtaMaxExtra () const
 
float floatEtaMin () const
 
float floatEtaMinExtra () const
 
float floatGlbEta (eta_t hwEta) const
 
float floatGlbEta (glbeta_t hwEta) const
 
template<typename T >
float floatGlbEtaOf (const T &t) const
 
float floatGlbPhi (phi_t hwPhi) const
 
float floatGlbPhi (glbphi_t hwPhi) const
 
template<typename T >
float floatGlbPhiOf (const T &t) const
 
float floatPhiCenter () const
 
float floatPhiExtra () const
 
float floatPhiHalfWidth () const
 
float floatPhiHalfWidthExtra () const
 
glbeta_t hwGlbEta (eta_t hwEta) const
 
glbeta_t hwGlbEta (glbeta_t hwEta) const
 
template<typename T >
glbeta_t hwGlbEtaOf (const T &t) const
 
glbphi_t hwGlbPhi (glbphi_t hwPhi) const
 
template<typename T >
glbphi_t hwGlbPhiOf (const T &t) const
 
int intEtaCenter () const
 
int intPhiCenter () const
 
bool isFiducial (eta_t hwEta, phi_t hwPhi) const
 
template<typename T >
bool isFiducial (const T &t) const
 
template<typename ET , typename PT >
bool isInside (ET hwEta, PT hwPhi) const
 
template<typename T >
bool isInside (const T &t) const
 
ap_uint< BITWIDTHpack () const
 

Additional Inherited Members

- Static Public Member Functions inherited from l1ct::PFRegion
static PFRegion unpack (const ap_uint< BITWIDTH > &src)
 
- Public Attributes inherited from l1ct::PFRegion
glbeta_t hwEtaCenter
 
eta_t hwEtaExtra
 
eta_t hwEtaHalfWidth
 
glbphi_t hwPhiCenter
 
phi_t hwPhiExtra
 
phi_t hwPhiHalfWidth
 
- Static Public Attributes inherited from l1ct::PFRegion
static const int BITWIDTH = glbeta_t::width + glbphi_t::width + 2 * eta_t::width + 2 * phi_t::width
 

Detailed Description

Definition at line 100 of file layer1_emulator.h.

Constructor & Destructor Documentation

◆ PFRegionEmu() [1/3]

l1ct::PFRegionEmu::PFRegionEmu ( )
inline

Definition at line 101 of file layer1_emulator.h.

101 : PFRegion() {}

◆ PFRegionEmu() [2/3]

l1ct::PFRegionEmu::PFRegionEmu ( float  etaCenter,
float  phicenter 
)

◆ PFRegionEmu() [3/3]

l1ct::PFRegionEmu::PFRegionEmu ( float  etamin,
float  etamax,
float  phicenter,
float  phiwidth,
float  etaextra,
float  phiextra 
)

Member Function Documentation

◆ contains()

bool l1ct::PFRegionEmu::contains ( float  eta,
float  phi 
) const

◆ containsHw()

bool l1ct::PFRegionEmu::containsHw ( glbeta_t  glbeta,
glbphi_t  phi 
) const

◆ localEta()

float l1ct::PFRegionEmu::localEta ( float  globalEta) const

◆ localPhi()

float l1ct::PFRegionEmu::localPhi ( float  globalPhi) const

◆ read()

bool l1ct::PFRegionEmu::read ( std::fstream &  from)

◆ write()

bool l1ct::PFRegionEmu::write ( std::fstream &  to) const