CMS 3D CMS Logo

Functions
HGCTriggerDetId.cc File Reference
#include "DataFormats/ForwardDetId/interface/HGCTriggerDetId.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <ostream>
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 58 of file HGCTriggerDetId.cc.

References HGCTrigger, and alignCSCRings::s.

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 }