CMS 3D CMS Logo

Functions
HcalTrigTowerDetId.cc File Reference
#include "DataFormats/HcalDetId/interface/HcalTrigTowerDetId.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/MessageLogger/interface/MessageLogger.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 64 of file HcalTrigTowerDetId.cc.

References HcalTrigTowerDetId::depth().

64  {
65  s << "(HcalTrigTower v" << id.version() << ": " << id.ieta() << ',' << id.iphi();
66  if (id.depth()>0) s << ',' << id.depth();
67  return s << ')';
68 }