CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
SiStripHashedDetId.h File Reference
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
#include <boost/cstdint.hpp>
#include <iomanip>
#include <vector>
#include <algorithm>

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

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

Definition at line 111 of file SiStripHashedDetId.cc.

References SiStripHashedDetId::begin(), TauDecayModes::dec, SiStripHashedDetId::end(), and contentValuesCheck::ss.

111  {
112  std::stringstream ss;
113  ss << "[SiStripHashedDetId::" << __func__ << "]"
114  << " Found " << input.end() - input.begin()
115  << " entries in DetId hash map:"
116  << std::endl;
118  for ( ; iter != input.end(); ++iter ) {
119  ss << " Index: "
120  << std::dec << std::setw(5) << std::setfill(' ')
121  << iter - input.begin()
122  << " DetId: 0x"
123  << std::hex << std::setw(8) << std::setfill('0')
124  << *iter << std::endl;
125  }
126  os << ss.str();
127  return os;
128 }
std::vector< uint32_t >::const_iterator const_iterator
static std::string const input
Definition: EdmProvDump.cc:43