L1Trigger
L1TMuon
interface
MicroGMTLUT.h
Go to the documentation of this file.
1
#ifndef __l1microgmtlut_h
2
#define __l1microgmtlut_h
3
4
#include <iostream>
5
#include <fstream>
6
#include <sstream>
7
#include <bitset>
8
#include <vector>
9
10
#include "
CondFormats/L1TObjects/interface/LUT.h
"
11
#include "
L1Trigger/L1TMuon/interface/MicroGMTConfiguration.h
"
12
13
namespace
l1t
{
14
class
MicroGMTLUT
:
public
LUT
{
15
public
:
16
MicroGMTLUT
() :
m_totalInWidth
(0),
m_outWidth
(0),
m_initialized
(
false
){};
17
MicroGMTLUT
(
l1t::LUT
* lut);
18
virtual
~MicroGMTLUT
(){};
19
20
// should be implemented in each daughter!
21
// This function is the minimum that should be provided
22
virtual
int
lookupPacked
(
int
input
)
const
;
23
24
// populates the m_contents map.
25
void
initialize
();
26
27
int
checkedInput
(
unsigned
in
,
unsigned
maxWidth
)
const
;
28
29
// I/O functions
30
void
save
(std::ofstream&
output
);
31
int
load
(
const
std::string
& inFileName);
32
33
protected
:
34
unsigned
m_totalInWidth
;
35
unsigned
m_outWidth
;
36
std::vector<MicroGMTConfiguration::input_t>
m_inputs
;
37
bool
m_initialized
;
38
};
39
}
// namespace l1t
40
41
#endif
/* defined(__l1microgmtlut_h) */
input
static const std::string input
Definition:
EdmProvDump.cc:48
LUT.h
funct::false
false
Definition:
Factorize.h:29
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
l1t::MicroGMTLUT::lookupPacked
virtual int lookupPacked(int input) const
Definition:
MicroGMTLUT.cc:30
l1t::MicroGMTLUT::initialize
void initialize()
Definition:
MicroGMTLUT.cc:38
l1t::MicroGMTLUT::save
void save(std::ofstream &output)
Definition:
MicroGMTLUT.cc:13
MicroGMTConfiguration.h
l1t::MicroGMTLUT::checkedInput
int checkedInput(unsigned in, unsigned maxWidth) const
Definition:
MicroGMTLUT.cc:51
l1t
delete x;
Definition:
CaloConfig.h:22
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
l1t::MicroGMTLUT
Definition:
MicroGMTLUT.h:14
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
l1t::LUT
Definition:
LUT.h:29
l1t::MicroGMTLUT::~MicroGMTLUT
virtual ~MicroGMTLUT()
Definition:
MicroGMTLUT.h:18
SiStripMonitorCluster_cfi.maxWidth
maxWidth
Definition:
SiStripMonitorCluster_cfi.py:143
l1t::MicroGMTLUT::m_inputs
std::vector< MicroGMTConfiguration::input_t > m_inputs
Definition:
MicroGMTLUT.h:36
Generated for CMSSW Reference Manual by
1.8.16