CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
EcalScDetId.h File Reference
#include <iosfwd>
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
#include "FWCore/Utilities/interface/thread_safety_macros.h"

Go to the source code of this file.

Classes

class  EcalScDetId
 

Functions

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

Function Documentation

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

Definition at line 90 of file EcalScDetId.cc.

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