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 50 of file HcalTrigTowerDetId.cc.

50  {
51  s << "(HcalTrigTower v" << id.version() << ": " << id.ieta() << ',' << id.iphi();
52  if (id.depth()>0) s << ',' << id.depth();
53 
54  return s << ')';
55 }