CMS 3D CMS Logo

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

Go to the source code of this file.

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 t
Definition: tree.py:139
tuple out
Definition: dbtoconf.py:99