CMS 3D CMS Logo

Functions
SiPixelCPEGenericErrorParm.cc File Reference
#include "CondFormats/SiPixelObjects/interface/SiPixelCPEGenericErrorParm.h"
#include <fstream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const SiPixelCPEGenericErrorParm &genericErrors)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const SiPixelCPEGenericErrorParm genericErrors 
)

Definition at line 48 of file SiPixelCPEGenericErrorParm.cc.

References submitPVResolutionJobs::count, SiPixelCPEGenericErrorParm::errors_, alignBH_cfg::fixed, and alignCSCRings::s.

48  {
49  for (unsigned int count = 0; count < genericErrors.errors_.size(); ++count) {
50  s.precision(6);
51 
52  s << genericErrors.errors_[count].bias << " " << genericErrors.errors_[count].pix_height << " "
53  << genericErrors.errors_[count].ave_Qclus << " " << std::fixed << genericErrors.errors_[count].sigma << " "
54  << genericErrors.errors_[count].rms << std::endl;
55 
56  s.unsetf(std::ios_base::fixed);
57  }
58  return s;
59 }