CMS 3D CMS Logo

Functions
SiStripHashedDetId.cc File Reference
#include "CalibFormats/SiStripObjects/interface/SiStripHashedDetId.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iomanip>
#include <iostream>
#include <sstream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const SiStripHashedDetId &input)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const SiStripHashedDetId input 
)

Definition at line 85 of file SiStripHashedDetId.cc.

References TauDecayModes::dec, input, and contentValuesCheck::ss.

85  {
86  std::stringstream ss;
87  ss << "[SiStripHashedDetId::" << __func__ << "]"
88  << " Found " << input.end() - input.begin() << " entries in DetId hash map:" << std::endl;
90  for (; iter != input.end(); ++iter) {
91  ss << " Index: " << std::dec << std::setw(5) << std::setfill(' ') << iter - input.begin() << " DetId: 0x"
92  << std::hex << std::setw(8) << std::setfill('0') << *iter << std::endl;
93  }
94  os << ss.str();
95  return os;
96 }
std::vector< uint32_t >::const_iterator const_iterator
static std::string const input
Definition: EdmProvDump.cc:47