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