CMS 3D CMS Logo

Classes | Functions
HGCEEDetId.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  HGCEEDetId
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 46 of file HGCEEDetId.cc.

References HGCEE, and alignCSCRings::s.

46  {
47  switch (id.subdet()) {
48  case (HGCEE):
49  return s << "isEE=" << id.isEE() << " zpos=" << id.zside() << " layer=" << id.layer()
50  << " phi subSector=" << id.subsector() << " sector=" << id.sector() << " cell=" << id.cell();
51  default:
52  return s << id.rawId();
53  }
54 }