Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
}
SiStripDetId.h
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:167
SiStripDetId
Detector identifier class for the strip tracker.
Definition:
SiStripDetId.h:18
TauDecayModes.dec
tuple dec
Definition:
TauDecayModes.py:142
Generated for CMSSW Reference Manual by
1.8.5