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