#include "CondFormats/RPCObjects/interface/TTUBoardSpecs.h"
#include <stdlib.h>
#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 &) |
std::istream& operator>> | ( | std::istream & | , |
TTUBoardSpecsIO::TTUBoardConfig & | |||
) |
Definition at line 27 of file TTUBoardSpecsIO.cc.
References 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, and TTUBoardSpecs::TTUBoardConfig::m_Wheel2Id.
{ std::string logitype; istr >> rhs.m_runId ; istr >> rhs.m_runType ; istr >> rhs.m_triggerMode ; istr >> rhs.m_Firmware ; istr >> rhs.m_LengthOfFiber ; istr >> rhs.m_Delay ; istr >> rhs.m_MaxNumWheels ; istr >> rhs.m_Wheel1Id ; istr >> rhs.m_Wheel2Id ; istr >> logitype ; istr >> rhs.m_TrackLength ; //...m_MaskedSectors is a vector of size 12 for(int i=0; i < 12; ++i) { int mask(0); istr >> mask; rhs.m_MaskedSectors.push_back(mask); } //...m_ForcedSectors is a vector of size 12 for(int i=0; i < 12; ++i) { int force(0); istr >> force; rhs.m_ForcedSectors.push_back(force); } rhs.m_LogicType = logitype; return istr; }