CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
HcalTrigTowerDetId.cc File Reference
#include "DataFormats/HcalDetId/interface/HcalTrigTowerDetId.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 39 of file HcalTrigTowerDetId.cc.

39  {
40  s << "(HcalTrigTower " << id.ieta() << ',' << id.iphi();
41  if (id.depth()>0) s << ',' << id.depth();
42 
43  return s << ')';
44 }