CMS 3D CMS Logo

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

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