CMS 3D CMS Logo

Functions
SiStripFedIdListReader.cc File Reference
#include "CalibTracker/SiStripCommon/interface/SiStripFedIdListReader.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <algorithm>
#include <sstream>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

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 }