CMS 3D CMS Logo

Classes | Functions
SiStripHashedDetId.h File Reference
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
#include <algorithm>
#include <iomanip>
#include <vector>
#include <cstdint>

Go to the source code of this file.

Classes

class  SiStripHashedDetId
 Provides dense hash map in place of DetId. More...
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 92 of file SiStripHashedDetId.cc.

References TauDecayModes::dec, input, 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