CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 82 of file SiStripFedIdListReader.cc.

References SiStripFedIdListReader::fedIds(), and contentValuesCheck::ss.

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