CMS 3D CMS Logo

Classes | Functions
HcalTrigTowerDetId.h File Reference
#include <ostream>
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"

Go to the source code of this file.

Classes

class  HcalTrigTowerDetId
 

Functions

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

Function Documentation

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

Definition at line 62 of file HcalTrigTowerDetId.cc.

References HcalTrigTowerDetId::depth().

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