CMS 3D CMS Logo

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

◆ operator<<()

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, PixelBarrelNameUpgrade::pO, and submitPVValidationJobs::t.

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 }