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 "DataFormats/SiPixelDetId/interface/PXBDetId.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include <string>

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 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