Main Page
Namespaces
Classes
Package Documentation
L1Trigger
RPCTechnicalTrigger
src
RBCBoardSpecsIO.cc
Go to the documentation of this file.
1
// Include files
2
3
4
5
// local
6
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCBoardSpecsIO.h
"
7
8
//-----------------------------------------------------------------------------
9
// Implementation file for class : RBCBoardSpecsIO
10
//
11
// 2008-12-16 : Andres Osorio
12
//-----------------------------------------------------------------------------
13
14
//=============================================================================
15
// Standard constructor, initializes variables
16
//=============================================================================
17
RBCBoardSpecsIO::RBCBoardSpecsIO
( ) {
18
19
}
20
//=============================================================================
21
// Destructor
22
//=============================================================================
23
RBCBoardSpecsIO::~RBCBoardSpecsIO
() {}
24
25
//=============================================================================
26
std::istream&
operator>>
(std::istream & istr,
RBCBoardSpecsIO::RBCBoardConfig
& rhs)
27
{
28
29
std::string
logitype;
30
31
istr >> rhs.
m_Firmware
;
32
istr >> rhs.
m_WheelId
;
33
istr >> rhs.
m_Latency
;
34
istr >> rhs.
m_MayorityLevel
;
35
istr >> logitype ;
36
37
//...m_MaskedOrInput is a vector of size 30
38
for
(
int
i
=0;
i
< 30; ++
i
) {
39
int
mask
(0);
40
istr >>
mask
;
41
rhs.
m_MaskedOrInput
.push_back(mask);
42
}
43
44
//...m_ForcedOrInput is a vector of size 30
45
for
(
int
i
=0;
i
< 30; ++
i
) {
46
int
force
(0);
47
istr >>
force
;
48
rhs.
m_ForcedOrInput
.push_back(force);
49
}
50
51
rhs.
m_LogicType
= logitype;
52
53
return
istr;
54
55
}
56
RBCBoardSpecsIO::RBCBoardSpecsIO
RBCBoardSpecsIO()
Standard constructor.
Definition:
RBCBoardSpecsIO.cc:17
RBCBoardSpecs::RBCBoardConfig
Definition:
RBCBoardSpecs.h:23
mps_fire.i
i
Definition:
mps_fire.py:269
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
RBCBoardSpecsIO.h
RBCBoardSpecs::RBCBoardConfig::m_Latency
int m_Latency
Definition:
RBCBoardSpecs.h:31
RBCBoardSpecs::RBCBoardConfig::m_ForcedOrInput
std::vector< int > m_ForcedOrInput
Definition:
RBCBoardSpecs.h:35
RBCBoardSpecs::RBCBoardConfig::m_MaskedOrInput
std::vector< int > m_MaskedOrInput
Definition:
RBCBoardSpecs.h:34
RBCBoardSpecs::RBCBoardConfig::m_LogicType
std::string m_LogicType
Definition:
RBCBoardSpecs.h:37
RBCBoardSpecs::RBCBoardConfig::m_MayorityLevel
int m_MayorityLevel
Definition:
RBCBoardSpecs.h:32
RBCBoardSpecs::RBCBoardConfig::m_Firmware
int m_Firmware
Destructor.
Definition:
RBCBoardSpecs.h:27
RBCBoardSpecsIO::operator>>
friend std::istream & operator>>(std::istream &, RBCBoardConfig &)
RecoTauDiscriminantConfiguration.mask
mask
Definition:
RecoTauDiscriminantConfiguration.py:72
RBCBoardSpecsIO::~RBCBoardSpecsIO
~RBCBoardSpecsIO() override
Destructor.
Definition:
RBCBoardSpecsIO.cc:23
cmsStageWithFailover.force
force
Definition:
cmsStageWithFailover.py:17
RBCBoardSpecs::RBCBoardConfig::m_WheelId
int m_WheelId
Definition:
RBCBoardSpecs.h:30
Generated for CMSSW Reference Manual by
1.8.11