CMS 3D CMS Logo

Classes | Functions
PixelEndcapName.h File Reference
#include "DataFormats/SiPixelDetId/interface/PixelModuleName.h"
#include "DataFormats/SiPixelDetId/interface/PXFDetId.h"
#include <string>
#include <iostream>

Go to the source code of this file.

Classes

class  PixelEndcapName
 

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, MillePedeFileConverter_cfg::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 }