8 #include "OscLib/IOscCalc.h"
10 #include "TDirectory.h"
11 #include "TObjString.h"
26 : fPredND(loadersND, axis, spillcut, cut, shift_mc, wei_mc),
27 fPredFD(loadersFD, axis, spillcut, cut, shift_mc, wei_mc),
29 fDataND(loadersND.GetLoader(
Loaders::kData), axis, spillcut, cut, shift_data, wei_data)
81 assert(0 &&
"Not reached");
93 TDirectory* tmp = gDirectory;
97 TObjString(
"PredictionSBNExtrap").Write(
"type");
109 assert(dir->GetDirectory(
"predND"));
110 assert(dir->GetDirectory(
"predFD"));
111 assert(dir->GetDirectory(
"dataND"));
115 *ana::LoadFrom<PredictionNoExtrap>(dir->GetDirectory(
"predND")).release(),
116 *ana::LoadFrom<PredictionNoExtrap>(dir->GetDirectory(
"predFD")).release(),
117 *ana::LoadFrom<Spectrum>(dir->GetDirectory(
"dataND")).release()));
128 : fLoadersND(loaders_nd), fAxis(ax), fSpillCut(spillcut), fCut(cut), fWeightMC(wei_mc),
129 fShiftData(shift_data), fWeightData(wei_data)
const double kBaselineIcarus
Simple record of shifts applied to systematic parameters.
Collection of SpectrumLoaders for many configurations.
process_name opflashCryoW ana
Representation of a spectrum in any variable, with associated POT.
Interactions of both types.
Represent the ratio between two spectra.
Both neutrinos and antineutrinos.
All neutrinos, any flavor.
Spectrum with true energy information, allowing it to be oscillated
void SaveTo(TDirectory *dir) const
const double kBaselineSBND