CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/DataFormats/SiPixelDetId/interface/PixelBarrelName.h File Reference

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

Go to the source code of this file.

Classes

class  PixelBarrelName

Functions

std::ostream & operator<< (std::ostream &out, const PixelBarrelName::Shell &t)

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PixelBarrelName::Shell t 
)

Definition at line 276 of file PixelBarrelName.cc.

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

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