test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
PixelBarrelName.cc File Reference
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <sstream>
#include <iostream>

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 606 of file PixelBarrelName.cc.

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

607 {
608  switch (t) {
609  case(PixelBarrelName::pI) : {out << "pI"; break;}
610  case(PixelBarrelName::pO) : {out << "pO"; break;}
611  case(PixelBarrelName::mI) : {out << "mI"; break;}
612  case(PixelBarrelName::mO) : {out << "mO"; break;}
613  default: out << "unknown";
614  };
615  return out;
616 }