Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1Trigger
RPCTechnicalTrigger
src
TTUBoardSpecsIO.cc
Go to the documentation of this file.
1
// $Id: TTUBoardSpecsIO.cc,v 1.1 2009/06/04 11:52:59 aosorio Exp $
2
// Include files
3
4
5
6
// local
7
#include "
L1Trigger/RPCTechnicalTrigger/interface/TTUBoardSpecsIO.h
"
8
9
//-----------------------------------------------------------------------------
10
// Implementation file for class : TTUBoardSpecsIO
11
//
12
// 2008-12-16 : Andres Osorio
13
//-----------------------------------------------------------------------------
14
15
//=============================================================================
16
// Standard constructor, initializes variables
17
//=============================================================================
18
TTUBoardSpecsIO::TTUBoardSpecsIO
( ) {
19
20
}
21
//=============================================================================
22
// Destructor
23
//=============================================================================
24
TTUBoardSpecsIO::~TTUBoardSpecsIO
() {}
25
26
//=============================================================================
27
std::istream&
operator>>
(std::istream &istr,
TTUBoardSpecsIO::TTUBoardConfig
&rhs)
28
{
29
30
std::string
logitype;
31
32
istr >> rhs.
m_runId
;
33
istr >> rhs.
m_runType
;
34
istr >> rhs.
m_triggerMode
;
35
istr >> rhs.
m_Firmware
;
36
istr >> rhs.
m_LengthOfFiber
;
37
istr >> rhs.
m_Delay
;
38
istr >> rhs.
m_MaxNumWheels
;
39
istr >> rhs.
m_Wheel1Id
;
40
istr >> rhs.
m_Wheel2Id
;
41
istr >> logitype ;
42
istr >> rhs.
m_TrackLength
;
43
44
//...m_MaskedSectors is a vector of size 12
45
for
(
int
i
=0;
i
< 12; ++
i
) {
46
int
mask(0);
47
istr >> mask;
48
rhs.
m_MaskedSectors
.push_back(mask);
49
}
50
51
//...m_ForcedSectors is a vector of size 12
52
for
(
int
i
=0;
i
< 12; ++
i
) {
53
int
force(0);
54
istr >> force;
55
rhs.
m_ForcedSectors
.push_back(force);
56
}
57
58
rhs.
m_LogicType
= logitype;
59
60
return
istr;
61
62
}
i
int i
Definition:
DBlmapReader.cc:9
TTUBoardSpecs::TTUBoardConfig::m_LogicType
std::string m_LogicType
Definition:
TTUBoardSpecs.h:39
TTUBoardSpecs::TTUBoardConfig::m_Delay
int m_Delay
Definition:
TTUBoardSpecs.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
TTUBoardSpecs::TTUBoardConfig::m_Wheel2Id
int m_Wheel2Id
Definition:
TTUBoardSpecs.h:33
TTUBoardSpecs::TTUBoardConfig::m_ForcedSectors
std::vector< int > m_ForcedSectors
Definition:
TTUBoardSpecs.h:37
TTUBoardSpecs::TTUBoardConfig::m_TrackLength
int m_TrackLength
Definition:
TTUBoardSpecs.h:34
RPCTechTriggerConfig::m_runId
int m_runId
Destructor.
Definition:
RPCTechTriggerConfig.h:33
TTUBoardSpecs::TTUBoardConfig::m_LengthOfFiber
int m_LengthOfFiber
Definition:
TTUBoardSpecs.h:29
TTUBoardSpecsIO::~TTUBoardSpecsIO
virtual ~TTUBoardSpecsIO()
Destructor.
Definition:
TTUBoardSpecsIO.cc:24
TTUBoardSpecs::TTUBoardConfig::m_MaskedSectors
std::vector< int > m_MaskedSectors
Definition:
TTUBoardSpecs.h:36
TTUBoardSpecs::TTUBoardConfig::m_Wheel1Id
int m_Wheel1Id
Definition:
TTUBoardSpecs.h:32
TTUBoardSpecs::TTUBoardConfig::m_MaxNumWheels
int m_MaxNumWheels
Definition:
TTUBoardSpecs.h:31
TTUBoardSpecsIO::TTUBoardSpecsIO
TTUBoardSpecsIO()
Standard constructor.
Definition:
TTUBoardSpecsIO.cc:18
operator>>
std::istream & operator>>(std::istream &input, CLHEP::HepGenMatrix &matrix)
Definition:
matrixSaver.cc:111
TTUBoardSpecsIO.h
TTUBoardSpecs::TTUBoardConfig
Definition:
TTUBoardSpecs.h:23
RPCTechTriggerConfig::m_triggerMode
int m_triggerMode
Definition:
RPCTechTriggerConfig.h:37
TTUBoardSpecs::TTUBoardConfig::m_Firmware
int m_Firmware
Definition:
TTUBoardSpecs.h:26
RPCTechTriggerConfig::m_runType
int m_runType
Definition:
RPCTechTriggerConfig.h:36
Generated for CMSSW Reference Manual by
1.8.5