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

◆ operator<<()

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

Definition at line 186 of file PixelEndcapNameUpgrade.cc.

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

186  {
187  switch (t) {
189  out << "pI";
190  break;
191  }
193  out << "pO";
194  break;
195  }
197  out << "mI";
198  break;
199  }
201  out << "mO";
202  break;
203  }
204  default:
205  out << "unknown";
206  };
207  return out;
208 }