CMS 3D CMS Logo

Classes | Functions
PixelBarrelName.h File Reference
#include "DataFormats/SiPixelDetId/interface/PixelModuleName.h"
#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"
#include <string>

Go to the source code of this file.

Classes

class  PixelBarrelName
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 890 of file PixelBarrelName.cc.

References PixelBarrelName::mI, PixelBarrelName::mO, MillePedeFileConverter_cfg::out, PixelBarrelName::pI, PixelBarrelName::pO, and submitPVValidationJobs::t.

890  {
891  switch (t) {
892  case (PixelBarrelName::pI): {
893  out << "pI";
894  break;
895  }
896  case (PixelBarrelName::pO): {
897  out << "pO";
898  break;
899  }
900  case (PixelBarrelName::mI): {
901  out << "mI";
902  break;
903  }
904  case (PixelBarrelName::mO): {
905  out << "mO";
906  break;
907  }
908  default:
909  out << "unknown";
910  };
911  return out;
912 }