CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  PixelEndcapNameUpgrade
 

Functions

std::ostream & operator<< (std::ostream &out, const PixelEndcapNameUpgrade::HalfCylinder &t)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PixelEndcapNameUpgrade::HalfCylinder t 
)

Definition at line 181 of file PixelEndcapNameUpgrade.cc.

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

182 {
183  switch (t) {
184  case(PixelEndcapNameUpgrade::pI) : {out << "pI"; break;}
185  case(PixelEndcapNameUpgrade::pO) : {out << "pO"; break;}
186  case(PixelEndcapNameUpgrade::mI) : {out << "mI"; break;}
187  case(PixelEndcapNameUpgrade::mO) : {out << "mO"; break;}
188  default: out << "unknown";
189  };
190  return out;
191 }
tuple out
Definition: dbtoconf.py:99