L1Trigger
RPCTechnicalTrigger
src
TTUBoardSpecsIO.cc
Go to the documentation of this file.
1
// Include files
2
3
// local
4
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTUBoardSpecsIO.h
"
5
6
//-----------------------------------------------------------------------------
7
// Implementation file for class : TTUBoardSpecsIO
8
//
9
// 2008-12-16 : Andres Osorio
10
//-----------------------------------------------------------------------------
11
12
//=============================================================================
13
// Standard constructor, initializes variables
14
//=============================================================================
15
TTUBoardSpecsIO::TTUBoardSpecsIO
() {}
16
//=============================================================================
17
// Destructor
18
//=============================================================================
19
TTUBoardSpecsIO::~TTUBoardSpecsIO
() {}
20
21
//=============================================================================
22
std::istream &
operator>>
(std::istream &istr,
TTUBoardSpecsIO::TTUBoardConfig
&rhs) {
23
std::string
logitype;
24
25
istr >> rhs.
m_runId
;
26
istr >> rhs.
m_runType
;
27
istr >> rhs.
m_triggerMode
;
28
istr >> rhs.
m_Firmware
;
29
istr >> rhs.
m_LengthOfFiber
;
30
istr >> rhs.
m_Delay
;
31
istr >> rhs.
m_MaxNumWheels
;
32
istr >> rhs.
m_Wheel1Id
;
33
istr >> rhs.
m_Wheel2Id
;
34
istr >> logitype;
35
istr >> rhs.
m_TrackLength
;
36
37
//...m_MaskedSectors is a vector of size 12
38
for
(
int
i
= 0;
i
< 12; ++
i
) {
39
int
mask
(0);
40
istr >>
mask
;
41
rhs.
m_MaskedSectors
.push_back(
mask
);
42
}
43
44
//...m_ForcedSectors is a vector of size 12
45
for
(
int
i
= 0;
i
< 12; ++
i
) {
46
int
force
(0);
47
istr >>
force
;
48
rhs.
m_ForcedSectors
.push_back(
force
);
49
}
50
51
rhs.
m_LogicType
= logitype;
52
53
return
istr;
54
}
TTUBoardSpecsIO::~TTUBoardSpecsIO
~TTUBoardSpecsIO() override
Destructor.
Definition:
TTUBoardSpecsIO.cc:19
mps_fire.i
i
Definition:
mps_fire.py:429
TTUBoardSpecs::TTUBoardConfig::m_LogicType
std::string m_LogicType
Definition:
TTUBoardSpecs.h:41
TTUBoardSpecs::TTUBoardConfig::m_Delay
int m_Delay
Definition:
TTUBoardSpecs.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TTUBoardSpecs::TTUBoardConfig::m_Wheel2Id
int m_Wheel2Id
Definition:
TTUBoardSpecs.h:35
gpuClustering::pixelStatus::mask
constexpr uint32_t mask
Definition:
gpuClustering.h:24
TTUBoardSpecs::TTUBoardConfig::m_ForcedSectors
std::vector< int > m_ForcedSectors
Definition:
TTUBoardSpecs.h:39
TTUBoardSpecs::TTUBoardConfig::m_TrackLength
int m_TrackLength
Definition:
TTUBoardSpecs.h:36
RPCTechTriggerConfig::m_runId
int m_runId
Destructor.
Definition:
RPCTechTriggerConfig.h:32
TTUBoardSpecs::TTUBoardConfig::m_LengthOfFiber
int m_LengthOfFiber
Definition:
TTUBoardSpecs.h:31
TTUBoardSpecs::TTUBoardConfig::m_MaskedSectors
std::vector< int > m_MaskedSectors
Definition:
TTUBoardSpecs.h:38
TTUBoardSpecs::TTUBoardConfig::m_Wheel1Id
int m_Wheel1Id
Definition:
TTUBoardSpecs.h:34
TTUBoardSpecs::TTUBoardConfig::m_MaxNumWheels
int m_MaxNumWheels
Definition:
TTUBoardSpecs.h:33
TTUBoardSpecsIO::TTUBoardSpecsIO
TTUBoardSpecsIO()
Standard constructor.
Definition:
TTUBoardSpecsIO.cc:15
cmsStageWithFailover.force
force
Definition:
cmsStageWithFailover.py:19
TTUBoardSpecsIO.h
TTUBoardSpecs::TTUBoardConfig
Definition:
TTUBoardSpecs.h:25
RPCTechTriggerConfig::m_triggerMode
int m_triggerMode
Definition:
RPCTechTriggerConfig.h:36
TTUBoardSpecs::TTUBoardConfig::m_Firmware
int m_Firmware
Definition:
TTUBoardSpecs.h:28
operator>>
std::istream & operator>>(std::istream &istr, TTUBoardSpecsIO::TTUBoardConfig &rhs)
Definition:
TTUBoardSpecsIO.cc:22
RPCTechTriggerConfig::m_runType
int m_runType
Definition:
RPCTechTriggerConfig.h:35
Generated for CMSSW Reference Manual by
1.8.14