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 895 of file PixelBarrelName.cc.

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

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 }