#include "CAFAna/Core/Spectrum.h"
#include "CAFAna/Core/LoadFromFile.h"
#include "TCanvas.h"
#include "TFile.h"
#include "TH2.h"
#include "TLegend.h"
Go to the source code of this file.
Functions | |
void | Compare (const std::vector< TH1 * > &hs) |
void | reco_minus_true_panels (std::map< std::string, std::map< std::string, Spectrum * >> &plots, bool log) |
void | plot_2d (std::map< std::string, std::map< std::string, Spectrum * >> &plots) |
void | plot_2d_vars (std::map< std::string, std::map< std::string, Spectrum * >> &plots) |
void | plot (std::string label, std::map< std::string, std::map< std::string, Spectrum * >> &plots, bool log) |
void | plot_diff (std::map< std::string, std::map< std::string, Spectrum * >> &plots, bool log) |
void | plot_resolution () |
Variables | |
const std::vector< std::string > | ress = {"2"} |
const std::vector< int > | cols = {kRed} |
void Compare | ( | const std::vector< TH1 * > & | hs | ) |
Definition at line 29 of file plot_resolution.C.
References make_syst_table_plots::h, and maxy.
Referenced by genie::flux::operator<<(), genie::AxialFormFactor::operator==(), genie::ELFormFactors::operator==(), genie::QELFormFactors::operator==(), genie::DISStructureFunc::operator==(), plot(), plot_diff(), and reco_minus_true_panels().
void plot | ( | std::string | label, |
std::map< std::string, std::map< std::string, Spectrum * >> & | plots, | ||
bool | log | ||
) |
Definition at line 184 of file plot_resolution.C.
References cols, Compare(), e, make_syst_table_plots::h, he, hh, calib::j, MECModelEnuComparisons::leg, plots, ana::Spectrum::POT(), ress, string, and ana::Spectrum::ToTH1().
Referenced by ana::FCSurface::Add(), CutFlow_Data(), CutFlow_MC(), BrightnessModelPlots::DoAna(), evd::PlotView::Draw(), DrawUtils::DrawPlotStack(), generate_fc_binlists(), joint_fit_2017_fc_submit(), joint_fit_2017_make_fc_slice(), make_fc_nus_surfs_nersc_2018(), make_fc_nus_surfs_nersc_2019(), make_fc_slices_nersc_2018(), make_fc_slices_nersc_2018_stats(), make_fc_slices_nersc_2019(), make_fc_surfaces_2020(), make_fc_surfaces_2020_validation(), make_fc_surfaces_nersc_2018(), make_fc_surfaces_nersc_2018_stats(), make_fc_surfaces_nersc_2019(), mre_blessed(), mre_comp_split(), overlayFBplots(), overlayFBplotsH(), evd::PlotView::Parse(), PandAna.reco_validation.prod5_pid_validation_data_mc::plot_data_mc(), plot_resolution(), syst_table_fit(), and syst_table_fit_new().
void plot_2d | ( | std::map< std::string, std::map< std::string, Spectrum * >> & | plots | ) |
Definition at line 113 of file plot_resolution.C.
References plot_validation_datamc::c, make_syst_table_plots::h, plots, ana::Spectrum::POT(), ress, string, and ana::Spectrum::ToTH2().
Referenced by plot_resolution().
void plot_2d_vars | ( | std::map< std::string, std::map< std::string, Spectrum * >> & | plots | ) |
Definition at line 147 of file plot_resolution.C.
References plot_validation_datamc::c, make_syst_table_plots::h, plots, ana::Spectrum::POT(), ress, string, and ana::Spectrum::ToTH2().
Referenced by plot_resolution().
void plot_diff | ( | std::map< std::string, std::map< std::string, Spectrum * >> & | plots, |
bool | log | ||
) |
Definition at line 238 of file plot_resolution.C.
References cols, Compare(), calib::j, MECModelEnuComparisons::leg, plots, ana::Spectrum::POT(), ress, string, and ana::Spectrum::ToTH1().
Referenced by plot_resolution().
void plot_resolution | ( | ) |
Definition at line 276 of file plot_resolution.C.
References plot_validation_datamc::fname, plot(), plot_2d(), plot_2d_vars(), plot_diff(), plots, reco_minus_true_panels(), runNovaSAM::release, ress, and string.
void reco_minus_true_panels | ( | std::map< std::string, std::map< std::string, Spectrum * >> & | plots, |
bool | log | ||
) |
Definition at line 45 of file plot_resolution.C.
References plot_validation_datamc::c, cols, Compare(), e, make_syst_table_plots::h, he, hh, MECModelEnuComparisons::i, calib::j, label, PandAna.Demos.pi0_spectra::labels, MECModelEnuComparisons::leg, plots, ana::Spectrum::POT(), ress, string, and ana::Spectrum::ToTH1().
Referenced by plot_resolution().
Definition at line 26 of file plot_resolution.C.
Referenced by plot(), plot_diff(), and reco_minus_true_panels().
const std::vector<std::string> ress = {"2"} |
Definition at line 25 of file plot_resolution.C.
Referenced by plot(), plot_2d(), plot_2d_vars(), plot_diff(), plot_resolution(), and reco_minus_true_panels().