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
// $Id: TTUSectorORLogic.cc,v 1.2 2009/08/09 11:11:37 aosorio Exp $
2
// Include files
3
4
5
6
// local
7
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTUSectorORLogic.h
"
8
9
//-----------------------------------------------------------------------------
10
// Implementation file for class : TTUSectorORLogic
11
//
12
// 2009-06-10 : Andres Felipe Osorio Oliveros
13
//-----------------------------------------------------------------------------
14
15
//=============================================================================
16
// Standard constructor, initializes variables
17
//=============================================================================
18
TTUSectorORLogic::TTUSectorORLogic
( ) {
19
20
m_triggersignal
=
false
;
21
22
m_maxsectors
= 12;
23
24
m_debug
=
false
;
25
26
}
27
//=============================================================================
28
// Destructor
29
//=============================================================================
30
TTUSectorORLogic::~TTUSectorORLogic
() {}
31
32
//=============================================================================
33
void
TTUSectorORLogic::setBoardSpecs
(
const
TTUBoardSpecs::TTUBoardConfig
& boardspecs )
34
{
35
36
37
}
38
39
bool
TTUSectorORLogic::process
(
const
TTUInput
& inmap )
40
{
41
42
if
(
m_debug
)
std::cout
<<
"TTUSectorORLogic::process starts"
<< std::endl;
43
44
m_triggersignal
=
false
;
45
46
for
(
int
i
=0;
i
<
m_maxsectors
; ++
i
)
47
m_triggersignal
|= inmap.
m_rbcDecision
[
i
];
48
49
if
(
m_debug
)
50
std::cout
<<
"TTUSectorORLogic "
<<
m_triggersignal
<< std::endl;
51
52
if
(
m_debug
)
std::cout
<<
"TTUSectorORLogic>process ends"
<< std::endl;
53
54
return
true
;
55
56
}
57
TTUSectorORLogic::TTUSectorORLogic
TTUSectorORLogic()
Standard constructor.
Definition:
TTUSectorORLogic.cc:18
i
int i
Definition:
DBlmapReader.cc:9
TTUSectorORLogic::m_maxsectors
int m_maxsectors
Definition:
TTUSectorORLogic.h:39
TTUSectorORLogic::setBoardSpecs
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
Definition:
TTUSectorORLogic.cc:33
TTUInput::m_rbcDecision
std::bitset< 12 > m_rbcDecision
Definition:
TTUInput.h:60
TTUSectorORLogic::~TTUSectorORLogic
virtual ~TTUSectorORLogic()
Destructor.
Definition:
TTUSectorORLogic.cc:30
TTUSectorORLogic::process
bool process(const TTUInput &)
Definition:
TTUSectorORLogic.cc:39
TTULogic::m_triggersignal
bool m_triggersignal
Definition:
TTULogic.h:35
TTUSectorORLogic.h
TTUBoardSpecs::TTUBoardConfig
Definition:
TTUBoardSpecs.h:23
TTUSectorORLogic::m_debug
bool m_debug
Definition:
TTUSectorORLogic.h:37
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:121
TTUInput
Definition:
TTUInput.h:18
Generated for CMSSW Reference Manual by
1.8.5