CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
PixelBarrelNameUpgrade.h File Reference
#include "DataFormats/SiPixelDetId/interface/PixelModuleName.h"
#include <string>
#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"

Go to the source code of this file.

Classes

class  PixelBarrelNameUpgrade
 

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.

321 {
322  switch (t) {
323  case(PixelBarrelNameUpgrade::pI) : {out << "pI"; break;}
324  case(PixelBarrelNameUpgrade::pO) : {out << "pO"; break;}
325  case(PixelBarrelNameUpgrade::mI) : {out << "mI"; break;}
326  case(PixelBarrelNameUpgrade::mO) : {out << "mO"; break;}
327  default: out << "unknown";
328  };
329  return out;
330 }
tuple out
Definition: dbtoconf.py:99