CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/DataFormats/EcalDetId/src/EcalTrigTowerDetId.cc File Reference

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

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 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() << ')';
}