#include "3FlavorAna/Plotting/NuePlotStyle.h"
#include "CAFAna/Analysis/Style.h"
#include "CAFAna/Analysis/Exposures.h"
#include "CAFAna/Core/LoadFromFile.h"
#include "3FlavorAna/Decomp/BENDecomp.h"
#include "CAFAna/Cuts/SpillCuts.h"
#include "CAFAna/Vars/GenieWeights.h"
#include "CAFAna/Vars/PPFXWeights.h"
#include "CAFAna/Vars/HistAxes.h"
#include "Utilities/rootlogon.C"
#include "TFile.h"
#include "TLine.h"
#include "TStyle.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TObject.h"
#include "THStack.h"
#include "TH3.h"
#include "TH2.h"
#include "TH1.h"
#include "TROOT.h"
#include "TGaxis.h"
#include <iomanip>
Go to the source code of this file.
Functions | |
void | SetPaletteS () |
void | CornerLabels (std::string Str) |
void | PlotPionPlots (BENDecomp *dcmp, std::string ananame) |
void | CompareDecompDataMC (BENDecomp *ben, std::string ana) |
void | plot_BEN (const std::string file) |
for 2018 official uncomment the two lines you see below and comment out the general lines More... | |
Variables | |
const double | pot = 1.10158e+21 |
std::string | fname = "nue_dcmp.root" |
const std::string | path = "plots" |
void CompareDecompDataMC | ( | BENDecomp * | ben, |
std::string | ana | ||
) |
Definition at line 209 of file plot_BEN.C.
References ana::BENDecomp::AntiNueComponent(), ana::BENDecomp::AntiNumuComponent(), cc(), ana::CenterTitles(), om::cout, ana::BENDecomp::Data_Component(), APDHVSetting::dummy, allTimeWatchdog::endl, ana::kBeamNueBackgroundColor, ana::kBeamNueBarBackgroundColor, ana::kNCBackgroundColor, ana::kNumuBackgroundColor, ana::kNumuBarBackgroundColor, kRed, MECModelEnuComparisons::leg, ana::BENDecomp::MC_AntiNueComponent(), ana::BENDecomp::MC_AntiNumuComponent(), ana::BENDecomp::MC_NCTotalComponent(), ana::BENDecomp::MC_NueComponent(), ana::BENDecomp::MC_NumuComponent(), nc, ana::BENDecomp::NCTotalComponent(), ana::BENDecomp::NueComponent(), ana::BENDecomp::NumuComponent(), path, pot, Preliminary(), rootlogon(), Simulation(), string, and ana::Spectrum::ToTH1().
void CornerLabels | ( | std::string | Str | ) |
Definition at line 39 of file plot_BEN.C.
Referenced by PlotPionPlots().
void plot_BEN | ( | const std::string | file | ) |
for 2018 official uncomment the two lines you see below and comment out the general lines
Definition at line 59 of file plot_BEN.C.
References CompareDecompDataMC(), om::cout, d, allTimeWatchdog::endl, fname, genie::utils::style::Format(), ana::BENDecomp::GetKaonScale(), MECModelEnuComparisons::i, outfile, PlotPionPlots(), pot, runNovaSAM::release, ana::BENDecomp::SavePlots(), ana::BENDecomp::SavePlotsKa(), ana::BENDecomp::SavePlotsPi(), and string.
void PlotPionPlots | ( | BENDecomp * | dcmp, |
std::string | ananame | ||
) |
Definition at line 87 of file plot_BEN.C.
References a, ana::CenterTitles(), CornerLabels(), om::cout, ana::BENDecomp::Data_Component(), allTimeWatchdog::endl, fname, genie::utils::style::Format(), kGreen, MECModelEnuComparisons::leg, make_syst_table_plots::line, ana::BENDecomp::MC_NueComponent(), ana::Nue2018ThreeBinLabels(), ana::BENDecomp::NueComponent(), path, pot, runNovaSAM::release, rootlogon(), Simulation(), gen_hdf5record::size, string, ana::Spectrum::ToTH1(), and ymin.
void SetPaletteS | ( | ) |
Definition at line 27 of file plot_BEN.C.
References rootlogon::blue, rootlogon::green, rootlogon::NCont, rootlogon::NRGBs, and rootlogon::stops.
std::string fname = "nue_dcmp.root" |
Definition at line 51 of file plot_BEN.C.
const std::string path = "plots" |
Definition at line 52 of file plot_BEN.C.
const double pot = 1.10158e+21 |
Definition at line 50 of file plot_BEN.C.