CMS 3D CMS Logo

Classes | Functions
HGCHEDetId.h File Reference
#include <iosfwd>
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/ForwardDetId/interface/ForwardSubdetector.h"

Go to the source code of this file.

Classes

class  HGCHEDetId
 

Functions

std::ostream & operator<< (std::ostream &, const HGCHEDetId &id)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const HGCHEDetId id 
)

Definition at line 51 of file HGCHEDetId.cc.

References TauDecayModes::dec, HGCHEB, HGCHEF, and alignCSCRings::s.

51  {
52  if (id.subdet() == HGCHEF || id.subdet() == HGCHEB) {
53  return s << "isHE=" << id.isHE() << " zpos=" << id.zside() << " layer=" << id.layer()
54  << " phi subSector=" << id.subsector() << " sector=" << id.sector() << " cell=" << id.cell();
55  } else {
56  return s << std::hex << id.rawId() << std::dec;
57  }
58 }