CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Definition at line 70 of file SiStripFedIdListReader.cc.

References SiStripFedIdListReader::fedIds(), 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 }
const std::vector< uint16_t > & fedIds() const