CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
LA_Results.cc File Reference
#include "CalibTracker/SiStripLorentzAngle/interface/LA_Filler_Fitter.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include <cmath>
#include <regex>
#include <boost/algorithm/string/erase.hpp>
#include <TF1.h>
#include <TGraphErrors.h>
#include <TProfile.h>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &strm, const LA_Filler_Fitter::Result &r)
 
std::ostream & operator<< (std::ostream &strm, const LA_Filler_Fitter::EnsembleSummary &e)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  strm,
const LA_Filler_Fitter::Result r 
)

Definition at line 177 of file LA_Results.cc.

References LA_Filler_Fitter::Result::calMeasured, LA_Filler_Fitter::Result::chi2, LA_Filler_Fitter::Result::entries, LA_Filler_Fitter::Result::field, LA_Filler_Fitter::Result::measured, LA_Filler_Fitter::Result::ndof, and LA_Filler_Fitter::Result::reco.

177  {
178  return strm << r.reco.first << "\t" << r.reco.second << "\t" << r.measured.first << "\t" << r.measured.second << "\t"
179  << r.calMeasured.first << "\t" << r.calMeasured.second << "\t" << r.field << "\t" << r.chi2 << "\t"
180  << r.ndof << "\t" << r.entries;
181 }
std::pair< float, float > measured
std::pair< float, float > reco
std::pair< float, float > calMeasured
std::ostream& operator<< ( std::ostream &  strm,
const LA_Filler_Fitter::EnsembleSummary e 
)

Definition at line 183 of file LA_Results.cc.

References LA_Filler_Fitter::EnsembleSummary::meanMeasured, LA_Filler_Fitter::EnsembleSummary::meanUncertainty, LA_Filler_Fitter::EnsembleSummary::pull, LA_Filler_Fitter::EnsembleSummary::samples, LA_Filler_Fitter::EnsembleSummary::sigmaMeasured, and LA_Filler_Fitter::EnsembleSummary::truth.

183  {
184  return strm << e.truth << "\t" << e.meanMeasured.first << "\t" << e.meanMeasured.second << "\t"
185  << e.sigmaMeasured.first << "\t" << e.sigmaMeasured.second << "\t" << e.meanUncertainty.first << "\t"
186  << e.meanUncertainty.second << "\t" << e.pull.first << "\t" << e.pull.second << "\t" << e.samples;
187 }
std::pair< float, float > meanUncertainty
std::pair< float, float > pull
std::pair< float, float > sigmaMeasured
std::pair< float, float > meanMeasured