Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
L1Trigger
RPCTechnicalTrigger
interface
RBCEmulator.h
Go to the documentation of this file.
1
#ifndef RBCEMULATOR_H
2
#define RBCEMULATOR_H 1
3
4
// Include files
5
#include "
L1Trigger/RPCTechnicalTrigger/interface/LogicTool.h
"
6
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCId.h
"
7
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCInput.h
"
8
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCConfiguration.h
"
9
#include "
L1Trigger/RPCTechnicalTrigger/interface/ProcessInputSignal.h
"
10
#include "
L1Trigger/RPCTechnicalTrigger/interface/RPCInputSignal.h
"
11
12
#include "
CondFormats/RPCObjects/interface/RBCBoardSpecs.h
"
13
14
#include <memory>
25
class
RBCEmulator
{
26
public
:
28
RBCEmulator
();
29
30
RBCEmulator
(
const
char
*);
31
32
RBCEmulator
(
const
char
*,
const
char
*);
33
34
RBCEmulator
(
const
char
*,
const
char
*,
int
,
int
*);
35
36
void
setSpecifications
(
const
RBCBoardSpecs
*);
37
38
bool
initialise
();
39
40
void
setid
(
int
,
int
*);
41
42
void
emulate
();
43
44
void
emulate
(
RBCInput
*);
45
46
void
reset
();
47
48
std::bitset<6>*
getlayersignal
(
int
idx
) {
return
m_layersignal
[
idx
]; };
49
50
bool
getdecision
(
int
idx
)
const
{
return
m_decision
[
idx
]; };
51
52
void
printinfo
()
const
;
53
54
void
printlayerinfo
()
const
;
55
56
const
RBCId
&
rbcinfo
()
const
{
return
m_rbcinfo
; }
57
58
protected
:
59
private
:
60
RBCId
m_rbcinfo
;
61
62
std::unique_ptr<ProcessInputSignal>
m_signal
;
63
64
std::unique_ptr<RBCConfiguration>
m_rbcconf
;
65
66
RBCInput
m_input
;
67
68
std::bitset<6>*
m_layersignal
[2];
69
70
std::bitset<2>
m_decision
;
71
72
std::array<std::bitset<6>, 2>
m_layersignalVec
;
73
74
//...
75
std::string
m_logtype
;
76
77
bool
m_debug
;
78
};
79
#endif // RBCEMULATOR_H
RBCEmulator::printlayerinfo
void printlayerinfo() const
Definition:
RBCEmulator.cc:143
RBCBoardSpecs.h
RBCEmulator::m_signal
std::unique_ptr< ProcessInputSignal > m_signal
Definition:
RBCEmulator.h:62
RBCEmulator::initialise
bool initialise()
Definition:
RBCEmulator.cc:50
RBCEmulator::printinfo
void printinfo() const
Definition:
RBCEmulator.cc:136
RBCEmulator::getlayersignal
std::bitset< 6 > * getlayersignal(int idx)
Definition:
RBCEmulator.h:48
heavyIonCSV_trainingSettings.idx
idx
Definition:
heavyIonCSV_trainingSettings.py:5
RBCEmulator::m_rbcconf
std::unique_ptr< RBCConfiguration > m_rbcconf
Definition:
RBCEmulator.h:64
RBCId.h
RBCEmulator::RBCEmulator
RBCEmulator()
Standard constructor.
Definition:
RBCEmulator.cc:18
ProcessInputSignal.h
RBCEmulator::m_logtype
std::string m_logtype
Definition:
RBCEmulator.h:75
RBCEmulator::m_layersignal
std::bitset< 6 > * m_layersignal[2]
Definition:
RBCEmulator.h:68
RBCConfiguration.h
RBCEmulator::m_debug
bool m_debug
Definition:
RBCEmulator.h:77
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RBCEmulator::m_layersignalVec
std::array< std::bitset< 6 >, 2 > m_layersignalVec
Definition:
RBCEmulator.h:72
RBCBoardSpecs
Definition:
RBCBoardSpecs.h:17
RBCEmulator::m_input
RBCInput m_input
Definition:
RBCEmulator.h:66
RBCInput.h
RBCEmulator::m_decision
std::bitset< 2 > m_decision
Definition:
RBCEmulator.h:70
RBCEmulator::getdecision
bool getdecision(int idx) const
Definition:
RBCEmulator.h:50
RBCEmulator::rbcinfo
const RBCId & rbcinfo() const
Definition:
RBCEmulator.h:56
RBCEmulator::m_rbcinfo
RBCId m_rbcinfo
Definition:
RBCEmulator.h:60
RBCEmulator::reset
void reset()
Definition:
RBCEmulator.cc:130
LogicTool.h
RBCEmulator::setid
void setid(int, int *)
Definition:
RBCEmulator.cc:64
RBCInput
Definition:
RBCInput.h:22
RBCEmulator
Definition:
RBCEmulator.h:25
RPCInputSignal.h
RBCId
Definition:
RBCId.h:16
RBCEmulator::emulate
void emulate()
Definition:
RBCEmulator.cc:66
RBCEmulator::setSpecifications
void setSpecifications(const RBCBoardSpecs *)
Definition:
RBCEmulator.cc:46
Generated for CMSSW Reference Manual by
1.8.16