CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
l1t::MicroGMTAbsoluteIsolationCheckLUT Class Reference

#include <MicroGMTAbsoluteIsolationCheckLUT.h>

Inheritance diagram for l1t::MicroGMTAbsoluteIsolationCheckLUT:
l1t::MicroGMTLUT l1t::LUT

Public Member Functions

int hashInput (int energySum) const
 
int lookup (int energySum) const
 
 MicroGMTAbsoluteIsolationCheckLUT ()
 
 MicroGMTAbsoluteIsolationCheckLUT (const std::string &fname)
 
 MicroGMTAbsoluteIsolationCheckLUT (l1t::LUT *lut)
 
void unHashInput (int input, int &energySum) const
 
 ~MicroGMTAbsoluteIsolationCheckLUT () 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 ()
 

Private Member Functions

void getParameters (const edm::ParameterSet &iConfig, const char *setName)
 

Private Attributes

int m_energySumInWidth
 

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
}
 
- Protected Attributes inherited from l1t::MicroGMTLUT
bool m_initialized
 
std::vector< MicroGMTConfiguration::input_tm_inputs
 
unsigned m_outWidth
 
unsigned m_totalInWidth
 

Detailed Description

Definition at line 8 of file MicroGMTAbsoluteIsolationCheckLUT.h.

Constructor & Destructor Documentation

◆ MicroGMTAbsoluteIsolationCheckLUT() [1/3]

l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT ( )
inline

Definition at line 10 of file MicroGMTAbsoluteIsolationCheckLUT.h.

10 {}

◆ MicroGMTAbsoluteIsolationCheckLUT() [2/3]

l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT ( const std::string &  fname)
explicit

◆ MicroGMTAbsoluteIsolationCheckLUT() [3/3]

l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT ( l1t::LUT lut)
explicit

◆ ~MicroGMTAbsoluteIsolationCheckLUT()

l1t::MicroGMTAbsoluteIsolationCheckLUT::~MicroGMTAbsoluteIsolationCheckLUT ( )
inlineoverride

Definition at line 13 of file MicroGMTAbsoluteIsolationCheckLUT.h.

13 {}

Member Function Documentation

◆ getParameters()

void l1t::MicroGMTAbsoluteIsolationCheckLUT::getParameters ( const edm::ParameterSet iConfig,
const char *  setName 
)
private

◆ hashInput()

int l1t::MicroGMTAbsoluteIsolationCheckLUT::hashInput ( int  energySum) const
inline

Definition at line 18 of file MicroGMTAbsoluteIsolationCheckLUT.h.

References CastorDataFrameFilter_impl::energySum().

18 { return energySum; };
double energySum(const DataFrame &df, int fs, int ls)

◆ lookup()

int l1t::MicroGMTAbsoluteIsolationCheckLUT::lookup ( int  energySum) const

Definition at line 24 of file MicroGMTAbsoluteIsolationCheckLUT.cc.

References CastorDataFrameFilter_impl::energySum().

24  {
26 }
virtual int lookupPacked(int input) const
Definition: MicroGMTLUT.cc:30
int checkedInput(unsigned in, unsigned maxWidth) const
Definition: MicroGMTLUT.cc:51
double energySum(const DataFrame &df, int fs, int ls)

◆ unHashInput()

void l1t::MicroGMTAbsoluteIsolationCheckLUT::unHashInput ( int  input,
int &  energySum 
) const
inline

Definition at line 19 of file MicroGMTAbsoluteIsolationCheckLUT.h.

References CastorDataFrameFilter_impl::energySum(), and input.

19 { energySum = input; };
static std::string const input
Definition: EdmProvDump.cc:50
double energySum(const DataFrame &df, int fs, int ls)

Member Data Documentation

◆ m_energySumInWidth

int l1t::MicroGMTAbsoluteIsolationCheckLUT::m_energySumInWidth
private