CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const PixelEndcapName::HalfCylinder &t)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const PixelEndcapName::HalfCylinder t 
)

Definition at line 378 of file PixelEndcapName.cc.

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

378  {
379  switch (t) {
380  case (PixelEndcapName::pI): {
381  out << "pI";
382  break;
383  }
384  case (PixelEndcapName::pO): {
385  out << "pO";
386  break;
387  }
388  case (PixelEndcapName::mI): {
389  out << "mI";
390  break;
391  }
392  case (PixelEndcapName::mO): {
393  out << "mO";
394  break;
395  }
396  default:
397  out << "unknown";
398  };
399  return out;
400 }