CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
RBCBoardSpecsIO.cc File Reference
#include "L1Trigger/RPCTechnicalTrigger/interface/RBCBoardSpecsIO.h"

Go to the source code of this file.

Functions

std::istream & operator>> (std::istream &istr, RBCBoardSpecsIO::RBCBoardConfig &rhs)
 

Function Documentation

std::istream& operator>> ( std::istream &  istr,
RBCBoardSpecsIO::RBCBoardConfig rhs 
)

Definition at line 26 of file RBCBoardSpecsIO.cc.

References i, RBCBoardSpecs::RBCBoardConfig::m_Firmware, RBCBoardSpecs::RBCBoardConfig::m_ForcedOrInput, RBCBoardSpecs::RBCBoardConfig::m_Latency, RBCBoardSpecs::RBCBoardConfig::m_LogicType, RBCBoardSpecs::RBCBoardConfig::m_MaskedOrInput, RBCBoardSpecs::RBCBoardConfig::m_MayorityLevel, RBCBoardSpecs::RBCBoardConfig::m_WheelId, and AlCaHLTBitMon_QueryRunRegistry::string.

27 {
28 
29  std::string logitype;
30 
31  istr >> rhs.m_Firmware ;
32  istr >> rhs.m_WheelId ;
33  istr >> rhs.m_Latency ;
34  istr >> rhs.m_MayorityLevel ;
35  istr >> logitype ;
36 
37  //...m_MaskedOrInput is a vector of size 30
38  for(int i=0; i < 30; ++i) {
39  int mask(0);
40  istr >> mask;
41  rhs.m_MaskedOrInput.push_back(mask);
42  }
43 
44  //...m_ForcedOrInput is a vector of size 30
45  for(int i=0; i < 30; ++i) {
46  int force(0);
47  istr >> force;
48  rhs.m_ForcedOrInput.push_back(force);
49  }
50 
51  rhs.m_LogicType = logitype;
52 
53  return istr;
54 
55 }
int i
Definition: DBlmapReader.cc:9
std::vector< int > m_ForcedOrInput
Definition: RBCBoardSpecs.h:35
std::vector< int > m_MaskedOrInput
Definition: RBCBoardSpecs.h:34