L1Trigger
L1TMuonEndCap
interface
PtLUTReader.h
Go to the documentation of this file.
1
#ifndef L1TMuonEndCap_PtLUTReader_h
2
#define L1TMuonEndCap_PtLUTReader_h
3
4
#include <cstdint>
5
#include <string>
6
#include <vector>
7
8
class
PtLUTReader
{
9
public
:
10
explicit
PtLUTReader
();
11
~PtLUTReader
();
12
13
typedef
uint16_t
content_t
;
14
typedef
uint64_t
address_t
;
15
typedef
std::vector<content_t>
table_t
;
16
17
void
read
(
const
std::string
& lut_full_path);
18
19
content_t
lookup
(
const
address_t
& address)
const
;
20
21
content_t
get_version
()
const
{
return
version_
; }
22
23
private
:
24
mutable
table_t
ptlut_
;
25
content_t
version_
;
26
bool
ok_
;
27
};
28
29
#endif
PtLUTReader::content_t
uint16_t content_t
Definition:
PtLUTReader.h:13
PtLUTReader::version_
content_t version_
Definition:
PtLUTReader.h:25
PtLUTReader
Definition:
PtLUTReader.h:8
PtLUTReader::lookup
content_t lookup(const address_t &address) const
Definition:
PtLUTReader.cc:60
PtLUTReader::address_t
uint64_t address_t
Definition:
PtLUTReader.h:14
PtLUTReader::table_t
std::vector< content_t > table_t
Definition:
PtLUTReader.h:15
PtLUTReader::ok_
bool ok_
Definition:
PtLUTReader.h:26
PtLUTReader::ptlut_
table_t ptlut_
Definition:
PtLUTReader.h:24
PtLUTReader::~PtLUTReader
~PtLUTReader()
Definition:
PtLUTReader.cc:11
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:13
PtLUTReader::get_version
content_t get_version() const
Definition:
PtLUTReader.h:21
PtLUTReader::read
void read(const std::string &lut_full_path)
Definition:
PtLUTReader.cc:13
PtLUTReader::PtLUTReader
PtLUTReader()
Definition:
PtLUTReader.cc:9
Generated for CMSSW Reference Manual by
1.8.16