CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_6_1_1/src/CalibTracker/SiStripCommon/interface/SiStripFedIdListReader.h File Reference

#include <boost/cstdint.hpp>
#include <fstream>
#include <ostream>
#include <vector>

Go to the source code of this file.

Classes

class  SiStripFedIdListReader

Functions

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

Function Documentation

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

Definition at line 82 of file SiStripFedIdListReader.cc.

References SiStripFedIdListReader::fedIds().

                                                                            {
  std::vector<uint16_t> fed_ids = in.fedIds();
  std::stringstream ss;
  ss << "[SiStripFedIdListReader::" << __func__ << "]"
     << " Found " << fed_ids.size() << " valid FED ids with values: ";
  std::vector<uint16_t>::const_iterator iter = fed_ids.begin();
  for ( ; iter != fed_ids.end(); ++iter ) { ss << *iter << " "; }
  os << ss.str();
  return os;
}