CMS 3D CMS Logo

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
 Endcap Module name (as in PixelDatabase) for endcaps. More...

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, PixelEndcapName::pI, and PixelEndcapName::pO.

00171 {
00172   switch (t) {
00173     case(PixelEndcapName::pI) : {out << "pI"; break;}
00174     case(PixelEndcapName::pO) : {out << "pO"; break;}
00175     case(PixelEndcapName::mI) : {out << "mI"; break;}
00176     case(PixelEndcapName::mO) : {out << "mO"; break;}
00177     default: out << "unknown";
00178   };
00179   return out;
00180 }


Generated on Tue Jun 9 17:52:16 2009 for CMSSW by  doxygen 1.5.4