CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  EEDetId
 

Functions

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

Function Documentation

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

Definition at line 612 of file EEDetId.cc.

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