CMS 3D CMS Logo

Classes | Functions
SiStripDetId.h File Reference
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/SiStripDetId/interface/SiStripEnums.h"
#include <ostream>

Go to the source code of this file.

Classes

class  SiStripDetId
 Detector identifier class for the strip tracker. More...
 

Functions

std::ostream & operator<< (std::ostream &, const SiStripDetId &)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const SiStripDetId  
)

Debug info for SiStripDetId class.

Definition at line 4 of file SiStripDetId.cc.

4  {
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 }

References TauDecayModes::dec.

TauDecayModes.dec
dec
Definition: TauDecayModes.py:142