CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_8_patch3/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;
}