Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
RPCTechnicalTrigger
src
TTUSectorORLogic.cc
Go to the documentation of this file.
1
// Include files
2
3
4
5
// local
6
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTUSectorORLogic.h
"
7
8
//-----------------------------------------------------------------------------
9
// Implementation file for class : TTUSectorORLogic
10
//
11
// 2009-06-10 : Andres Felipe Osorio Oliveros
12
//-----------------------------------------------------------------------------
13
14
//=============================================================================
15
// Standard constructor, initializes variables
16
//=============================================================================
17
TTUSectorORLogic::TTUSectorORLogic
( ) {
18
19
m_triggersignal
=
false
;
20
21
m_maxsectors
= 12;
22
23
m_debug
=
false
;
24
25
}
26
//=============================================================================
27
// Destructor
28
//=============================================================================
29
TTUSectorORLogic::~TTUSectorORLogic
() {}
30
31
//=============================================================================
32
void
TTUSectorORLogic::setBoardSpecs
(
const
TTUBoardSpecs::TTUBoardConfig
& boardspecs )
33
{
34
35
36
}
37
38
bool
TTUSectorORLogic::process
(
const
TTUInput
& inmap )
39
{
40
41
if
(
m_debug
)
std::cout
<<
"TTUSectorORLogic::process starts"
<< std::endl;
42
43
m_triggersignal
=
false
;
44
45
for
(
int
i
=0;
i
<
m_maxsectors
; ++
i
)
46
m_triggersignal
|= inmap.
m_rbcDecision
[
i
];
47
48
if
(
m_debug
)
49
std::cout
<<
"TTUSectorORLogic "
<<
m_triggersignal
<< std::endl;
50
51
if
(
m_debug
)
std::cout
<<
"TTUSectorORLogic>process ends"
<< std::endl;
52
53
return
true
;
54
55
}
56
TTUSectorORLogic::TTUSectorORLogic
TTUSectorORLogic()
Standard constructor.
Definition:
TTUSectorORLogic.cc:17
i
int i
Definition:
DBlmapReader.cc:9
TTUSectorORLogic::m_maxsectors
int m_maxsectors
Definition:
TTUSectorORLogic.h:38
TTUSectorORLogic::setBoardSpecs
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition:
TTUSectorORLogic.cc:32
TTUInput::m_rbcDecision
std::bitset< 12 > m_rbcDecision
Definition:
TTUInput.h:59
TTUSectorORLogic::~TTUSectorORLogic
virtual ~TTUSectorORLogic()
Destructor.
Definition:
TTUSectorORLogic.cc:29
TTUSectorORLogic::process
bool process(const TTUInput &)
Definition:
TTUSectorORLogic.cc:38
TTULogic::m_triggersignal
bool m_triggersignal
Definition:
TTULogic.h:34
TTUSectorORLogic.h
TTUBoardSpecs::TTUBoardConfig
Definition:
TTUBoardSpecs.h:25
TTUSectorORLogic::m_debug
bool m_debug
Definition:
TTUSectorORLogic.h:36
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:145
TTUInput
Definition:
TTUInput.h:17
Generated for CMSSW Reference Manual by
1.8.5