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

◆ operator<<()

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

Definition at line 378 of file PixelEndcapName.cc.

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 }

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

PixelEndcapName::mO
Definition: PixelEndcapName.h:18
OrderedSet.t
t
Definition: OrderedSet.py:90
PixelEndcapName::mI
Definition: PixelEndcapName.h:18
PixelEndcapName::pO
Definition: PixelEndcapName.h:18
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
PixelEndcapName::pI
Definition: PixelEndcapName.h:18