3 #include "CAFAna/Core/HistAxis.h" 18 #include "Utilities/func/MathUtil.h" 25 SpectrumLoader loader(
"$NOVA_PROD/mc/S14-05-12/fardet/genie/prod_pid_caf_loosened_presel_neutrino2014nightmare_besttoavoid/fardet_genie_fhc_nonswap_none_3000_r0100000?_s01*.caf.root");
26 SpectrumLoader loaderSwap(
"$NOVA_PROD/mc/S14-05-12/fardet/genie/prod_pid_caf_loosened_presel_neutrino2014nightmare_besttoavoid/fardet_genie_fhc_swap_none_3000_r0100000?_s01*.caf.root");
63 hUp->SetLineColor(
kRed);
64 hUp->Draw(
"hist same");
67 hDn->SetLineColor(
kBlue);
68 hDn->Draw(
"hist same");
71 TH1* rUp = (TH1*)hUp->Clone();
74 rUp->GetYaxis()->SetTitle(
"Ratio to nominal");
75 rUp->GetYaxis()->SetRangeUser(.8, 1.2);
77 TH1* rDn = (TH1*)hDn->Clone();
79 rDn->Draw(
"hist same ][");
81 TGraph*
one =
new TGraph;
82 one->SetPoint(0, 0, 1);
83 one->SetPoint(1, 100, 1);
Cuts and Vars for the 2020 FD DiF Study.
void SetTh13(const T &th13) override
void SetL(double L) override
TH1D * ToTH1(double exposure, Color_t col=kBlack, Style_t style=kSolid, EExposureType expotype=kPOT, EBinType bintype=kBinContent) const
Histogram made from this Spectrum, scaled to some exposure.
Simple record of shifts applied to systematic parameters.
const Var kCaloE
Summed calorimetric energy of all hits in slice, uncorrected.
Optimized version of OscCalcPMNS.
virtual void Go() override
Load all the registered spectra.
void SetTh23(const T &th23) override
void SetDmsq21(const T &dmsq21) override
const SystShifts kNoShift
void SetDmsq32(const T &dmsq32) override
Collaborates with Spectrum and OscillatableSpectrum to fill spectra from CAF files.
void SetdCP(const T &dCP) override
void SetTh12(const T &th12) override
const NOvARwgtSyst * GetGenieKnobSyst(rwgt::ReweightLabel_t knobIdx, std::string altName, std::string altLabel)
Convenience function to get a GENIE knob syst. (Allows using the GENIE knob name & description as the...
void SetRho(double rho) override