CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/DataFormats/SiPixelDetId/src/PixelBarrelNameUpgrade.cc File Reference

#include "DataFormats/SiPixelDetId/interface/PixelBarrelNameUpgrade.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 PixelBarrelNameUpgrade::Shell &t)

Function Documentation

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

Definition at line 320 of file PixelBarrelNameUpgrade.cc.

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

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