36 static std::unique_ptr<PredictionIncDirt>
LoadFrom(TDirectory*
dir);
37 virtual void SaveTo(TDirectory* dir)
const override;
81 std::unique_ptr<PredictionNoExtrap>&&
dirt)
Spectrum PredictComponentDet(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const
PredictionIncDirt(std::unique_ptr< PredictionNoExtrap > &&det, std::unique_ptr< PredictionNoExtrap > &&dirt)
Prediction summing detector and dirt components.
virtual Spectrum PredictComponent(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const override
Simple record of shifts applied to systematic parameters.
Collection of SpectrumLoaders for many configurations.
virtual void SaveTo(TDirectory *dir) const override
static std::unique_ptr< PredictionIncDirt > LoadFrom(TDirectory *dir)
process_name opflashCryoW ana
Representation of a spectrum in any variable, with associated POT.
virtual Spectrum Predict(osc::IOscCalc *calc) const override
then if echo $newprj grep q dirt
Spectrum PredictDet(osc::IOscCalc *calc) const
const SystShifts kNoShift
Base class for the various types of spectrum loader.
const Var kUnweighted([](const caf::SRSliceProxy *){return 1;})
The simplest possible Var, always 1. Used as a default weight.
Standard interface to all prediction techniques.
Spectrum PredictComponentDirt(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const
PredictionIncDirt(SpectrumLoaderBase &loaderNonswap, SpectrumLoaderBase &loaderNue, SpectrumLoaderBase &loaderNuTau, SpectrumLoaderBase &loaderIntrinsic, SpectrumLoaderBase &loaderDirt, const HistAxis &axis, const SpillCut &spillcut, const Cut &cut, const SystShifts &shift=kNoShift, const Var &wei=kUnweighted)
Spectrum PredictDirt(osc::IOscCalc *calc) const
virtual ~PredictionIncDirt()