Plot Namespace Reference

Classes

class  Style
class  Band
class  Hist
class  Range

Functions

double GetChi2 (TH1 *h1, TH1 *h2, const std::string &option="", const std::string &tag="")
double GetChi2 (const Hist &lhs, const Hist &rhs, const std::string &option="", std::ostream &o=std::cout)
const std::string Format (double v, int w, int p)
bool operator== (const Band &lhs, const Band &rhs)
void TestHist (TH1 *hO, TH1 *hC, std::string option="")
void TestError (TH1 *hI, std::string option="")

Function Documentation

const string Plot::Format ( double  v,
int  w,
int  p 
)

Definition at line 241 of file Plot.cxx.

Referenced by add_projection(), NCExtrapolation::AddEvent(), NuABFitter::Archive(), atmo_set_calibrator(), attach_mrcc_path_far(), attach_mrcc_path_near(), AxesForNCParameter(), AxesForNCParameters(), NuFCRunInfo::BuildFromConfig(), NuFCRunner::BuildFromConfig(), NCDataQualityModule::DefaultConfig(), NCExtrapolationModule::DefaultConfig(), NC::FitMaster::DrawAndWrite2DSlices(), NC::FitMaster::DrawAndWriteChiSqGraphs(), NC::FitMaster::DrawAndWriteContourGraphs(), NC::FitMaster::DrawAndWriteSlices(), NuContour::DrawAxes(), NuMatrixSpectrum::DrawNCAxes(), NuMatrixSpectrum::DrawNuBarAxes(), far_mc_set_calibrator(), far_set_calibrator(), NuMatrixCPT::Fill(), Phase2Fitter::Fit2D(), Phase2Fitter::Fit2DGPS(), Phase2Fitter::Fit2DRAF(), NCBeam::Info::GetDescription(), NC::Fitter::Make2DSlices(), NC::Fitter::MakeSlices(), NCDataQualityModule::MarkPrelim(), merge_configure(), near_mc_set_calibrator(), near_set_calibrator(), NuFCExperimentFactory::NuFCExperimentFactory(), NuFCExperimentFactoryNSI::NuFCExperimentFactoryNSI(), Phase2Fitter::PrintLikelihoods(), Phase2Fitter::PrintLikelihoodsRAF(), NuEventVector< NuFCEvent2 >::push_back(), NC::Utility::ReportProgress(), reroot_configure(), RockMatrixRAF0720Eonly::RockMatrixRAF0720Eonly(), RockMatrixRAF0720Ext::RockMatrixRAF0720Ext(), RockMatrixRAF0720Std::RockMatrixRAF0720Std(), NCExtrapolationModule::Run(), NC::FitMaster::Run(), NuFCDelegateArchiver::StartExperiment(), NuFCDelegateWriterLegacy::StartRunning(), and NuFCDelegateWriterLegacy::WriteCache().

00242 {
00243    stringstream ss;
00244    ss << std::fixed << std::setw(w) << std::setprecision(p) << v;
00245    return ss.str();
00246 }

double Plot::GetChi2 ( const Hist &  lhs,
const Hist &  rhs,
const std::string &  option = "",
std::ostream &  o = std::cout 
)
double Plot::GetChi2 ( TH1 *  h1,
TH1 *  h2,
const std::string &  option = "",
const std::string &  tag = "" 
)
bool Plot::operator== ( const Band &  lhs,
const Band &  rhs 
)

Definition at line 1552 of file Plot.cxx.

References Plot::Band::Bin().

01553 {
01554    return (lhs.Bin() == rhs.Bin());
01555 }

void Plot::TestError ( TH1 *  hI,
std::string  option = "" 
)
void Plot::TestHist ( TH1 *  hO,
TH1 *  hC,
std::string  option = "" 
)

Generated on 24 Jul 2018 for loon by  doxygen 1.6.1