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

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 }