test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 57 of file HGCTriggerDetId.cc.

References HGCTrigger.

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