Take the output of an extrapolation and oscillate it as required. More...
Static Public Member Functions | |
static std::unique_ptr< PredictionExtrap > | LoadFrom (TDirectory *dir, const std::string &name) |
Protected Member Functions | |
template<typename T > | |
Spectrum | _PredictComponent (osc::_IOscCalc< T > *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const |
Templated helper function called by the non-templated versions. More... | |
Protected Attributes | |
std::unique_ptr< IExtrap > | fExtrap |
Take the output of an extrapolation and oscillate it as required.
Definition at line 12 of file PredictionExtrap.h.
ana::PredictionExtrap::PredictionExtrap | ( | std::unique_ptr< IExtrap > && | extrap | ) |
|
delete |
Referenced by LoadFrom().
|
protected |
Templated helper function called by the non-templated versions.
Definition at line 42 of file PredictionExtrap.cxx.
References ana::assert(), ana::Spectrum::Clear(), fExtrap, ana::Flavors::kAll, ana::Sign::kAntiNu, ana::Current::kCC, ana::Current::kNC, ana::Sign::kNu, ana::Flavors::kNuEToNuE, ana::Flavors::kNuEToNuMu, ana::Flavors::kNuEToNuTau, ana::Flavors::kNuMuToNuE, ana::Flavors::kNuMuToNuMu, ana::Flavors::kNuMuToNuTau, and runNovaSAM::ret.
Referenced by GetExtrap(), and PredictComponent().
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 100 of file PredictionExtrap.cxx.
References ana::assert(), and fExtrap.
Referenced by ana::PredictionAddRock::ComponentCC(), and nue_decomp_scales().
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 129 of file PredictionExtrap.cxx.
References fExtrap.
Referenced by ana::PredictionAddRock::ComponentNC(), and nue_decomp_scales().
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 133 of file PredictionExtrap.cxx.
References fExtrap.
Referenced by ana::PredictionAddRock::ComponentNCAnti().
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 125 of file PredictionExtrap.cxx.
References fExtrap.
Referenced by ana::PredictionAddRock::ComponentNCTotal().
|
inline |
Definition at line 43 of file PredictionExtrap.h.
References _PredictComponent(), and fExtrap.
Referenced by ana::GetDecomp(), and make_files_for_decomp_plots().
|
static |
Definition at line 157 of file PredictionExtrap.cxx.
References ana::assert(), dir, ana::LoadFrom< IExtrap >(), PredictionExtrap(), and runNovaSAM::ret.
Referenced by BlessedPlotsAna(), ana::ComparePredictionsPeripheralFromVector(), ana::PredictionSterile::LoadFrom(), ana::LoadMaps(), PlotNus17Prediction(), resolution2018(), and test_stanfit_statsonly().
|
overridevirtual |
Implements ana::IPrediction.
Definition at line 22 of file PredictionExtrap.cxx.
References ana::Flavors::kAll, ana::Current::kBoth, ana::Sign::kBoth, and PredictComponent().
Referenced by BackPredict(), BlessedPlotsLoad(), caf_numu_sensitivity(), caf_numu_sensitivity_no_tau(), cc(), ComparePredictions(), CVNCuts(), demo5(), demo_CPT(), demo_flat(), drawPlot(), drawSystsShiftingNDdata_updatedAna(), FD_Data_PosComp(), FD_plots(), GetExtrap(), GetNuePredictionFuture(), getTimePeakPlots(), MakePeriCutPlot(), MichelDecompTest(), modularextrap_demo_nue(), modularextrap_demo_numu(), numu_sig_nonmax(), PeripheralCuts(), plot_nue_xsec_pred(), PlotNus17Prediction(), ana::PredictionSterile::PredictUnoscillated(), PredRatioToNom(), resolution2018(), saveContours_addExpt(), saveContours_simple(), sterile_demo(), template_basic(), test_ana(), test_genie_systs(), test_nueextrapsyst(), and test_saloaders().
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 31 of file PredictionExtrap.cxx.
References ana::Flavors::kAll, ana::Current::kBoth, ana::Sign::kBoth, and PredictComponent().
|
overridevirtual |
Implements ana::IPrediction.
Reimplemented in ana::PredictionSterile.
Definition at line 81 of file PredictionExtrap.cxx.
References _PredictComponent().
Referenced by BackPredict(), CompareMCCompPrediction(), CVNCuts(), GetExtrap(), getTimePeakPlots(), MakePeriCutPlot(), MCCompPredictionTable(), MichelDecompTest(), nue_pid_effs(), nue_pid_effs_miniprod(), nue_pid_effs_paper_numu_neweff(), PeripheralCuts(), Predict(), ana::PredictionSterile::PredictComponent(), ana::PredictionAddRock::RockComponent(), and test_saloaders().
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 91 of file PredictionExtrap.cxx.
References _PredictComponent().
|
virtualinherited |
Reimplemented in ana::PredictionInterp, ana::PredictionCombinePeriods, and ana::PredictionAddRock.
Definition at line 79 of file IPrediction.cxx.
References ana::assert(), ana::SystShifts::IsNominal(), and ana::IPrediction::PredictComponent().
Referenced by ana::PredictionAddRock::_PredictComponentSyst(), ana::CovMxManager::AddSystematic(), ana::GetBFSystBands(), ana::GetSystBands(), PlotSysts(), ana::PredictionCombinePeriods::PredictComponentSyst(), systematics_extrap_comp_from_pred_interp(), systematics_summary_from_pred_interp(), and systematics_table_from_pred_interp().
|
virtualinherited |
Reimplemented in ana::PredictionInterp, and ana::PredictionAddRock.
Definition at line 93 of file IPrediction.cxx.
References ana::assert(), ana::SystShifts::IsNominal(), and ana::IPrediction::PredictComponent().
|
virtualinherited |
Reimplemented in ana::PredictionInterp, ana::PredictionScaleComp, ana::PredictionCombinePeriods, and ana::PredictionAddRock.
Definition at line 49 of file IPrediction.cxx.
References ana::assert(), ana::SystShifts::IsNominal(), and ana::IPrediction::Predict().
Referenced by BicountEllipse_dCP(), ana::CountingExperiment::ChiSq(), ana::DataMCComparison(), demo_nueNumuSysts(), DrawBins(), DrawPulls(), fill_col(), joint_fit_2017_make_fc_slice(), joint_fit_2017_make_fc_surf(), MakeFakeData(), ana::PlotWithAreaSystErrorBand(), ana::PlotWithSystErrorBand(), ana::PlotWithSystErrorBand_Quant(), ana::SingleSampleExperiment::PredHistIncCosmics(), ana::NDPredictionNoOsc::~NDPredictionNoOsc(), and ana::PredictionScaleComp::~PredictionScaleComp().
|
virtualinherited |
Reimplemented in ana::PredictionInterp, and ana::PredictionAddRock.
Definition at line 59 of file IPrediction.cxx.
References ana::assert(), ana::SystShifts::IsNominal(), and ana::IPrediction::Predict().
|
virtualinherited |
Reimplemented in ana::PredictionSterile.
Definition at line 33 of file IPrediction.cxx.
References noosc, and ana::IPrediction::Predict().
Referenced by cc(), demo5(), demo::DrawUpDownRatioCanvas(), efficiency(), efficiencySA(), plot_nd_data_mc(), template_basic(), and test_ana().
|
overridevirtual |
Reimplemented from ana::IPrediction.
Reimplemented in ana::PredictionNoExtrap, and ana::PredictionSterile.
Definition at line 139 of file PredictionExtrap.cxx.
References dir, fExtrap, and tmp.
Referenced by make_nue_filesyst_pred(), make_nueFDprediction_kinematics(), make_nueFDprediction_kinematics_FHC(), make_nueFDprediction_kinematics_FHC_REW(), make_nueFDprediction_kinematics_REW(), make_nueFDprediction_kinematics_RHC(), make_nueFDprediction_kinematics_RHC_REW(), modularextrap_demo_numu(), and ana::PredictionSterile::SaveTo().
|
protected |
Definition at line 53 of file PredictionExtrap.h.
Referenced by _PredictComponent(), ComponentCC(), ComponentNC(), ComponentNCAnti(), ComponentNCTotal(), GetExtrap(), ana::PredictionSterile::PredictComponent(), SaveTo(), and ana::PredictionNoExtrap::SaveTo().