CMS 3D CMS Logo

PXBDetId.cc
Go to the documentation of this file.
2 
4 
5 PXBDetId::PXBDetId(uint32_t rawid) : DetId(rawid) {}
6 PXBDetId::PXBDetId(const DetId& id) : DetId(id.rawId()) {}
7 
8 std::ostream& operator<<(std::ostream& os, const PXBDetId& id) {
9  return os << "(PixelBarrel " << id.layer() << ',' << id.ladder() << ',' << id.module() << ')';
10 }
std::ostream & operator<<(std::ostream &os, const PXBDetId &id)
Definition: PXBDetId.cc:8
PXBDetId()
Definition: PXBDetId.cc:3
Definition: DetId.h:17