CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Definition at line 378 of file PixelEndcapName.cc.

References PixelEndcapName::mI, PixelEndcapName::mO, submitPVResolutionJobs::out, PixelEndcapName::pI, and PixelEndcapName::pO.

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 }