#include "CAFAna/Analysis/DataMCPair.h"
#include "3FlavorAna/Plotting/SharedPlotLists.h"
#include "CAFAna/Analysis/Exposures.h"
#include "CAFAna/Analysis/Plots.h"
#include "CAFAna/Analysis/Style.h"
#include "CAFAna/Core/Binning.h"
#include "CAFAna/Core/Spectrum.h"
#include "CAFAna/Core/Var.h"
#include "CAFAna/Core/SpectrumLoader.h"
#include "CAFAna/Vars/HistAxes.h"
#include "3FlavorAna/Vars/NumuVars.h"
#include "CAFAna/Vars/PPFXWeights.h"
#include "Utilities/rootlogon.C"
#include "TCanvas.h"
#include "TGraph.h"
#include "TGaxis.h"
#include "TLegend.h"
#include "TLegendEntry.h"
#include "TFile.h"
#include "TSystem.h"
#include <iostream>
#include <string>
#include <sstream>
#include <fstream>
#include <iomanip>
Go to the source code of this file.
Functions | |
void | SetAxis (TH1 *h, bool visible, int color, int style=1, bool scale=true) |
TString | POTstr (double pot) |
double | DerivePowScale (TH1 *h) |
TH1 * | MakeRatio (TH1 *num, TH1 *denom, int color=1) |
void | OneLine () |
void | Zero () |
void | Legend (TH1 *h_to_clone) |
void | RatioLegend () |
void | NeutrinoMode (TString mode) |
void | plot_ND_DataMC (TString sNumu_Nue) |
Variables | |
std::vector< TString > | hcNames = {"fhc", "rhc"} |
const unsigned int | nHC = hcNames.size() |
TString | inDir = "/nova/ana/users/essmith/ND_DataMC2020/" |
std::string | outDir = "plots/" |
double DerivePowScale | ( | TH1 * | h | ) |
Definition at line 299 of file plot_ND_DataMC.C.
References makeTrainCVSamples::int, and std::log10().
Referenced by SetAxis().
void Legend | ( | TH1 * | h_to_clone | ) |
Definition at line 337 of file plot_ND_DataMC.C.
References make_syst_table_plots::h, MECModelEnuComparisons::i, makeTrainCVSamples::int, kGreen, kRed, MECModelEnuComparisons::leg, and moon_position_table_new3::second.
Referenced by plot_ND_DataMC().
TH1* MakeRatio | ( | TH1 * | num, |
TH1 * | denom, | ||
int | color = 1 |
||
) |
Definition at line 304 of file plot_ND_DataMC.C.
References runNovaSAM::ret.
Referenced by plot_ND_DataMC().
void NeutrinoMode | ( | TString | mode | ) |
void OneLine | ( | ) |
Definition at line 328 of file plot_ND_DataMC.C.
References MECModelEnuComparisons::g.
Referenced by plot_ND_DataMC().
void plot_ND_DataMC | ( | TString | sNumu_Nue | ) |
Definition at line 47 of file plot_ND_DataMC.C.
References ana::AddHistDefNueEnergy(), ana::AddHistDefNueND(), ana::AddHistDefNuePID(), ana::AddHistDefNueSelectionExtras(), ana::AddHistDefNueShower(), ana::AddHistDefNumuNDDataMC(), ana::AddHistDefProngCVN(), ana::AddHistDefRecoND(), ana::AddHistDefSlice(), plot_validation_datamc::c, allTimeWatchdog::can, canMan::cans, plot_validation_datamc::Clone(), colors, om::cout, ana::defs, allTimeWatchdog::endl, hcNames, inDir, ana::kBinDensity, kGreen, ana::kNumuWSColor, kRed, ana::kTotalBkgColor, PandAna.Demos.pi0_spectra::labels, Legend(), ana::DataMCPair::LoadFrom(), ana::Spectrum::LoadFrom(), MakeRatio(), maxY, NeutrinoMode(), nHC, OneLine(), outDir, plot_validation_datamc::p1, plot_validation_datamc::p2, POTstr(), Preliminary(), q2, RatioLegend(), ana::selNames, SetAxis(), PandAna.Demos.tute_pid_validation::var, and Zero().
TString POTstr | ( | double | pot | ) |
Definition at line 295 of file plot_ND_DataMC.C.
References genie::utils::style::Format().
Referenced by plot_ND_DataMC().
void RatioLegend | ( | ) |
Definition at line 386 of file plot_ND_DataMC.C.
References make_syst_table_plots::h, and MECModelEnuComparisons::leg.
Referenced by plot_ND_DataMC().
Definition at line 284 of file plot_ND_DataMC.C.
References DerivePowScale(), and norm.
Referenced by plot_ND_DataMC().
void Zero | ( | ) |
Definition at line 318 of file plot_ND_DataMC.C.
References MECModelEnuComparisons::g.
Referenced by plot_ND_DataMC().
std::vector<TString> hcNames = {"fhc", "rhc"} |
Definition at line 32 of file plot_ND_DataMC.C.
Referenced by plot_ND_DataMC().
TString inDir = "/nova/ana/users/essmith/ND_DataMC2020/" |
Definition at line 33 of file plot_ND_DataMC.C.
Referenced by getContProf(), getContProf_Sensitivity(), makePredTables(), plot_ND_DataMC(), plotContProf(), plotDataPred(), and plotDataPred_SplitCanvas().
const unsigned int nHC = hcNames.size() |
Definition at line 32 of file plot_ND_DataMC.C.
Referenced by plot_ND_DataMC().
std::string outDir = "plots/" |
Definition at line 35 of file plot_ND_DataMC.C.
Referenced by drawLongTerm(), drawTimePlots(), drawVsPOT(), example_macro(), getContProf(), getContProf_Sensitivity(), ana::SystMakerShift::GetLabel(), ana::SystMaker::GetNominal(), ana::SystematicsMaker::GetSystMakers(), HadEFit(), MakePPFXRatios(), makePredTables(), meanWeight_plot(), MuonFit(), plot_ND_DataMC(), plotContProf(), plotDataPred(), plotDataPred_SplitCanvas(), PlotDeltaSigmaWithSigma(), PlotInfo::PlotInfo(), and syst_table_fit_new().