CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/DataFormats/EcalDetId/src/EcalScDetId.cc File Reference

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 89 of file EcalScDetId.cc.

                                                            {
  return s << "(EE iz " << ((id.zside()>0)?("+ "):("- ")) << " ix " << id.ix() << " , iy " << id.iy() << ')';
}