CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
PixelBarrelName.cc File Reference
#include "DataFormats/TrackerCommon/interface/PixelBarrelName.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include <sstream>
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 895 of file PixelBarrelName.cc.

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

895  {
896  switch (t) {
897  case (PixelBarrelName::pI): {
898  out << "pI";
899  break;
900  }
901  case (PixelBarrelName::pO): {
902  out << "pO";
903  break;
904  }
905  case (PixelBarrelName::mI): {
906  out << "mI";
907  break;
908  }
909  case (PixelBarrelName::mO): {
910  out << "mO";
911  break;
912  }
913  default:
914  out << "unknown";
915  };
916  return out;
917 }