CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DataFormats/SiPixelDetId/src/PXFDetId.cc

Go to the documentation of this file.
00001 #include "DataFormats/SiPixelDetId/interface/PXFDetId.h"
00002 
00003 PXFDetId::PXFDetId() : DetId() {
00004 }
00005 
00006 PXFDetId::PXFDetId(uint32_t rawid) : DetId(rawid) {
00007 }
00008 PXFDetId::PXFDetId(const DetId& id) : DetId(id.rawId()) {
00009 }
00010 
00011 std::ostream& operator<<(std::ostream& os,const PXFDetId& id) {
00012   return os << "(PixelEndcap " 
00013            << id.disk() << ',' 
00014            << id.blade()  << ',' 
00015            << id.panel()  << ',' 
00016            << id.module()   << ')'; 
00017 }