CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
LA_Results.cc File Reference
#include "CalibTracker/SiStripLorentzAngle/interface/LA_Filler_Fitter.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include <cmath>
#include <boost/foreach.hpp>
#include <boost/regex.hpp>
#include <boost/lexical_cast.hpp>
#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 167 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.

167  {
168  return strm << r.reco.first <<"\t"<< r.reco.second <<"\t"
169  << r.measured.first <<"\t"<< r.measured.second <<"\t"
170  << r.calMeasured.first <<"\t"<< r.calMeasured.second <<"\t"
171  << r.field <<"\t"
172  << r.chi2 <<"\t"
173  << r.ndof <<"\t"
174  << r.entries;
175 }
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 177 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.

177  {
178  return strm << e.truth <<"\t"
179  << e.meanMeasured.first <<"\t"<< e.meanMeasured.second <<"\t"
180  << e.sigmaMeasured.first <<"\t"<< e.sigmaMeasured.second <<"\t"
181  << e.meanUncertainty.first <<"\t"<< e.meanUncertainty.second << "\t"
182  << e.pull.first <<"\t"<< e.pull.second << "\t"
183  << e.samples;
184 }
std::pair< float, float > pull
std::pair< float, float > meanMeasured
std::pair< float, float > sigmaMeasured
std::pair< float, float > meanUncertainty