test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 45 of file HGCEEDetId.cc.

References HGCEE.

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