CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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 }