CMS 3D CMS Logo

Classes | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h File Reference

#include <ostream>
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"

Go to the source code of this file.

Classes

class  EcalTrigTowerDetId

Functions

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

Function Documentation

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

Definition at line 168 of file EcalTrigTowerDetId.cc.

References EcalBarrel.

                                                                   {
  return s << "(EcalTT subDet " << ((id.subDet()==EcalBarrel)?("Barrel"):("Endcap")) 
           <<  " iz " << ((id.zside()>0)?("+ "):("- ")) << " ieta " 
           << id.ietaAbs() << " iphi " << id.iphi() << ')';
}