#include "DataFormats/SiPixelDetId/interface/PixelModuleName.h"
#include <string>
#include <iostream>
#include "DataFormats/SiPixelDetId/interface/PXFDetId.h"
Go to the source code of this file.
Classes | |
class | PixelEndcapName |
Endcap Module name (as in PixelDatabase) for endcaps. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &out, const PixelEndcapName::HalfCylinder &t) |
std::ostream& operator<< | ( | std::ostream & | out, | |
const PixelEndcapName::HalfCylinder & | t | |||
) |
Definition at line 170 of file PixelEndcapName.cc.
References PixelEndcapName::mI, PixelEndcapName::mO, PixelEndcapName::pI, and PixelEndcapName::pO.
00171 { 00172 switch (t) { 00173 case(PixelEndcapName::pI) : {out << "pI"; break;} 00174 case(PixelEndcapName::pO) : {out << "pO"; break;} 00175 case(PixelEndcapName::mI) : {out << "mI"; break;} 00176 case(PixelEndcapName::mO) : {out << "mO"; break;} 00177 default: out << "unknown"; 00178 }; 00179 return out; 00180 }