#include "CAFAna/Analysis/Exposures.h"
#include "CAFAna/Core/Binning.h"
#include "CAFAna/Core/Cut.h"
#include "CAFAna/Core/HistAxis.h"
#include "CAFAna/Core/LoadFromFile.h"
#include "CAFAna/Core/Spectrum.h"
#include "3FlavorAna/Vars/NueVars.h"
#include "CAFAna/Vars/Vars.h"
#include "TFile.h"
#include "TH1.h"
#include "TCanvas.h"
#include "TGaxis.h"
#include "TLatex.h"
#include "TLegend.h"
#include "TLine.h"
#include "TSystem.h"
#include "TROOT.h"
#include "TObjectTable.h"
#include <fstream>
#include <iostream>
#include <iomanip>
#include <string>
#include <cstddef>
#include "CAFAna/shared/Ana2017/syst_variations.h"
#include "CAFAna/shared/Ana2017/draw_plots_util.h"
Go to the source code of this file.
Functions | |
ofstream | mainoutput (mainfilename.Data()) |
void | PrintLatexHeader () |
void | PrintLatexComment (TString comment="") |
void | PrintLatexEnd () |
void | LtxSection (TString sec, bool newpage=true, int sublevel=0, TString comment="") |
void | plot_prediction_systs (const std::string &filename_sh, const std::string &period="full", const std::string &filename_nom="") |
Variables | |
const TString | mainfilename = "PlottingSysts.tex" |
ofstream | output |
ofstream | summary |
ofstream | tables |
bool | isNumuAna =false |
Definition at line 308 of file plot_prediction_systs.C.
References allTimeWatchdog::endl, and ana::MakeLatexCommandName().
Referenced by plot_prediction_systs().
ofstream mainoutput | ( | mainfilename. | Data() | ) |
void plot_prediction_systs | ( | const std::string & | filename_sh, |
const std::string & | period = "full" , |
||
const std::string & | filename_nom = "" |
||
) |
Definition at line 48 of file plot_prediction_systs.C.
References om::cerr, ana::CompareNDDataMCFromVector(), ana::ComparePredictionsFromVector(), ana::ComparePredictionsPeripheralFromVector(), om::cout, d, dir, allTimeWatchdog::endl, file, ana::FixPlotName(), GetExtrapolationDefs(), GetShiftNames2017(), isNumuAna, kNue1bin, kNue3bin, kNue4bin, kNumuOpt, kNumuOther, LtxSection(), mainoutput, ana::MakeLatexCommandName(), ana::MakeSummaryV(), SliceLID::numuid(), DCS_db_parser::period, PrintLatexComment(), PrintLatexEnd(), PrintLatexHeader(), S, ana::systnames(), and PandAna.Demos.tute_pid_validation::var.
void PrintLatexComment | ( | TString | comment = "" | ) |
Definition at line 329 of file plot_prediction_systs.C.
References allTimeWatchdog::endl.
Referenced by plot_prediction_systs().
void PrintLatexEnd | ( | ) |
Definition at line 335 of file plot_prediction_systs.C.
References allTimeWatchdog::endl, and mainoutput.
Referenced by plot_prediction_systs().
void PrintLatexHeader | ( | ) |
Definition at line 302 of file plot_prediction_systs.C.
References allTimeWatchdog::endl, and mainoutput.
Referenced by plot_prediction_systs().
bool isNumuAna =false |
Definition at line 36 of file plot_prediction_systs.C.
Referenced by ana::AddToSummaryV(), ana::CompareNDDataMCFromVector(), ana::CompareOneShiftPred(), ana::ComparisonTable(), ana::ComparisonTableOneNbins(), DefaultNumuLegend(), ana::GetDecomp(), ana::GetFDMCComponents(), ana::GetNDComponents(), ana::GetNDCompsFromDecomp(), ana::GetNDDecompsFromDecomp(), LtxSection(), ana::MakeSummaryV(), plot_prediction_systs(), PrintLatexHeader(), ana::SetVecValues_Diff(), and ana::sort_chisq_tot().
const TString mainfilename = "PlottingSysts.tex" |
Definition at line 30 of file plot_prediction_systs.C.
Referenced by plot_prediction_systs().
ofstream output |
Definition at line 32 of file plot_prediction_systs.C.
Referenced by sim::ParticleNavigator::Add(), stan::math::bernoulli_rng(), stan::math::beta_rng(), stan::math::binomial_rng(), stan::math::cauchy_rng(), caf::Proxy< caf::SRCVNResult >::CheckEquals(), caf::Proxy< caf::SRNuonEResult >::CheckEquals(), caf::Proxy< caf::SRCVNFeatures >::CheckEquals(), stan::math::chi_square_rng(), flat::Flat< caf::SRCVNResult >::Clear(), flat::Flat< caf::SRNuonEResult >::Clear(), flat::Flat< caf::SRCVNFeatures >::Clear(), ana::ComparisonTable(), ana::ComparisonTableNbins(), ana::ComparisonTableOneNbins(), confusionMatrix(), confusionMatrixProng(), containment_optimization(), ConvertToGHad(), ConvertToGTracker(), ConvertToGXML(), rsim::PulseShaper::CreateTrace(), DataMCLoad(), demo_cut_optimization(), stan::math::double_exponential_rng(), stan::math::exp_mod_normal_rng(), stan::math::exponential_rng(), fiducial_optimization(), flat::Flat< caf::SRCVNResult >::Fill(), flat::Flat< caf::SRNuonEResult >::Fill(), flat::Flat< caf::SRCVNFeatures >::Fill(), ana::nueccinc::NueCCIncTemplateFitter::FillCovarianceMatrix(), ana::NumuCCIncPionTemplateFitter::FillCovarianceMatrixExtra(), nueccinc_test::NueCCIncGlobalFitter::FillCovarianceMatrixFull(), nueccinc_test::NueCCIncGlobalFitter::FillCovarianceMatrixReduced(), stan::math::frechet_rng(), stan::math::gamma_rng(), stan::math::gumbel_rng(), heatMap(), stan::math::inv_chi_square_rng(), stan::math::inv_gamma_rng(), stan::math::logistic_rng(), stan::math::lognormal_rng(), LtxSection(), make_files_for_decomp_plots(), make_pair(), MakeMap(), ana::MakeSummaryV(), ana::MakeTextListFile(), model_to_cpp(), stan::math::multi_normal_cholesky_rng(), stan::math::multi_normal_rng(), stan::math::multi_student_t_rng(), muonid_optimization(), nc_bkgd_by_interaction_mode(), stan::math::neg_binomial_2_log_rng(), stan::math::neg_binomial_2_rng(), stan::math::neg_binomial_rng(), stan::math::normal_rng(), cvn::TrainingData::NSimpleOutput(), sim::operator<<(), simb::operator<<(), caf::Proxy< caf::SRCVNResult >::operator=(), caf::Proxy< caf::SRNuonEResult >::operator=(), caf::Proxy< caf::SRCVNFeatures >::operator=(), INukeNucleonCorr::OutputFiles(), stan::math::pareto_rng(), stan::math::pareto_type_2_rng(), sim::ParticleHistory::ParticleNavigator(), pidPlot(), pidPlotProng(), genie::utils::hadxs::berger::PionNucleonXSec(), plot_prediction_systs(), PlotResolution(), stan::math::poisson_log_rng(), stan::math::poisson_rng(), preselection_cutflow(), ana::CSVMaker::printHeader(), PrintLatexComment(), ana::PrintLatexFigure(), ana::PrintOscilationParameters(), ana::PrintRawEventCounts(), ana::CSVMaker::printRow(), ana::PrintTableHeader(), prod4_pid(), nuonecvntf::NuonECVNTF::produce(), cvneventtf::CVNEventTF::produce(), cvntf::CVNProngEvaluatorTF::produce(), prongcvn_optimization(), stan::math::rayleigh_rng(), SavePrediction(), stan::math::scaled_inv_chi_square_rng(), signal_count(), stan::math::skew_normal_rng(), stan::math::student_t_rng(), TEST(), stan::math::uniform_rng(), stan::math::von_mises_rng(), stan::math::weibull_rng(), and wrong_sign_uncertainty().
ofstream summary |
Definition at line 33 of file plot_prediction_systs.C.
Referenced by ana::MakeSummaryV(), nova_official_data_release(), and plot_prediction_systs().
ofstream tables |
Definition at line 34 of file plot_prediction_systs.C.
Referenced by ana::ComparisonTable(), ana::ComparisonTableNbins(), ana::ComparisonTableOne(), ana::ComparisonTableOneNbins(), plot_prediction_systs(), ana::PrintTableFooter(), ana::PrintTableHeader(), and ana::sort_chisq_tot().