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

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

571 {
572  switch (t) {
573  case(PixelBarrelName::pI) : {out << "pI"; break;}
574  case(PixelBarrelName::pO) : {out << "pO"; break;}
575  case(PixelBarrelName::mI) : {out << "mI"; break;}
576  case(PixelBarrelName::mO) : {out << "mO"; break;}
577  default: out << "unknown";
578  };
579  return out;
580 }
tuple out
Definition: dbtoconf.py:99