CMS 3D CMS Logo

Functions
HGCalTriggerDetId.cc File Reference
#include "DataFormats/ForwardDetId/interface/HGCalTriggerDetId.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 HGCalTriggerDetId &id)
 

Function Documentation

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

Definition at line 158 of file HGCalTriggerDetId.cc.

158  {
159  return s << " EE:HSil= " << id.isEE() << ":" << id.isHSilicon()
160  << " type= " << id.type() << " z= " << id.zside()
161  << " layer= " << id.layer()
162  << " wafer(u,v:x,y)= (" << id.waferU() << "," << id.waferV() << ":"
163  << id.waferX() << "," << id.waferY() << ")"
164  << " triggerCell(u,v:x,y)= (" << id.triggerCellU() << ","
165  << id.triggerCellV() << ":" << id.triggerCellX() << ","
166  << id.triggerCellY() << ")";
167 }