CMS 3D CMS Logo

EcalTrigTowerDetId.cc File Reference

#include "DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 102 of file EcalTrigTowerDetId.cc.

References EcalBarrel.

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


Generated on Tue Jun 9 17:52:01 2009 for CMSSW by  doxygen 1.5.4