CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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.

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