CMS 3D CMS Logo

Functions
HGCSiliconDetId.cc File Reference
#include "DataFormats/ForwardDetId/interface/HGCSiliconDetId.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <ostream>
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 52 of file HGCSiliconDetId.cc.

52  {
53  return s << " EE:HE= " << id.isEE() << ":" << id.isHE()
54  << " type= " << id.type() << " z= " << id.zside()
55  << " layer= " << id.layer()
56  << " wafer(u,v:x,y)= (" << id.waferU() << "," << id.waferV() << ":"
57  << id.waferX() << "," << id.waferY() << ")"
58  << " cell(u,v:x,y)= (" << id.cellU() << "," << id.cellV() << ":"
59  << id.cellX() << "," << id.cellY() << ")";
60 }