CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
PixelBarrelNameUpgrade.cc File Reference
#include "DataFormats/SiPixelDetId/interface/PixelBarrelNameUpgrade.h"
#include <sstream>
#include <iostream>
#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

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