#include "CAFAna/Analysis/Exposures.h"
#include "3FlavorAna/Plotting/NuePlotStyle.h"
#include "CAFAna/Analysis/Plots.h"
#include "CAFAna/Analysis/Style.h"
#include "CAFAna/Core/LoadFromFile.h"
#include "CAFAna/Core/Spectrum.h"
#include "3FlavorAna/Decomp/MichelDecomp.h"
#include "CAFAna/Decomp/ProportionalDecomp.h"
#include "Utilities/rootlogon.C"
#include "TFile.h"
#include "TH1.h"
#include "THStack.h"
#include "TCanvas.h"
#include "TGaxis.h"
#include "TGraph.h"
#include "TLatex.h"
#include "TLegend.h"
#include "TLegendEntry.h"
#include "TLine.h"
#include "TSystem.h"
#include "TPaveLabel.h"
#include <fstream>
#include <iostream>
#include <iomanip>
#include <string>
#include <cstddef>
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 | One () |
void | Zero () |
void | Legend (TH1 *h_to_clone) |
void | RatioLegend () |
void | NeutrinoMode (std::string mode) |
void | plot_nd_spectra_2018 (std::string mode="fhc") |
double DerivePowScale | ( | TH1 * | h | ) |
Definition at line 209 of file plot_nd_spectra_2018.C.
References makeTrainCVSamples::int, and std::log10().
Referenced by SetAxis().
void Legend | ( | TH1 * | h_to_clone | ) |
Definition at line 247 of file plot_nd_spectra_2018.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_spectra_2018().
TH1 * MakeRatio | ( | TH1 * | num, |
TH1 * | denom, | ||
int | color = 1 |
||
) |
Definition at line 214 of file plot_nd_spectra_2018.C.
References runNovaSAM::ret.
Referenced by plot_nd_spectra_2018().
void NeutrinoMode | ( | std::string | mode | ) |
Definition at line 312 of file plot_nd_spectra_2018.C.
References string.
Referenced by plot_nd_spectra_2018().
Definition at line 238 of file plot_nd_spectra_2018.C.
References MECModelEnuComparisons::g.
Referenced by osc::_PMNS< T >::EvalEqn11(), and plot_nd_spectra_2018().
void plot_nd_spectra_2018 | ( | std::string | mode = "fhc" | ) |
Definition at line 44 of file plot_nd_spectra_2018.C.
References plot_validation_datamc::c, plot_validation_datamc::Clone(), colors, comps, om::cout, plot_validation_datamc_2018::decomp, allTimeWatchdog::endl, plot_validation_datamc::fdata, plot_validation_datamc_2018::fdecomp, fmc, genie::utils::style::Format(), make_mec_shifts_plots::GetMaximum(), GetYaxis(), MECModelEnuComparisons::i, makeTrainCVSamples::int, calib::j, kGreen, kRed, PandAna.Demos.pi0_spectra::labels, Legend(), ana::Spectrum::LoadFrom(), MakeRatio(), maxY, mc, submit_nova_art::mode, NeutrinoMode(), ana::Nue2018ThreeBinAxis(), ana::Nue2018ThreeBinDivisions(), ana::Nue2018ThreeBinLabels(), One(), plot_validation_datamc::p1, plot_validation_datamc::p2, POTstr(), Preliminary(), RatioLegend(), plot_validation_datamc_2018::rdecomp, SetAxis(), string, art::to_string(), PandAna.Demos.pi0_spectra::tot, and Zero().
TString POTstr | ( | double | pot | ) |
Definition at line 205 of file plot_nd_spectra_2018.C.
References genie::utils::style::Format().
Referenced by plot_nd_spectra_2018().
void RatioLegend | ( | ) |
Definition at line 296 of file plot_nd_spectra_2018.C.
References make_syst_table_plots::h, and MECModelEnuComparisons::leg.
Referenced by plot_nd_spectra_2018().
Definition at line 194 of file plot_nd_spectra_2018.C.
References DerivePowScale(), and norm.
Referenced by plot_nd_spectra_2018().
void Zero | ( | ) |
Definition at line 228 of file plot_nd_spectra_2018.C.
References MECModelEnuComparisons::g.
Referenced by cmf::ChiSqrCalculator::ChiSqrCovMat(), osc::OscCalcPMNSOptEigen::FillCache(), ana::Hist::Initialized(), ana::LikelihoodCovMxExperiment::LikelihoodCovMxExperiment(), plot_nd_spectra_2018(), cmf::CMFDecorrelator::writeResults(), and ana::Hist::Zero().