1 #include "CAFAna/Core/Binning.h" 17 SpectrumLoader loader(
"$NOVA_PROD/mc/FA14-12-29/genie/nd/caf/000103/10377/neardet_genie_fhc_nonswap*s9*.caf.root");
27 sNom.
ToTH1(18e20)->Draw(
"hist");
29 TH1* hup = sUp.
ToTH1(18e20);
30 hup->SetLineColor(
kRed);
31 hup->Draw(
"hist same");
33 TH1* hdn = sDn.
ToTH1(18e20);
34 hdn->SetLineColor(
kBlue);
35 hdn->Draw(
"hist same");
39 TH1* hrup = rUp.
ToTH1();
40 hrup->SetLineColor(
kRed);
42 hrup->GetYaxis()->SetRangeUser(.8, 1.2);
44 TH1* hrdn = rDn.
ToTH1();
45 hrdn->SetLineColor(
kBlue);
46 hrdn->Draw(
"hist same");
Cuts and Vars for the 2020 FD DiF Study.
TH1D * ToTH1(Color_t col=kBlack, Style_t style=kSolid) const
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.
Representation of a spectrum in any variable, with associated POT.
const Binning kNumuEnergyBinning
virtual void Go() override
Load all the registered spectra.
Represent the ratio between two spectra.
const SystShifts kNoShift
Collaborates with Spectrum and OscillatableSpectrum to fill spectra from CAF files.
const NuWROSyst kNuWROReweightEnu(NuWROSyst::EReweightVar::kEnu)