CMS 3D CMS Logo

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

Functions

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

Function Documentation

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

Definition at line 58 of file HGCTriggerDetId.cc.

References HGCTrigger.

58  {
59  switch (id.subdet()) {
60  case (HGCTrigger):
61  return s << "isEE=" << id.isEE() << " zpos=" << id.zside() << " layer=" << id.layer() << " module=" << id.module()
62  << " sector=" << id.sector() << " cell=" << id.cell();
63  default:
64  return s << id.rawId();
65  }
66 }