Main Page
Namespaces
Classes
Package Documentation
DataFormats
SiPixelDetId
src
PXBDetId.cc
Go to the documentation of this file.
1
#include "
DataFormats/SiPixelDetId/interface/PXBDetId.h
"
2
3
PXBDetId::PXBDetId
() :
DetId
() {}
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
}
operator<<
std::ostream & operator<<(std::ostream &os, const PXBDetId &id)
Definition:
PXBDetId.cc:8
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition:
DetId.h:50
PXBDetId
Definition:
PXBDetId.h:16
PXBDetId::PXBDetId
PXBDetId()
Definition:
PXBDetId.cc:3
PXBDetId.h
DetId
Definition:
DetId.h:18
Generated for CMSSW Reference Manual by
1.8.11