Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
}
i
int i
Definition:
DBlmapReader.cc:9
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:255
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
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
operator>>
std::istream & operator>>(std::istream &input, CLHEP::HepGenMatrix &matrix)
Definition:
matrixSaver.cc:111
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.5