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
6
PXBDetId::PXBDetId
(uint32_t rawid) :
DetId
(rawid) {
7
}
8
PXBDetId::PXBDetId
(
const
DetId
&
id
) :
DetId
(id.
rawId
()) {
9
}
10
11
12
std::ostream&
operator<<
(std::ostream& os,
const
PXBDetId
&
id
) {
13
return
os <<
"(PixelBarrel "
14
<<
id
.layer() <<
','
15
<<
id
.ladder() <<
','
16
<<
id
.module() <<
')'
;
17
}
operator<<
std::ostream & operator<<(std::ostream &os, const PXBDetId &id)
Definition:
PXBDetId.cc:12
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition:
DetId.h:47
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