5 #include "OscLib/IOscCalc.h"
10 #include "TDirectory.h"
11 #include "TObjString.h"
28 TObjString* ptag = (TObjString*)
dir->Get(
"type");
31 const TString tag = ptag->GetString();
36 if(tag ==
"PredictionInterp" ||
49 std::cerr <<
"Unknown Prediction type '" << tag <<
"'" << std::endl;
57 osc::NoOscillations noosc;
65 assert(syst.
IsNominal() &&
"This Prediction doesn't support PredictSyst(). Did you just mean Predict()?");
78 assert(syst.
IsNominal() &&
"This Prediction doesn't support PredictSyst(). Did you just mean Predict()?");
87 assert(0 &&
"Not implemented");
static std::unique_ptr< PredictionScaleComp > LoadFrom(TDirectory *dir)
BEGIN_PROLOG could also be cerr
virtual void SaveTo(TDirectory *dir) const
Simple record of shifts applied to systematic parameters.
virtual Spectrum PredictComponentSyst(osc::IOscCalc *calc, const SystShifts &syst, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const
virtual Spectrum PredictUnoscillated() const
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 =0
static std::unique_ptr< PredictionNoOsc > LoadFrom(TDirectory *dir)
virtual Spectrum PredictSyst(osc::IOscCalc *calc, const SystShifts &syst) const
static std::unique_ptr< PredictionInterp > LoadFrom(TDirectory *dir)
std::unique_ptr< IPrediction > LoadFrom< IPrediction >(TDirectory *dir)
virtual Spectrum PredictComponent(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const =0