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.

18 { return energySum; };

References CastorDataFrameFilter_impl::energySum().

◆ lookup()

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

◆ unHashInput()

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

Definition at line 19 of file MicroGMTAbsoluteIsolationCheckLUT.h.

19 { energySum = input; };

References CastorDataFrameFilter_impl::energySum(), and input.

Member Data Documentation

◆ m_energySumInWidth

int l1t::MicroGMTAbsoluteIsolationCheckLUT::m_energySumInWidth
private
input
static const std::string input
Definition: EdmProvDump.cc:48
l1t::MicroGMTAbsoluteIsolationCheckLUT::m_energySumInWidth
int m_energySumInWidth
Definition: MicroGMTAbsoluteIsolationCheckLUT.h:24
l1t::MicroGMTLUT::lookupPacked
virtual int lookupPacked(int input) const
Definition: MicroGMTLUT.cc:30
CastorDataFrameFilter_impl::energySum
double energySum(const DataFrame &df, int fs, int ls)
Definition: CastorDataFrameFilter.cc:22
l1t::MicroGMTConfiguration::ENERGYSUM
Definition: MicroGMTConfiguration.h:28
l1t::MicroGMTLUT::checkedInput
int checkedInput(unsigned in, unsigned maxWidth) const
Definition: MicroGMTLUT.cc:51
l1t::MicroGMTLUT::m_initialized
bool m_initialized
Definition: MicroGMTLUT.h:37
l1t::MicroGMTLUT::m_totalInWidth
unsigned m_totalInWidth
Definition: MicroGMTLUT.h:34
l1t::MicroGMTLUT::MicroGMTLUT
MicroGMTLUT()
Definition: MicroGMTLUT.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::MicroGMTLUT::load
int load(const std::string &inFileName)
Definition: MicroGMTLUT.cc:15
l1t::MicroGMTLUT::m_outWidth
unsigned m_outWidth
Definition: MicroGMTLUT.h:35
alignmentValidation.fname
string fname
main script
Definition: alignmentValidation.py:959
l1t::MicroGMTLUT::m_inputs
std::vector< MicroGMTConfiguration::input_t > m_inputs
Definition: MicroGMTLUT.h:36