CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
SiPixelCPEGenericErrorParm.cc File Reference
#include "CondFormats/SiPixelObjects/interface/SiPixelCPEGenericErrorParm.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include <fstream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 51 of file SiPixelCPEGenericErrorParm.cc.

References prof2calltree::count, SiPixelCPEGenericErrorParm::errors_, and alignCSCRings::s.

52 {
53  for (unsigned int count=0; count < genericErrors.errors_.size(); ++count) {
54 
55  s.precision(6);
56 
57  s << genericErrors.errors_[count].bias << " "
58  << genericErrors.errors_[count].pix_height << " "
59  << genericErrors.errors_[count].ave_Qclus << " " << std::fixed
60  << genericErrors.errors_[count].sigma << " "
61  << genericErrors.errors_[count].rms << std::endl;
62 
63  s.unsetf ( std::ios_base::fixed );
64  }
65  return s;
66 }