CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
PixelBarrelName.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  PixelBarrelName
 

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.

277 {
278  switch (t) {
279  case(PixelBarrelName::pI) : {out << "pI"; break;}
280  case(PixelBarrelName::pO) : {out << "pO"; break;}
281  case(PixelBarrelName::mI) : {out << "mI"; break;}
282  case(PixelBarrelName::mO) : {out << "mO"; break;}
283  default: out << "unknown";
284  };
285  return out;
286 }
tuple out
Definition: dbtoconf.py:99