Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
RPCTechnicalTrigger
interface
TTULogicUnit.h
Go to the documentation of this file.
1
// $Id: TTULogicUnit.h,v 1.5 2009/08/09 11:11:36 aosorio Exp $
2
#ifndef TTULOGICUNIT_H
3
#define TTULOGICUNIT_H 1
4
5
// Include files
6
#include "
L1Trigger/RPCTechnicalTrigger/interface/LogicTool.h
"
7
#include "
L1Trigger/RPCTechnicalTrigger/interface/RPCLogicUnit.h
"
8
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTULogic.h
"
9
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTUInput.h
"
10
11
#include "
CondFormats/RPCObjects/interface/TTUBoardSpecs.h
"
12
13
#include <bitset>
14
22
class
TTULogicUnit
:
public
RPCLogicUnit
{
23
public
:
25
TTULogicUnit
( );
26
27
TTULogicUnit
(
const
char
* );
28
29
virtual
~TTULogicUnit
( );
30
31
bool
initialise
();
32
33
void
setlogic
(
const
char
* );
34
35
void
setBoardSpecs
(
const
TTUBoardSpecs::TTUBoardConfig
& );
36
37
void
run
(
const
TTUInput
& );
38
39
void
run
(
const
TTUInput
& ,
int
);
40
41
bool
isTriggered
() {
42
return
m_logic
->
m_triggersignal
;
43
};
44
45
protected
:
46
47
private
:
48
49
std::string
m_logtype
;
50
51
TTULogic
*
m_logic
;
52
53
LogicTool<TTULogic>
*
m_logtool
;
54
55
bool
m_debug
;
56
57
};
58
#endif // TTUPAC_H
TTULogicUnit::m_logtype
std::string m_logtype
Definition:
TTULogicUnit.h:43
TTULogicUnit::m_logic
TTULogic * m_logic
Definition:
TTULogicUnit.h:51
TTULogic
Definition:
TTULogic.h:20
TTULogicUnit::isTriggered
bool isTriggered()
Definition:
TTULogicUnit.h:41
TTULogic.h
RPCLogicUnit
Definition:
RPCLogicUnit.h:14
TTULogicUnit::~TTULogicUnit
virtual ~TTULogicUnit()
Destructor.
Definition:
TTULogicUnit.cc:35
TTULogicUnit::m_logtool
LogicTool< TTULogic > * m_logtool
Definition:
TTULogicUnit.h:53
RPCLogicUnit.h
TTULogicUnit::initialise
bool initialise()
Definition:
TTULogicUnit.cc:45
TTULogicUnit::run
void run(const TTUInput &)
Definition:
TTULogicUnit.cc:79
LogicTool< TTULogic >
TTULogicUnit::setlogic
void setlogic(const char *)
Definition:
TTULogicUnit.cc:65
TTULogicUnit::TTULogicUnit
TTULogicUnit()
Standard constructor.
Definition:
TTULogicUnit.cc:18
TTULogicUnit::setBoardSpecs
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition:
TTULogicUnit.cc:72
TTULogic::m_triggersignal
bool m_triggersignal
Definition:
TTULogic.h:35
TTUBoardSpecs::TTUBoardConfig
Definition:
TTUBoardSpecs.h:23
TTUBoardSpecs.h
TTULogicUnit::m_debug
bool m_debug
Definition:
TTULogicUnit.h:55
LogicTool.h
TTULogicUnit
Definition:
TTULogicUnit.h:22
TTUInput.h
TTUInput
Definition:
TTUInput.h:18
Generated for CMSSW Reference Manual by
1.8.5