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 9 of file MicroGMTAbsoluteIsolationCheckLUT.h.

Constructor & Destructor Documentation

l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT ( )
inline
l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT ( const std::string &  fname)
explicit
l1t::MicroGMTAbsoluteIsolationCheckLUT::MicroGMTAbsoluteIsolationCheckLUT ( l1t::LUT lut)
explicit
l1t::MicroGMTAbsoluteIsolationCheckLUT::~MicroGMTAbsoluteIsolationCheckLUT ( )
inlineoverride

Definition at line 14 of file MicroGMTAbsoluteIsolationCheckLUT.h.

References CastorDataFrameFilter_impl::energySum(), and lookup().

14 {};

Member Function Documentation

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

Referenced by unHashInput().

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

Definition at line 19 of file MicroGMTAbsoluteIsolationCheckLUT.h.

References CastorDataFrameFilter_impl::energySum().

19 { return energySum; };
double energySum(const DataFrame &df, int fs, int ls)
int l1t::MicroGMTAbsoluteIsolationCheckLUT::lookup ( int  energySum) const

Definition at line 25 of file MicroGMTAbsoluteIsolationCheckLUT.cc.

References l1t::MicroGMTLUT::checkedInput(), l1t::MicroGMTLUT::lookupPacked(), and m_energySumInWidth.

Referenced by ~MicroGMTAbsoluteIsolationCheckLUT().

26 {
28 }
virtual int lookupPacked(int input) const
Definition: MicroGMTLUT.cc:37
int checkedInput(unsigned in, unsigned maxWidth) const
Definition: MicroGMTLUT.cc:62
double energySum(const DataFrame &df, int fs, int ls)
void l1t::MicroGMTAbsoluteIsolationCheckLUT::unHashInput ( int  input,
int &  energySum 
) const
inline

Definition at line 20 of file MicroGMTAbsoluteIsolationCheckLUT.h.

References getParameters(), and input.

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

Member Data Documentation

int l1t::MicroGMTAbsoluteIsolationCheckLUT::m_energySumInWidth
private