CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripDetId.cc
Go to the documentation of this file.
2 #include <iomanip>
3 
4 
5 
6 std::ostream& operator<< ( std::ostream& os, const SiStripDetId& id ) {
7  return os << "[SiStripDetId::print]" << std::endl
8  << " rawId : 0x"
9  << std::hex << std::setfill('0') << std::setw(8)
10  << id.rawId()
11  << std::dec << std::endl
12  << " bits[0:24] : "
13  << std::hex << std::setfill('0') << std::setw(8)
14  << (0x01FFFFFF & id.rawId())
15  << std::dec << std::endl
16  << " Detector : " << id.det() << std::endl
17  << " SubDetector : " << id.subdetId() << std::endl
18  << " reserved : " << id.reserved();
19 }
20 
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17