CMS 3D CMS Logo

Functions
PixelBarrelName.cc File Reference
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <sstream>
#include <iostream>

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 606 of file PixelBarrelName.cc.

References PixelBarrelName::mI, PixelBarrelName::mO, MillePedeFileConverter_cfg::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 }