CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/CondFormats/SiPixelObjects/src/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.

{
                for (unsigned int count=0; count < genericErrors.errors_.size(); ++count) {

                        s.precision(6);
                        
                        s << genericErrors.errors_[count].bias << " "
                                << genericErrors.errors_[count].pix_height << " "
                                << genericErrors.errors_[count].ave_Qclus << " " << std::fixed
                                << genericErrors.errors_[count].sigma << " "
                                << genericErrors.errors_[count].rms << std::endl;
        
                        s.unsetf ( std::ios_base::fixed );
                }
                return s;
}