CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 349 of file PixelEndcapName.cc.

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

350 {
351  switch (t) {
352  case(PixelEndcapName::pI) : {out << "pI"; break;}
353  case(PixelEndcapName::pO) : {out << "pO"; break;}
354  case(PixelEndcapName::mI) : {out << "mI"; break;}
355  case(PixelEndcapName::mO) : {out << "mO"; break;}
356  default: out << "unknown";
357  };
358  return out;
359 }
tuple out
Definition: dbtoconf.py:99