20 const std::string& label,
28 static std::unique_ptr<PredictionNoOsc>
LoadFrom(TDirectory*
dir);
29 virtual void SaveTo(TDirectory* dir)
const override;
75 virtual std::unique_ptr<IPrediction>
Represent the binning of a Spectrum's x-axis.
SpectrumLoaderBase & fLoader
PredictionNoOsc(const Spectrum &s, const Spectrum &sNC, const Spectrum &sNumu, const Spectrum &sNumubar, const Spectrum &sNue, const Spectrum &sNuebar)
Simple record of shifts applied to systematic parameters.
Collection of SpectrumLoaders for many configurations.
process_name opflashCryoW ana
virtual void SaveTo(TDirectory *dir) const override
Representation of a spectrum in any variable, with associated POT.
static std::unique_ptr< PredictionNoOsc > LoadFrom(TDirectory *dir)
virtual Spectrum PredictComponent(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const override
virtual Spectrum Predict(osc::IOscCalc *) const override
Spectrum fSpectrumNumubar
NoOscPredictionGenerator(SpectrumLoaderBase &loader, HistAxis axis, SpillCut spillcut, Cut cut, Var wei=kUnweighted)
const SystShifts kNoShift
Base class for the various types of spectrum loader.
PredictionNoOsc(SpectrumLoaderBase &loader, const HistAxis &axis, const SpillCut &spillcut, const Cut &cut, const SystShifts &shift=kNoShift, const Var &wei=kUnweighted)
const Var kUnweighted([](const caf::SRSliceProxy *){return 1;})
The simplest possible Var, always 1. Used as a default weight.
then echo File list $list not found else cat $list while read file do echo $file sed s
Standard interface to all prediction techniques.
Given loaders and an MC shift, Generate() generates an IPrediction.
virtual std::unique_ptr< IPrediction > Generate(Loaders &loaders, const SystShifts &shiftMC=kNoShift) const override
Prediction that wraps a simple Spectrum.