CMS 3D CMS Logo

Functions

CMSSW_4_4_3_patch1/src/DataFormats/SiPixelDetId/src/PixelBarrelName.cc File Reference

#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
#include <sstream>
#include <iostream>
#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

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;
}