CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
PixelEndcapName.h File Reference
#include "DataFormats/SiPixelDetId/interface/PixelModuleName.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "DataFormats/SiPixelDetId/interface/PXFDetId.h"
#include <string>
#include <iostream>

Go to the source code of this file.

Classes

class  PixelEndcapName
 

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 306 of file PixelEndcapName.cc.

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

307 {
308  switch (t) {
309  case(PixelEndcapName::pI) : {out << "pI"; break;}
310  case(PixelEndcapName::pO) : {out << "pO"; break;}
311  case(PixelEndcapName::mI) : {out << "mI"; break;}
312  case(PixelEndcapName::mO) : {out << "mO"; break;}
313  default: out << "unknown";
314  };
315  return out;
316 }
tuple out
Definition: dbtoconf.py:99