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 454 of file PixelBarrelNameUpgrade.cc.

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

454  {
455  switch (t) {
457  out << "pI";
458  break;
459  }
461  out << "pO";
462  break;
463  }
465  out << "mI";
466  break;
467  }
469  out << "mO";
470  break;
471  }
472  default:
473  out << "unknown";
474  };
475  return out;
476 }