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