Prediction broken down into arbitrary components whose scales can be varied independently. More...
#include <PredictionScaleComp.h>
Public Member Functions | |
| PredictionScaleComp (SpectrumLoaderBase &loader, const HistAxis &axis, SpillCut spillcut, Cut cut, const std::vector< const SystComponentScale * > &systs, const SystShifts &shift=kNoShift, const Var &wei=kUnweighted) | |
| PredictionScaleComp (SpectrumLoaderBase &loader, const HistAxis &axis1, const HistAxis &axis2, SpillCut spillcut, Cut cut, const std::vector< const SystComponentScale * > &systs, const SystShifts &shift=kNoShift, const Var &wei=kUnweighted) | |
| Constructor to take two HistAxis's to weight 2D spectra. More... | |
| PredictionScaleComp (SpectrumLoaderBase &loaderNonswap, SpectrumLoaderBase &loaderNue, SpectrumLoaderBase &loaderNuTau, SpectrumLoaderBase &loaderIntrinsic, const HistAxis &axis, SpillCut spillcut, Cut cut, const std::vector< const SystComponentScale * > &systs, const SystShifts &shift=kNoShift, const Var &wei=kUnweighted) | |
| This is for the FD via PredictionNoExtrap. More... | |
| virtual | ~PredictionScaleComp () |
| virtual Spectrum | Predict (osc::IOscCalc *osc) const override |
| virtual Spectrum | PredictSyst (osc::IOscCalc *osc, const SystShifts &syst) const override |
| virtual Spectrum | PredictComponent (osc::IOscCalc *calc, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const override |
| virtual Spectrum | PredictComponentSyst (osc::IOscCalc *calc, const SystShifts &syst, Flavors::Flavors_t flav, Current::Current_t curr, Sign::Sign_t sign) const override |
| Spectrum | PredictCategory (osc::IOscCalc *osc, const SystComponentScale *syst) const |
| virtual void | SaveTo (TDirectory *dir) const override |
Public Member Functions inherited from ana::IPrediction | |
| virtual | ~IPrediction () |
| virtual Spectrum | PredictUnoscillated () const |
| virtual OscillatableSpectrum | ComponentCC (int from, int to) const |
Static Public Member Functions | |
| static std::unique_ptr < PredictionScaleComp > | LoadFrom (TDirectory *dir) |
Protected Member Functions | |
| PredictionScaleComp (const IPrediction *total, const std::vector< const IPrediction * > &preds, const std::vector< const SystComponentScale * > &systs) | |
Protected Attributes | |
| std::vector< const SystComponentScale * > | fSysts |
| std::vector< const IPrediction * > | fPreds |
| const IPrediction * | fTotal |
Prediction broken down into arbitrary components whose scales can be varied independently.
Definition at line 14 of file PredictionScaleComp.h.
| ana::PredictionScaleComp::PredictionScaleComp | ( | SpectrumLoaderBase & | loader, |
| const HistAxis & | axis, | ||
| SpillCut | spillcut, | ||
| Cut | cut, | ||
| const std::vector< const SystComponentScale * > & | systs, | ||
| const SystShifts & | shift = kNoShift, |
||
| const Var & | wei = kUnweighted |
||
| ) |
| cut | Cut applied to all histograms |
| truthcuts | Prediction will be broken down into N components following these cuts. |
Definition at line 20 of file PredictionScaleComp.cxx.
| ana::PredictionScaleComp::PredictionScaleComp | ( | SpectrumLoaderBase & | loader, |
| const HistAxis & | axis1, | ||
| const HistAxis & | axis2, | ||
| SpillCut | spillcut, | ||
| Cut | cut, | ||
| const std::vector< const SystComponentScale * > & | systs, | ||
| const SystShifts & | shift = kNoShift, |
||
| const Var & | wei = kUnweighted |
||
| ) |
Constructor to take two HistAxis's to weight 2D spectra.
Definition at line 66 of file PredictionScaleComp.cxx.
| ana::PredictionScaleComp::PredictionScaleComp | ( | SpectrumLoaderBase & | loaderNonswap, |
| SpectrumLoaderBase & | loaderNue, | ||
| SpectrumLoaderBase & | loaderNuTau, | ||
| SpectrumLoaderBase & | loaderIntrinsic, | ||
| const HistAxis & | axis, | ||
| SpillCut | spillcut, | ||
| Cut | cut, | ||
| const std::vector< const SystComponentScale * > & | systs, | ||
| const SystShifts & | shift = kNoShift, |
||
| const Var & | wei = kUnweighted |
||
| ) |
This is for the FD via PredictionNoExtrap.
Definition at line 42 of file PredictionScaleComp.cxx.
|
virtual |
Definition at line 106 of file PredictionScaleComp.cxx.
|
protected |
Definition at line 96 of file PredictionScaleComp.cxx.
|
static |
Definition at line 176 of file PredictionScaleComp.cxx.
|
inlineoverridevirtual |
Implements ana::IPrediction.
Definition at line 51 of file PredictionScaleComp.h.
| Spectrum ana::PredictionScaleComp::PredictCategory | ( | osc::IOscCalc * | osc, |
| const SystComponentScale * | syst | ||
| ) | const |
Definition at line 143 of file PredictionScaleComp.cxx.
|
inlineoverridevirtual |
Implements ana::IPrediction.
Definition at line 63 of file PredictionScaleComp.h.
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 113 of file PredictionScaleComp.cxx.
|
inlineoverridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 56 of file PredictionScaleComp.h.
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 155 of file PredictionScaleComp.cxx.
|
protected |
Definition at line 89 of file PredictionScaleComp.h.
|
protected |
Definition at line 88 of file PredictionScaleComp.h.
|
protected |
Definition at line 91 of file PredictionScaleComp.h.
1.8.5