#include "OscLib/OscCalcDumb.h"
#include "CAFAna/Vars/Vars.h"
#include "3FlavorAna/Vars/NueVars.h"
#include "CAFAna/Vars/GenieWeights.h"
#include "CAFAna/Cuts/Cuts.h"
#include "CAFAna/Cuts/SpillCuts.h"
#include "3FlavorAna/Cuts/NumuCuts.h"
#include "CAFAna/Cuts/TruthCuts.h"
#include "CAFAna/Cuts/NueCutsSecondAna.h"
#include "CAFAna/Core/Spectrum.h"
#include "CAFAna/Core/SpectrumLoader.h"
#include "CAFAna/Core/LoadFromFile.h"
#include "CAFAna/Analysis/Style.h"
#include "CAFAna/Analysis/SALoaders.h"
#include "3FlavorAna/Plotting/NuePlotStyle.h"
#include "3FlavorAna/Decomp/MichelDecomp.h"
#include "3FlavorAna/Decomp/BENDecomp.h"
#include "CAFAna/Decomp/ProportionalDecomp.h"
#include "CAFAna/Decomp/CheatDecomp.h"
#include "3FlavorAna/Decomp/NumuDecomp.h"
#include "CAFAna/Extrap/ModularExtrap.h"
#include "CAFAna/Prediction/PredictionExtrap.h"
#include "CAFAna/Prediction/PredictionNoExtrap.h"
#include "CAFAna/Systs/Systs.h"
#include "CAFAna/Core/SystShifts.h"
#include "Utilities/func/MathUtil.h"
#include "TROOT.h"
#include "TCanvas.h"
#include "TH2.h"
#include "TFile.h"
#include "TLegend.h"
#include "TProfile.h"
#include "TRandom3.h"
#include "THStack.h"
#include "TGaxis.h"
#include "TLine.h"
#include "TStyle.h"
#include "TLatex.h"
#include "TGraph.h"
#include "TColor.h"
#include <iostream>
#include <cmath>
Go to the source code of this file.
Functions | |
void | Preliminary () |
void | PIDDivisions () |
void | PIDBinLabels (std::string pid) |
void | FillWithDimmerColor (TH1 *h, float dim=0.65, bool usealpha=false) |
std::vector< TH1 * > | NDHists (MichelDecomp *mb, std::string s) |
void | PlotComp (std::vector< TH1 * > hs, std::string label) |
void | PlotRat (std::vector< TH1 * > hs, std::string label) |
void | DrawRatioAnaBin (TH1 *cc, TH1 *nc, TH1 *ne, int idx) |
void | PlotRatio (std::vector< TH1 * > ccs, std::vector< TH1 * > ncs, std::vector< TH1 * > nes) |
void | PlotStack (std::vector< TH1 * > ccs, std::vector< TH1 * > ncs, std::vector< TH1 * > nes, bool PlotMC=true, bool PlotDecomp=true) |
void | PlotNME (TFile *in) |
void | MakeDCMPPlots (MichelDecomp *mb) |
void | draw_decomp_plots () |
void draw_decomp_plots | ( | ) |
Definition at line 510 of file draw_decomp_plots.C.
References calc, om::cout, allTimeWatchdog::endl, in, ana::MichelDecomp::LoadFrom(), MakeDCMPPlots(), RunSnowGlobes::mb, ana::MichelDecomp::NueComponent(), PlotNME(), and ana::Spectrum::POT().
Definition at line 232 of file draw_decomp_plots.C.
References MECModelEnuComparisons::i, and ana::UniqueName().
Referenced by PlotRatio().
void FillWithDimmerColor | ( | TH1 * | h, |
float | dim = 0.65 , |
||
bool | usealpha = false |
||
) |
Definition at line 110 of file draw_decomp_plots.C.
References plot_validation_datamc_2018::color, and R.
Referenced by PlotNME(), and PlotStack().
void MakeDCMPPlots | ( | MichelDecomp * | mb | ) |
Definition at line 498 of file draw_decomp_plots.C.
References NDHists(), and PlotRatio().
Referenced by draw_decomp_plots().
std::vector<TH1*> NDHists | ( | MichelDecomp * | mb, |
std::string | s | ||
) |
Definition at line 129 of file draw_decomp_plots.C.
References ana::MichelDecomp::AntiNueComponent(), ana::MichelDecomp::AntiNumuComponent(), om::cout, allTimeWatchdog::endl, MECModelEnuComparisons::i, kGreen, kRed, cet::sqlite::max(), ana::MichelDecomp::MC_AntiNueComponent(), ana::MichelDecomp::MC_AntiNumuComponent(), ana::MichelDecomp::MC_NCTotalComponent(), ana::MichelDecomp::MC_NueComponent(), ana::MichelDecomp::MC_NumuComponent(), ana::MichelDecomp::NCTotalComponent(), ana::MichelDecomp::NueComponent(), ana::MichelDecomp::NumuComponent(), ana::Spectrum::ToTH1(), and registry_explorer::v.
Referenced by MakeDCMPPlots().
void PIDBinLabels | ( | std::string | pid | ) |
Definition at line 81 of file draw_decomp_plots.C.
References ana::assert(), ana::bins, ana::Binning::Edges(), genie::utils::style::Format(), MECModelEnuComparisons::i, ana::kCVNNLBinning, ana::kLEMNLBinning, ana::kLIDNLBinning, pot, and submit_syst::y.
void PIDDivisions | ( | ) |
Definition at line 66 of file draw_decomp_plots.C.
References submit_hadd::l, and central_limit::l1.
void PlotComp | ( | std::vector< TH1 * > | hs, |
std::string | label | ||
) |
Definition at line 174 of file draw_decomp_plots.C.
References allTimeWatchdog::can, plot_validation_datamc::Clone(), h1, h2, h3, and MECModelEnuComparisons::leg.
void PlotNME | ( | TFile * | in | ) |
Definition at line 432 of file draw_decomp_plots.C.
References allTimeWatchdog::can, cc(), FillWithDimmerColor(), MECModelEnuComparisons::i, ana::kBeamNueBackgroundColor, ana::kNCBackgroundColor, ana::kNumuBackgroundColor, MECModelEnuComparisons::leg, nc, and ana::UniqueName().
Referenced by draw_decomp_plots().
void PlotRat | ( | std::vector< TH1 * > | hs, |
std::string | label | ||
) |
Definition at line 204 of file draw_decomp_plots.C.
References allTimeWatchdog::can, make_mec_shifts_plots::GetMaximum(), MECModelEnuComparisons::i, makeTrainCVSamples::int, MECModelEnuComparisons::leg, and cet::sqlite::max().
void PlotRatio | ( | std::vector< TH1 * > | ccs, |
std::vector< TH1 * > | ncs, | ||
std::vector< TH1 * > | nes | ||
) |
Definition at line 250 of file draw_decomp_plots.C.
References file_size_ana::axes, allTimeWatchdog::can, plot_validation_datamc::Clone(), DrawRatioAnaBin(), ana::kBeamNueBackgroundColor, ana::kNCBackgroundColor, ana::kNumuBackgroundColor, MECModelEnuComparisons::leg, ana::Nue2017FourBinAxis(), ana::Nue2017FourBinDivisions(), ana::Nue2017FourBinLabels(), one(), and ana::UniqueName().
Referenced by MakeDCMPPlots().
void PlotStack | ( | std::vector< TH1 * > | ccs, |
std::vector< TH1 * > | ncs, | ||
std::vector< TH1 * > | nes, | ||
bool | PlotMC = true , |
||
bool | PlotDecomp = true |
||
) |
Definition at line 318 of file draw_decomp_plots.C.
References file_size_ana::axes, allTimeWatchdog::can, plot_validation_datamc::Clone(), e, FillWithDimmerColor(), ana::kBeamNueBackgroundColor, ana::kNCBackgroundColor, ana::kNumuBackgroundColor, MECModelEnuComparisons::leg, cet::sqlite::max(), std::max(), ana::Nue2017FourBinAxis(), ana::Nue2017FourBinDivisions(), ana::Nue2017FourBinLabels(), string, and ana::UniqueName().
void Preliminary | ( | ) |
Definition at line 55 of file draw_decomp_plots.C.
Referenced by accum_nue_numu_equivalent(), accum_nue_numu_equivalent_fhc(), accum_nue_numu_equivalent_rhc(), bicount(), calcAlphaBetaEachBin(), calculateWrongSignNue(), calculateWrongSignNumuQ1(), calculateWrongSignNumuQ2(), calculateWrongSignNumuQ3(), calculateWrongSignNumuQ4(), CompareDecompDataMC(), CompareSlices(), demoFitContours(), Draw1DProfile(), DrawCovMx(), FD_Data_PosComp(), FD_DataOnly_PosComp(), joint_fit_2018_contours(), joint_fit_2019_contours(), main(), make_angle_plot(), make_plots(), MakeCanvasForData(), MakeCanvasForSim(), MakeHBar(), MakeNuEnergyPlots(), MakeRawPlot(), MakeResultPlot(), MakeSplitCans(), makeSystTable(), MatrixValidation(), median_contours(), monoprob(), NCPaperPlot(), ND_DataMC_Comp_Systs(), nova_t2k_comparison(), Nus17vsAn01_NuFACT_2D(), NusContoursPlusMINOS(), Plot1DSlice(), Plot2DSlice(), plot_DataMCComp_numu(), plot_joint_fit_2020_contours(), plot_ND_DataMC(), plot_ND_DataMC_energybinning(), plot_nd_spectra_2018(), plot_recoE_numu(), plot_time(), plotContProf(), plotDataPred(), plotNumuWrongSign(), PlotNZ(), ana::PlotStack(), PlotSyst(), PlotSysts(), plotWrongSignFraction(), PlotXY(), PositionComparison(), print_tables(), ana::BENDecomp::SavePlotsKa(), ana::BENDecomp::SavePlotsPi(), sensitivity_plot(), and Tutorial2019FitContours().