CMS 3D CMS Logo

Functions
PixelEndcapNameUpgrade.cc File Reference
#include "DataFormats/SiPixelDetId/interface/PixelEndcapNameUpgrade.h"
#include <sstream>
#include "DataFormats/SiPixelDetId/interface/PXFDetId.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

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 }