#include "DataFormats/SiStripDetId/interface/SiStripDetId.h"
#include <iomanip>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const SiStripDetId &id) |
Debug info for SiStripDetId class. |
std::ostream& operator<< | ( | std::ostream & | , | |
const SiStripDetId & | ||||
) |
Debug info for SiStripDetId class.
Definition at line 42 of file SiStripDetId.cc.
References DetId::det(), and lat::endl().
00042 { 00043 return os << "[SiStripDetId::print]" << std::endl 00044 << " rawId : 0x" 00045 << std::hex << std::setfill('0') << std::setw(8) 00046 << id.rawId() 00047 << std::dec << std::endl 00048 << " bits[0:24] : " 00049 << std::hex << std::setfill('0') << std::setw(8) 00050 << (0x01FFFFFF & id.rawId()) 00051 << std::dec << std::endl 00052 << " Detector : " << id.det() << std::endl 00053 << " SubDetector : " << id.subdetId() << std::endl 00054 << " reserved : " << id.reserved(); 00055 }