CMS 3D CMS Logo

Functions
PixelBarrelName.cc File Reference
#include "DataFormats/TrackerCommon/interface/PixelBarrelName.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include <sstream>
#include <iostream>

Go to the source code of this file.

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 }