CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
l1t::MicroGMTMatchQualLUT Class Referenceabstract

#include <MicroGMTMatchQualLUT.h>

Inheritance diagram for l1t::MicroGMTMatchQualLUT:
l1t::MicroGMTLUT l1t::LUT l1t::MicroGMTMatchQualFineLUT l1t::MicroGMTMatchQualSimpleLUT

Public Member Functions

int getDeltaEtaWidth () const
 
int getDeltaPhiWidth () const
 
virtual int lookup (int etaFine, int dEta, int dPhi) const =0
 
 MicroGMTMatchQualLUT ()
 
 MicroGMTMatchQualLUT (l1t::LUT *lut)
 
 ~MicroGMTMatchQualLUT () override
 
- Public Member Functions inherited from l1t::MicroGMTLUT
int checkedInput (unsigned in, unsigned maxWidth) const
 
void initialize ()
 
int load (const std::string &inFileName)
 
virtual int lookupPacked (int input) const
 
 MicroGMTLUT ()
 
 MicroGMTLUT (l1t::LUT *lut)
 
void save (std::ofstream &output)
 
virtual ~MicroGMTLUT ()
 
- Public Member Functions inherited from l1t::LUT
int data (unsigned int address) const
 
bool empty () const
 
 LUT ()
 
 LUT (std::istream &stream)
 
unsigned int maxSize () const
 
unsigned int nrBitsAddress () const
 
unsigned int nrBitsData () const
 
int read (std::istream &stream)
 
void write (std::ostream &stream) const
 
 ~LUT ()
 

Protected Attributes

cancel_t m_cancelType
 
int m_dEtaRedInWidth
 
int m_dEtaRedMask
 
int m_dPhiRedInWidth
 
int m_dPhiRedMask
 
double m_etaScale
 
double m_fEta
 
double m_fPhi
 
double m_maxDR
 
double m_phiScale
 
- Protected Attributes inherited from l1t::MicroGMTLUT
bool m_initialized
 
std::vector< MicroGMTConfiguration::input_tm_inputs
 
unsigned m_outWidth
 
unsigned m_totalInWidth
 

Additional Inherited Members

- Public Types inherited from l1t::LUT
enum  ReadCodes {
  SUCCESS = 0, NO_ENTRIES = 1, DUP_ENTRIES = 2, MISS_ENTRIES = 3,
  MAX_ADDRESS_OUTOFRANGE = 4, NO_HEADER = 5
}
 

Detailed Description

Definition at line 23 of file MicroGMTMatchQualLUT.h.

Constructor & Destructor Documentation

◆ MicroGMTMatchQualLUT() [1/2]

l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT ( )
inline

Definition at line 25 of file MicroGMTMatchQualLUT.h.

25 : MicroGMTLUT(){};

◆ MicroGMTMatchQualLUT() [2/2]

l1t::MicroGMTMatchQualLUT::MicroGMTMatchQualLUT ( l1t::LUT lut)
inlineexplicit

Definition at line 26 of file MicroGMTMatchQualLUT.h.

26 : MicroGMTLUT(lut){};

◆ ~MicroGMTMatchQualLUT()

l1t::MicroGMTMatchQualLUT::~MicroGMTMatchQualLUT ( )
inlineoverride

Definition at line 27 of file MicroGMTMatchQualLUT.h.

27 {};

Member Function Documentation

◆ getDeltaEtaWidth()

int l1t::MicroGMTMatchQualLUT::getDeltaEtaWidth ( ) const
inline

Definition at line 31 of file MicroGMTMatchQualLUT.h.

31 { return m_dEtaRedInWidth; }

References m_dEtaRedInWidth.

Referenced by l1t::MicroGMTCancelOutUnit::getCoordinateCancelBits().

◆ getDeltaPhiWidth()

int l1t::MicroGMTMatchQualLUT::getDeltaPhiWidth ( ) const
inline

Definition at line 32 of file MicroGMTMatchQualLUT.h.

32 { return m_dPhiRedInWidth; }

References m_dPhiRedInWidth.

Referenced by l1t::MicroGMTCancelOutUnit::getCoordinateCancelBits().

◆ lookup()

virtual int l1t::MicroGMTMatchQualLUT::lookup ( int  etaFine,
int  dEta,
int  dPhi 
) const
pure virtual

Member Data Documentation

◆ m_cancelType

cancel_t l1t::MicroGMTMatchQualLUT::m_cancelType
protected

◆ m_dEtaRedInWidth

int l1t::MicroGMTMatchQualLUT::m_dEtaRedInWidth
protected

◆ m_dEtaRedMask

int l1t::MicroGMTMatchQualLUT::m_dEtaRedMask
protected

◆ m_dPhiRedInWidth

int l1t::MicroGMTMatchQualLUT::m_dPhiRedInWidth
protected

◆ m_dPhiRedMask

int l1t::MicroGMTMatchQualLUT::m_dPhiRedMask
protected

◆ m_etaScale

double l1t::MicroGMTMatchQualLUT::m_etaScale
protected

◆ m_fEta

double l1t::MicroGMTMatchQualLUT::m_fEta
protected

◆ m_fPhi

double l1t::MicroGMTMatchQualLUT::m_fPhi
protected

◆ m_maxDR

double l1t::MicroGMTMatchQualLUT::m_maxDR
protected

◆ m_phiScale

double l1t::MicroGMTMatchQualLUT::m_phiScale
protected
l1t::MicroGMTMatchQualLUT::m_dPhiRedInWidth
int m_dPhiRedInWidth
Definition: MicroGMTMatchQualLUT.h:38
l1t::MicroGMTMatchQualLUT::m_dEtaRedInWidth
int m_dEtaRedInWidth
Definition: MicroGMTMatchQualLUT.h:37
l1t::MicroGMTLUT::MicroGMTLUT
MicroGMTLUT()
Definition: MicroGMTLUT.h:16