CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
PixelBarrelName.cc File Reference
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.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 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