CMS 3D CMS Logo

Functions
ESDetId.cc File Reference
#include "DataFormats/EcalDetId/interface/ESDetId.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <ostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const ESDetId &id)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const ESDetId id 
)

Definition at line 99 of file ESDetId.cc.

References ESDetId::hx1, ESDetId::hx2, ESDetId::hxy1, ESDetId::hxy2, ESDetId::hy1, ESDetId::hy2, ESDetId::kXMAX, ESDetId::kXYMAX, and ESDetId::kYMAX.

100 {
101  return s << "(ES z=" << id.zside()
102  << " plane " << id.plane()
103  << " "
104  << id.six()
105  << ':'
106  << id.siy()
107  << " "
108  << id.strip()
109  << ')'
110  << " hashIndex = ";
111 // << id.hashedIndex() ;
112 }