#include "CAFAna/Core/Loaders.h"
#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 "3FlavorAna/Prediction/PredictionSystJoint2018.h"
#include "3FlavorAna/Systs/NueSystHelper.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 "TError.h"
#include "CAFAna/shared/Ana2018/syst_variations.h"
#include "CAFAna/shared/Ana2018/draw_plots_util.h"
Go to the source code of this file.
Functions | |
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 bool isNumu=false, const TString &option="FHC_All_nue", const TString &analysis="allxp_nue", const std::string &period="full", const bool verbose=false, const std::string &filename_sh="") |
Variables | |
TString | mainfilename = "PlottingSysts.tex" |
ofstream | mainoutput |
ofstream | output |
ofstream | summary |
ofstream | tables |
bool | isNumuAna =false |
Loaders::FluxType | flux = Loaders::kFHC |
Definition at line 427 of file plot_prediction_systs.C.
References allTimeWatchdog::endl, isNumuAna, ana::MakeLatexCommandName(), and output.
void plot_prediction_systs | ( | const bool | isNumu = false , |
const TString & | option = "FHC_All_nue" , |
||
const TString & | analysis = "allxp_nue" , |
||
const std::string & | period = "full" , |
||
const bool | verbose = false , |
||
const std::string & | filename_sh = "" |
||
) |
Definition at line 59 of file plot_prediction_systs.C.
References calc, ana::CompareNDDataMCFromVector(), ana::ComparePredictionsFromVector(), om::cout, allTimeWatchdog::endl, ana::FixPlotName(), runNovaSAM::gErrorIgnoreLevel, GetCalculator(), GetExtrapolationDefs(), ana::GetSystematics2018(), isFHC, isNumuAna, ana::kCombo, ana::kEEAntiextrap, ana::kEEextrap, ana::kMEAntiextrap, ana::kMEextrap, ana::kMMAntiextrap, ana::kMMextrap, kNue1bin, kNue3bin, ana::kNuMu, ana::kNuMuNoExtrap, kNumuOpt, kNumuOther, ana::kRPARESSyst2018Test, LtxSection(), mainfilename, mainoutput, ana::MakeLatexCommandName(), ana::MakeSummaryV(), SliceLID::numuid(), output, DCS_db_parser::period, PrintLatexComment(), PrintLatexEnd(), PrintLatexHeader(), summary, systs, tables, usedumb, and add_attributes::verbose.
void PrintLatexComment | ( | TString | comment = "" | ) |
Definition at line 451 of file plot_prediction_systs.C.
References allTimeWatchdog::endl, and output.
void PrintLatexEnd | ( | ) |
Definition at line 458 of file plot_prediction_systs.C.
References allTimeWatchdog::endl, and mainoutput.
void PrintLatexHeader | ( | ) |
Definition at line 420 of file plot_prediction_systs.C.
References allTimeWatchdog::endl, isNumuAna, and mainoutput.
Loaders::FluxType flux = Loaders::kFHC |
Definition at line 48 of file plot_prediction_systs.C.
Referenced by ana::nueccinc::NueCCIncCrossSectionAnalysis::AddEnhancedSample(), caf::CAFMaker::AddMCTruthToVec(), ncs::Xbeam::analyze(), ncs::Xeff::analyze(), ncs::GenieTruth::analyze(), ncs::NCAna::analyze(), genie::flux::GNuMIFluxPassThroughInfo::CalcEnuWgt(), Compare_NoExtrap(), ana::ICrossSectionAnalysis::CrossSection(), CutFlow_MC(), extract_gibuu_corrs(), FD_Data_PosComp(), FD_DataOnly_PosComp(), genie::flux::GHAKKMAtmoFlux::FillFluxHisto(), genie::flux::GFLUKAAtmoFlux::FillFluxHisto(), genie::flux::GBGLRSAtmoFlux::FillFluxHisto(), simb::MCFlux::Flux(), GenerateEventsAtFixedInitState(), genie::flux::GAtmoFlux::GenerateNext_1try(), GetCommandLineArgs(), genie::flux::GAtmoFlux::GetFlux(), ana::nueccinc::NueCCIncCrossSectionAnalysis::getFlux1D(), GetLoaders2018(), GetLoaders2020(), cvn::GetParentParticleType(), ana::BeamSystOrWeightBase::GetWeight(), ana::GeniePCASyst::GetWeight(), ana::BeamSystOrWeightBase::InitializeHistograms(), ana::GeniePCASyst::InitializeHistograms(), ana::SingleNucAnalysis::LoadFrom(), ana::NumuCC2p2hAnalysis::LoadFrom(), ana::CrossSectionSpectra::LoadFrom(), ana::CrossSectionAnalysis::LoadFrom(), ana::NumuCCIncAnalysis::LoadFrom(), ana::nueccinc::NueCCIncCrossSectionAnalysis::LoadFrom(), ana::T2KToyExperiment::LoadSpectra(), readNtuple::Loop(), main(), make_DataMCComp_numu(), make_predictions_systs(), makePrediction(), NoExtrap(), genie::flux::operator<<(), plot_xsecs(), ana::PlotAllFlux(), genie::flux::GSimpleNtpMeta::Print(), MergeCollections::MergeCollections::produce(), MergeGenCollections::MergeGenCollections::produce(), lem::MakeLibrary::produce(), evgen::GENIERockGen::produce(), evgen::GENIEGen::produce(), genie::flux::GJPARCNuFluxPassThroughInfo::Reset(), ana::NumuCCIncAnalysis::Result(), ana::NumuCC2p2hAnalysis::Result1DFluxInt(), ana::SingleNucAnalysis::Result2D(), ana::NumuCC2p2hAnalysis::Result2D(), ana::NumuCCIncAnalysis::Result2D(), runGBartolAtmoFluxDriver(), runGCylindTH1FluxDriver(), runGFlukaAtmo3DFluxDriver(), genie::flux::GAtmoFlux::SelectNeutrino(), genie::flux::GAstroFlux::SetEnergyPowLawIdx(), sk_sample_norm_abs(), caf::CAFMaker::sortNuWithIdx(), and SwapNDDataLoader().
bool isNumuAna =false |
Definition at line 41 of file plot_prediction_systs.C.
TString mainfilename = "PlottingSysts.tex" |
Definition at line 35 of file plot_prediction_systs.C.
ofstream mainoutput |
Definition at line 36 of file plot_prediction_systs.C.
Referenced by plot_prediction_systs(), PrintLatexEnd(), and PrintLatexHeader().
ofstream output |
Definition at line 37 of file plot_prediction_systs.C.
ofstream summary |
Definition at line 38 of file plot_prediction_systs.C.
ofstream tables |
Definition at line 39 of file plot_prediction_systs.C.