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 62 of file ESDetId.cc.

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

62  {
63  return s << "(ES z=" << id.zside() << " plane " << id.plane() << " " << id.six() << ':' << id.siy() << " "
64  << id.strip() << ')' << " hashIndex = ";
65  // << id.hashedIndex() ;
66 }