CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  PixelBarrelNameUpgrade
 

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, MillePedeFileConverter_cfg::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 }