CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
PixelBarrelNameUpgrade.cc File Reference
#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)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PixelBarrelNameUpgrade::Shell t 
)

Definition at line 459 of file PixelBarrelNameUpgrade.cc.

References PixelBarrelNameUpgrade::mI, PixelBarrelNameUpgrade::mO, submitPVResolutionJobs::out, PixelBarrelNameUpgrade::pI, and PixelBarrelNameUpgrade::pO.

459  {
460  switch (t) {
462  out << "pI";
463  break;
464  }
466  out << "pO";
467  break;
468  }
470  out << "mI";
471  break;
472  }
474  out << "mO";
475  break;
476  }
477  default:
478  out << "unknown";
479  };
480  return out;
481 }