Main Page
Namespaces
Classes
Package Documentation
src
L1Trigger
RPCTechnicalTrigger
interface
TTULogicUnit.h
Go to the documentation of this file.
1
#ifndef TTULOGICUNIT_H
2
#define TTULOGICUNIT_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/TTULogic.h
"
8
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTUInput.h
"
9
10
#include "
CondFormats/RPCObjects/interface/TTUBoardSpecs.h
"
11
12
#include <bitset>
13
21
class
TTULogicUnit
:
public
RPCLogicUnit
{
22
public
:
24
TTULogicUnit
( );
25
26
TTULogicUnit
(
const
char
* );
27
28
virtual
~TTULogicUnit
( );
29
30
bool
initialise
();
31
32
void
setlogic
(
const
char
* );
33
34
void
setBoardSpecs
(
const
TTUBoardSpecs::TTUBoardConfig
& );
35
36
void
run
(
const
TTUInput
& );
37
38
void
run
(
const
TTUInput
& ,
int
);
39
40
bool
isTriggered
() {
41
return
m_logic
->
m_triggersignal
;
42
};
43
44
protected
:
45
46
private
:
47
48
std::string
m_logtype
;
49
50
TTULogic
*
m_logic
;
51
52
LogicTool<TTULogic>
*
m_logtool
;
53
54
bool
m_debug
;
55
56
};
57
#endif // TTUPAC_H
TTULogicUnit::m_logtype
std::string m_logtype
Definition:
TTULogicUnit.h:42
TTULogicUnit::m_logic
TTULogic * m_logic
Definition:
TTULogicUnit.h:50
TTULogic
Definition:
TTULogic.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
TTULogicUnit::isTriggered
bool isTriggered()
Definition:
TTULogicUnit.h:40
TTULogic.h
RPCLogicUnit
Definition:
RPCLogicUnit.h:13
TTULogicUnit::~TTULogicUnit
virtual ~TTULogicUnit()
Destructor.
Definition:
TTULogicUnit.cc:34
TTULogicUnit::m_logtool
LogicTool< TTULogic > * m_logtool
Definition:
TTULogicUnit.h:52
RPCLogicUnit.h
TTULogicUnit::initialise
bool initialise()
Definition:
TTULogicUnit.cc:44
TTULogicUnit::run
void run(const TTUInput &)
Definition:
TTULogicUnit.cc:78
LogicTool< TTULogic >
TTULogicUnit::setlogic
void setlogic(const char *)
Definition:
TTULogicUnit.cc:64
TTULogicUnit::TTULogicUnit
TTULogicUnit()
Standard constructor.
Definition:
TTULogicUnit.cc:17
TTULogicUnit::setBoardSpecs
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition:
TTULogicUnit.cc:71
TTULogic::m_triggersignal
bool m_triggersignal
Definition:
TTULogic.h:34
TTUBoardSpecs::TTUBoardConfig
Definition:
TTUBoardSpecs.h:25
TTUBoardSpecs.h
TTULogicUnit::m_debug
bool m_debug
Definition:
TTULogicUnit.h:54
LogicTool.h
TTULogicUnit
Definition:
TTULogicUnit.h:21
TTUInput.h
TTUInput
Definition:
TTUInput.h:17
Generated for CMSSW Reference Manual by
1.8.11