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

◆ operator<<()

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

Definition at line 62 of file HcalTrigTowerDetId.cc.

References hcalRecHitTable_cff::depth, and alignCSCRings::s.

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