11 #include "TDirectory.h" 12 #include "TObjString.h" 20 TObjString* ptag = (TObjString*)dir->Get((
name+
"/type").c_str());
22 const TString
tag = ptag->GetString();
45 assert(0 &&
"This Prediction hasn't implemented a Stan-aware Predict()!");
52 assert(syst.
IsNominal() &&
"This Prediction doesn't support PredictSyst(). Did you just mean Predict()?");
62 assert(syst.
IsNominal() &&
"This Prediction doesn't support PredictSyst(). Did you just mean Predict()?");
75 assert(0 &&
"This Prediction hasn't implemented a Stan-aware PredictComponent()!");
85 assert(syst.
IsNominal() &&
"This Prediction doesn't support PredictSyst(). Did you just mean Predict()?");
99 assert(syst.
IsNominal() &&
"This Prediction doesn't support PredictSyst(). Did you just mean Predict()?");
107 std::cout <<
"WARNING! ComponentCC is unimplemented in IPrediction" <<
std::endl; abort();
112 std::cout <<
"WARNING! ComponentNCTotal is unimplemented in IPrediction" <<
std::endl; abort();
117 std::cout <<
"WARNING! ComponentNC is unimplemented in IPrediction" <<
std::endl; abort();
122 std::cout <<
"WARNING! ComponentNCAnti is unimplemented in IPrediction" <<
std::endl; abort();
128 assert(0 &&
"Not implemented");
Pass neutrinos through unchanged.
virtual Spectrum ComponentNCAnti() const
Cuts and Vars for the 2020 FD DiF Study.
virtual Spectrum PredictComponent(osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const =0
virtual Spectrum Predict(osc::IOscCalc *calc) const =0
Simple record of shifts applied to systematic parameters.
General interface to oscillation calculators.
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
virtual void SaveTo(TDirectory *dir, const std::string &name) const
Representation of a spectrum in any variable, with associated POT.
static Func_t Get(const std::string &tag)
virtual Spectrum ComponentNC() const
virtual Spectrum PredictSyst(osc::IOscCalc *calc, const SystShifts &syst) const
double func(double x, double y)
virtual OscillatableSpectrum ComponentCC(int from, int to) const
std::unique_ptr< IPrediction > LoadFrom< IPrediction >(TDirectory *dir, const std::string &label)
osc::NoOscillations noosc
virtual Spectrum ComponentNCTotal() const
assert(nhit_max >=nhit_nbins)
Spectrum with true energy information, allowing it to be oscillated