CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/DataFormats/SiPixelDetId/interface/PixelEndcapName.h File Reference

#include "DataFormats/SiPixelDetId/interface/PixelModuleName.h"
#include <string>
#include <iostream>
#include "DataFormats/SiPixelDetId/interface/PXFDetId.h"

Go to the source code of this file.

Classes

class  PixelEndcapName

Functions

std::ostream & operator<< (std::ostream &out, const PixelEndcapName::HalfCylinder &t)

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PixelEndcapName::HalfCylinder t 
)

Definition at line 170 of file PixelEndcapName.cc.

References PixelEndcapName::mI, PixelEndcapName::mO, dbtoconf::out, PixelEndcapName::pI, and PixelEndcapName::pO.

{
  switch (t) {
    case(PixelEndcapName::pI) : {out << "pI"; break;}
    case(PixelEndcapName::pO) : {out << "pO"; break;}
    case(PixelEndcapName::mI) : {out << "mI"; break;}
    case(PixelEndcapName::mO) : {out << "mO"; break;}
    default: out << "unknown";
  };
  return out;
}