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 92 of file SiStripHashedDetId.cc.

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

92  {
93  std::stringstream ss;
94  ss << "[SiStripHashedDetId::" << __func__ << "]"
95  << " Found " << input.end() - input.begin() << " entries in DetId hash map:" << std::endl;
97  for (; iter != input.end(); ++iter) {
98  ss << " Index: " << std::dec << std::setw(5) << std::setfill(' ') << iter - input.begin() << " DetId: 0x"
99  << std::hex << std::setw(8) << std::setfill('0') << *iter << std::endl;
100  }
101  os << ss.str();
102  return os;
103 }
std::vector< uint32_t >::const_iterator const_iterator
static std::string const input
Definition: EdmProvDump.cc:50