Go to the source code of this file.
◆ operator<<()
◆ operator>>()
Definition at line 38 of file ITkStripCablingData.cxx.
39 unsigned int onlineInt{}, offlineInt{};
40 std::string extendedId{};
44 while(getline(is,
line)){
45 std::stringstream
ss(
line);
47 std::vector<std::string>
words;
48 std::string offIdShort =
"";
49 if(
line[0] ==
'#')
continue;
50 while(getline(
ss,
t,
' ')){
54 else offIdShort=
words[0];
55 offlineInt=
static_cast<unsigned int>(std::strtoul(offIdShort.c_str(),NULL,0));
56 onlineInt=
static_cast<unsigned int>(std::strtoul(
words[2].c_str(),NULL,0));
59 cabling.m_offline2OnlineMap[offlineId] = onlineId;
60 cabling.m_hash2OnlineIdArray[indx] = onlineId;