#include "DataFormats/SiPixelDetId/interface/PixelBarrelNameUpgrade.h"
#include <sstream>
#include <iostream>
#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &out, const PixelBarrelNameUpgrade::Shell &t) |
std::ostream& operator<< | ( | std::ostream & | out, |
const PixelBarrelNameUpgrade::Shell & | t | ||
) |
Definition at line 320 of file PixelBarrelNameUpgrade.cc.
References PixelBarrelNameUpgrade::mI, PixelBarrelNameUpgrade::mO, dbtoconf::out, PixelBarrelNameUpgrade::pI, and PixelBarrelNameUpgrade::pO.
{ switch (t) { case(PixelBarrelNameUpgrade::pI) : {out << "pI"; break;} case(PixelBarrelNameUpgrade::pO) : {out << "pO"; break;} case(PixelBarrelNameUpgrade::mI) : {out << "mI"; break;} case(PixelBarrelNameUpgrade::mO) : {out << "mO"; break;} default: out << "unknown"; }; return out; }