CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  PixelEndcapNameUpgrade
 

Functions

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

Function Documentation

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

Definition at line 191 of file PixelEndcapNameUpgrade.cc.

References PixelEndcapNameUpgrade::mI, PixelEndcapNameUpgrade::mO, MillePedeFileConverter_cfg::out, PixelEndcapNameUpgrade::pI, and PixelEndcapNameUpgrade::pO.

191  {
192  switch (t) {
194  out << "pI";
195  break;
196  }
198  out << "pO";
199  break;
200  }
202  out << "mI";
203  break;
204  }
206  out << "mO";
207  break;
208  }
209  default:
210  out << "unknown";
211  };
212  return out;
213 }