CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  TTUBoardSpecsIO
 

Functions

std::istream & operator>> (std::istream &, TTUBoardSpecsIO::TTUBoardConfig &)
 

Function Documentation

◆ operator>>()

std::istream& operator>> ( std::istream &  ,
TTUBoardSpecsIO::TTUBoardConfig  
)

Definition at line 22 of file TTUBoardSpecsIO.cc.

22  {
23  std::string logitype;
24 
25  istr >> rhs.m_runId;
26  istr >> rhs.m_runType;
27  istr >> rhs.m_triggerMode;
28  istr >> rhs.m_Firmware;
29  istr >> rhs.m_LengthOfFiber;
30  istr >> rhs.m_Delay;
31  istr >> rhs.m_MaxNumWheels;
32  istr >> rhs.m_Wheel1Id;
33  istr >> rhs.m_Wheel2Id;
34  istr >> logitype;
35  istr >> rhs.m_TrackLength;
36 
37  //...m_MaskedSectors is a vector of size 12
38  for (int i = 0; i < 12; ++i) {
39  int mask(0);
40  istr >> mask;
41  rhs.m_MaskedSectors.push_back(mask);
42  }
43 
44  //...m_ForcedSectors is a vector of size 12
45  for (int i = 0; i < 12; ++i) {
46  int force(0);
47  istr >> force;
48  rhs.m_ForcedSectors.push_back(force);
49  }
50 
51  rhs.m_LogicType = logitype;
52 
53  return istr;
54 }

References cmsStageWithFailover::force, mps_fire::i, TTUBoardSpecs::TTUBoardConfig::m_Delay, TTUBoardSpecs::TTUBoardConfig::m_Firmware, TTUBoardSpecs::TTUBoardConfig::m_ForcedSectors, TTUBoardSpecs::TTUBoardConfig::m_LengthOfFiber, TTUBoardSpecs::TTUBoardConfig::m_LogicType, TTUBoardSpecs::TTUBoardConfig::m_MaskedSectors, TTUBoardSpecs::TTUBoardConfig::m_MaxNumWheels, RPCTechTriggerConfig::m_runId, RPCTechTriggerConfig::m_runType, TTUBoardSpecs::TTUBoardConfig::m_TrackLength, RPCTechTriggerConfig::m_triggerMode, TTUBoardSpecs::TTUBoardConfig::m_Wheel1Id, TTUBoardSpecs::TTUBoardConfig::m_Wheel2Id, and AlCaHLTBitMon_QueryRunRegistry::string.

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