CMS 3D CMS Logo

PXFDetId.cc
Go to the documentation of this file.
2 
4 }
5 
6 PXFDetId::PXFDetId(uint32_t rawid) : DetId(rawid) {
7 }
8 PXFDetId::PXFDetId(const DetId& id) : DetId(id.rawId()) {
9 }
10 
11 std::ostream& operator<<(std::ostream& os,const PXFDetId& id) {
12  return os << "(PixelEndcap "
13  << id.disk() << ','
14  << id.blade() << ','
15  << id.panel() << ','
16  << id.module() << ')';
17 }
std::ostream & operator<<(std::ostream &os, const PXFDetId &id)
Definition: PXFDetId.cc:11
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:47
Definition: DetId.h:18
PXFDetId()
Definition: PXFDetId.cc:3