L1Trigger
RPCTechnicalTrigger
interface
RBCLogicUnit.h
Go to the documentation of this file.
1
#ifndef RBCLOGICUNIT_H
2
#define RBCLOGICUNIT_H 1
3
4
// Include files
5
#include "
L1Trigger/RPCTechnicalTrigger/interface/LogicTool.h
"
6
#include "
L1Trigger/RPCTechnicalTrigger/interface/RPCLogicUnit.h
"
7
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCLogic.h
"
8
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCInput.h
"
9
10
#include <bitset>
11
19
class
RBCLogicUnit
:
public
RPCLogicUnit
{
20
public
:
22
RBCLogicUnit
();
23
24
RBCLogicUnit
(
const
char
*);
25
26
~RBCLogicUnit
()
override
;
27
28
bool
initialise
();
29
30
void
setlogic
(
const
char
*);
31
32
void
setBoardSpecs
(
const
RBCBoardSpecs::RBCBoardConfig
&);
33
34
void
run
(
const
RBCInput
&, std::bitset<2>&);
35
36
std::bitset<6>*
getlayersignal
(
int
_idx) {
return
m_layersignal
[_idx]; };
37
38
bool
isTriggered
() {
return
m_logic
->m_triggersignal; };
39
40
protected
:
41
private
:
42
std::string
m_logtype
;
43
44
std::bitset<6>*
m_layersignal
[2];
45
46
std::unique_ptr<RBCLogic>
m_logic
;
47
48
bool
m_debug
;
49
};
50
#endif // RBCLOGICUNIT_H
RBCLogicUnit::m_logic
std::unique_ptr< RBCLogic > m_logic
Definition:
RBCLogicUnit.h:46
RBCLogicUnit::~RBCLogicUnit
~RBCLogicUnit() override
Destructor.
Definition:
RBCLogicUnit.cc:21
RPCLogicUnit
Definition:
RPCLogicUnit.h:13
RBCLogic.h
RBCLogicUnit::m_layersignal
std::bitset< 6 > * m_layersignal[2]
Definition:
RBCLogicUnit.h:44
RPCLogicUnit.h
RBCLogicUnit::getlayersignal
std::bitset< 6 > * getlayersignal(int _idx)
Definition:
RBCLogicUnit.h:36
RBCLogicUnit::initialise
bool initialise()
Definition:
RBCLogicUnit.cc:24
RBCLogicUnit::m_logtype
std::string m_logtype
Definition:
RBCLogicUnit.h:38
RBCLogicUnit
Definition:
RBCLogicUnit.h:19
RBCInput.h
RBCLogicUnit::setBoardSpecs
void setBoardSpecs(const RBCBoardSpecs::RBCBoardConfig &)
Definition:
RBCLogicUnit.cc:40
RBCLogicUnit::RBCLogicUnit
RBCLogicUnit()
Standard constructor.
Definition:
RBCLogicUnit.cc:15
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RBCLogicUnit::setlogic
void setlogic(const char *)
Definition:
RBCLogicUnit.cc:38
RBCBoardSpecs::RBCBoardConfig
Definition:
RBCBoardSpecs.h:22
RBCLogicUnit::run
void run(const RBCInput &, std::bitset< 2 > &)
Definition:
RBCLogicUnit.cc:42
LogicTool.h
RBCLogicUnit::m_debug
bool m_debug
Definition:
RBCLogicUnit.h:48
RBCLogicUnit::isTriggered
bool isTriggered()
Definition:
RBCLogicUnit.h:38
RBCInput
Definition:
RBCInput.h:22
Generated for CMSSW Reference Manual by
1.8.16