CMS 3D CMS Logo

Classes | Functions
SiStripFedIdListReader.h File Reference
#include <fstream>
#include <ostream>
#include <vector>
#include <cstdint>

Go to the source code of this file.

Classes

class  SiStripFedIdListReader
 

Functions

std::ostream & operator<< (std::ostream &, const SiStripFedIdListReader &)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const SiStripFedIdListReader  
)

Definition at line 70 of file SiStripFedIdListReader.cc.

References recoMuon::in, and contentValuesCheck::ss.

70  {
71  std::vector<uint16_t> fed_ids = in.fedIds();
72  std::stringstream ss;
73  ss << "[SiStripFedIdListReader::" << __func__ << "]"
74  << " Found " << fed_ids.size() << " valid FED ids with values: ";
75  std::vector<uint16_t>::const_iterator iter = fed_ids.begin();
76  for (; iter != fed_ids.end(); ++iter) {
77  ss << *iter << " ";
78  }
79  os << ss.str();
80  return os;
81 }