src
L1Trigger
L1TMuonEndCap
interface
PtLUTWriter.h
Go to the documentation of this file.
1
#ifndef L1TMuonEndCap_PtLUTWriter_h
2
#define L1TMuonEndCap_PtLUTWriter_h
3
4
#include <cstdint>
5
#include <string>
6
#include <vector>
7
8
class
PtLUTWriter
{
9
public
:
10
explicit
PtLUTWriter
();
11
~PtLUTWriter
();
12
13
typedef
uint16_t
content_t
;
14
typedef
uint64_t
address_t
;
15
typedef
std::vector<content_t>
table_t
;
16
17
void
write
(
const
std::string
& lut_full_path,
const
uint16_t num_,
const
uint16_t denom_)
const
;
18
19
void
push_back
(
const
content_t
&
pt
);
20
21
void
set_version
(
content_t
ver) {
version_
= ver; }
22
23
content_t
get_version
()
const
{
return
version_
; }
24
25
private
:
26
mutable
table_t
ptlut_
;
27
content_t
version_
;
28
bool
ok_
;
29
};
30
31
#endif
PtLUTWriter::ok_
bool ok_
Definition:
PtLUTWriter.h:28
PtLUTWriter::PtLUTWriter
PtLUTWriter()
Definition:
PtLUTWriter.cc:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
PtLUTWriter::set_version
void set_version(content_t ver)
Definition:
PtLUTWriter.h:21
PtLUTWriter::~PtLUTWriter
~PtLUTWriter()
Definition:
PtLUTWriter.cc:17
PtLUTWriter::table_t
std::vector< content_t > table_t
Definition:
PtLUTWriter.h:15
PtLUTWriter::write
void write(const std::string &lut_full_path, const uint16_t num_, const uint16_t denom_) const
Definition:
PtLUTWriter.cc:19
PtLUTWriter::address_t
uint64_t address_t
Definition:
PtLUTWriter.h:14
PtLUTWriter::version_
content_t version_
Definition:
PtLUTWriter.h:27
PtLUTWriter
Definition:
PtLUTWriter.h:8
PtLUTWriter::content_t
uint16_t content_t
Definition:
PtLUTWriter.h:13
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:13
PtLUTWriter::get_version
content_t get_version() const
Definition:
PtLUTWriter.h:23
PtLUTWriter::ptlut_
table_t ptlut_
Definition:
PtLUTWriter.h:26
PtLUTWriter::push_back
void push_back(const content_t &pt)
Definition:
PtLUTWriter.cc:72
Generated for CMSSW Reference Manual by
1.8.14