CMS 3D CMS Logo

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
 DetId for an Ecal Trigger tower. More...

Functions

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


Function Documentation

std::ostream& operator<< ( std::ostream &  ,
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