CMS 3D CMS Logo

Classes | Functions
RBCBoardSpecsIO.h File Reference
#include "CondFormats/RPCObjects/interface/RBCBoardSpecs.h"
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <ios>

Go to the source code of this file.

Classes

class  RBCBoardSpecsIO
 

Functions

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

Function Documentation

◆ operator>>()

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

Definition at line 22 of file RBCBoardSpecsIO.cc.

22  {
23  std::string logitype;
24 
25  istr >> rhs.m_Firmware;
26  istr >> rhs.m_WheelId;
27  istr >> rhs.m_Latency;
28  istr >> rhs.m_MayorityLevel;
29  istr >> logitype;
30 
31  //...m_MaskedOrInput is a vector of size 30
32  for (int i = 0; i < 30; ++i) {
33  int mask(0);
34  istr >> mask;
35  rhs.m_MaskedOrInput.push_back(mask);
36  }
37 
38  //...m_ForcedOrInput is a vector of size 30
39  for (int i = 0; i < 30; ++i) {
40  int force(0);
41  istr >> force;
42  rhs.m_ForcedOrInput.push_back(force);
43  }
44 
45  rhs.m_LogicType = logitype;
46 
47  return istr;
48 }

References cmsStageWithFailover::force, mps_fire::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.

cmsStageWithFailover.force
force
Definition: cmsStageWithFailover.py:19
mps_fire.i
i
Definition: mps_fire.py:355
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256