L1Trigger
RPCTechnicalTrigger
src
TTUSectorORLogic.cc
Go to the documentation of this file.
1
// Include files
2
3
// local
4
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTUSectorORLogic.h
"
5
6
//-----------------------------------------------------------------------------
7
// Implementation file for class : TTUSectorORLogic
8
//
9
// 2009-06-10 : Andres Felipe Osorio Oliveros
10
//-----------------------------------------------------------------------------
11
12
//=============================================================================
13
// Standard constructor, initializes variables
14
//=============================================================================
15
TTUSectorORLogic::TTUSectorORLogic
() {
16
m_triggersignal
=
false
;
17
18
m_maxsectors
= 12;
19
20
m_debug
=
false
;
21
}
22
//=============================================================================
23
// Destructor
24
//=============================================================================
25
TTUSectorORLogic::~TTUSectorORLogic
() {}
26
27
//=============================================================================
28
void
TTUSectorORLogic::setBoardSpecs
(
const
TTUBoardSpecs::TTUBoardConfig
& boardspecs) {}
29
30
bool
TTUSectorORLogic::process
(
const
TTUInput
& inmap) {
31
if
(
m_debug
)
32
std::cout
<<
"TTUSectorORLogic::process starts"
<< std::endl;
33
34
m_triggersignal
=
false
;
35
36
for
(
int
i
= 0;
i
<
m_maxsectors
; ++
i
)
37
m_triggersignal
|= inmap.
m_rbcDecision
[
i
];
38
39
if
(
m_debug
)
40
std::cout
<<
"TTUSectorORLogic "
<<
m_triggersignal
<< std::endl;
41
42
if
(
m_debug
)
43
std::cout
<<
"TTUSectorORLogic>process ends"
<< std::endl;
44
45
return
true
;
46
}
mps_fire.i
i
Definition:
mps_fire.py:428
TTUSectorORLogic::process
bool process(const TTUInput &) override
Definition:
TTUSectorORLogic.cc:30
TTUInput::m_rbcDecision
std::bitset< 12 > m_rbcDecision
Definition:
TTUInput.h:37
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
if
if(0==first)
Definition:
CAHitNtupletGeneratorKernelsImpl.h:48
TTUSectorORLogic.h
TTUSectorORLogic::~TTUSectorORLogic
~TTUSectorORLogic() override
Destructor.
Definition:
TTUSectorORLogic.cc:25
TTUSectorORLogic::m_debug
bool m_debug
Definition:
TTUSectorORLogic.h:34
TTUInput
Definition:
TTUInput.h:18
TTUSectorORLogic::setBoardSpecs
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &) override
Definition:
TTUSectorORLogic.cc:28
TTUBoardSpecs::TTUBoardConfig
Definition:
TTUBoardSpecs.h:25
TTUSectorORLogic::TTUSectorORLogic
TTUSectorORLogic()
Standard constructor.
Definition:
TTUSectorORLogic.cc:15
TTUSectorORLogic::m_maxsectors
int m_maxsectors
Definition:
TTUSectorORLogic.h:36
TTULogic::m_triggersignal
bool m_triggersignal
Definition:
TTULogic.h:30
Generated for CMSSW Reference Manual by
1.8.16