DataFormats
SiStripDetId
src
SiStripDetId.cc
Go to the documentation of this file.
1
#include "
DataFormats/SiStripDetId/interface/SiStripDetId.h
"
2
#include <iomanip>
3
4
std::ostream &
operator<<
(std::ostream &os,
const
SiStripDetId
&
id
) {
5
return
os <<
"[SiStripDetId::print]"
<< std::endl
6
<<
" rawId : 0x"
<< std::hex << std::setfill(
'0'
) << std::setw(8) <<
id
.rawId() <<
std::dec
7
<< std::endl
8
<<
" bits[0:24] : "
<< std::hex << std::setfill(
'0'
) << std::setw(8) << (0x01FFFFFF &
id
.rawId())
9
<<
std::dec
<< std::endl
10
<<
" Detector : "
<<
id
.det() << std::endl
11
<<
" SubDetector : "
<<
id
.subdetId() << std::endl
12
<<
" reserved : "
<<
id
.reserved();
13
}
operator<<
std::ostream & operator<<(std::ostream &os, const SiStripDetId &id)
Definition:
SiStripDetId.cc:4
SiStripDetId.h
SiStripDetId
Detector identifier class for the strip tracker.
Definition:
SiStripDetId.h:18
TauDecayModes.dec
dec
Definition:
TauDecayModes.py:143
Generated for CMSSW Reference Manual by
1.8.16