Parameterize a collection of universes as a function of the syst knobs. More...
#include <PredictionLinFit.h>
Static Public Member Functions | |
static std::unique_ptr < PredictionLinFit > | LoadFrom (TDirectory *dir) |
Protected Member Functions | |
void | InitFits () const |
std::vector< double > | InitFitsBin (const std::vector< std::vector< double >> &M, const std::vector< double > &ds, const std::vector< std::vector< double >> &coords) const |
Helper for InitFits() More... | |
std::vector< double > | GetCoords (const SystShifts &shift) const |
Ratio | GetRatio (const SystShifts &shift) const |
Protected Attributes | |
const std::vector< const ISyst * > | fSysts |
const IPrediction * | fNom |
std::vector< std::pair < SystShifts, const IPrediction * > > | fUnivs |
std::vector< std::vector < double > > | fCoeffs |
Parameterize a collection of universes as a function of the syst knobs.
Definition at line 11 of file PredictionLinFit.h.
ana::PredictionLinFit::PredictionLinFit | ( | const std::vector< const ISyst * > & | systs, |
const IPrediction * | pnom, | ||
const std::vector< std::pair< SystShifts, const IPrediction * >> & | univs | ||
) |
Direct creation from an ensemble of universes.
Definition at line 28 of file PredictionLinFit.cxx.
ana::PredictionLinFit::PredictionLinFit | ( | const std::vector< const ISyst * > & | systs, |
const IPredictionGenerator & | predGen, | ||
Loaders & | loaders, | ||
int | nUniv | ||
) |
Constructor in the PredictionInterp style.
Definition at line 36 of file PredictionLinFit.cxx.
ana::PredictionLinFit::~PredictionLinFit | ( | ) |
Definition at line 78 of file PredictionLinFit.cxx.
void ana::PredictionLinFit::DebugPlot | ( | const ISyst * | syst, |
osc::IOscCalc * | calc, | ||
Flavors::Flavors_t | flav = Flavors::kAll , |
||
Current::Current_t | curr = Current::kBoth , |
||
Sign::Sign_t | sign = Sign::kBoth |
||
) | const |
Definition at line 358 of file PredictionLinFit.cxx.
void ana::PredictionLinFit::DebugPlotColz | ( | const ISyst * | syst, |
osc::IOscCalc * | calc, | ||
Flavors::Flavors_t | flav = Flavors::kAll , |
||
Current::Current_t | curr = Current::kBoth , |
||
Sign::Sign_t | sign = Sign::kBoth |
||
) | const |
Definition at line 444 of file PredictionLinFit.cxx.
void ana::PredictionLinFit::DebugPlots | ( | osc::IOscCalc * | calc, |
const std::string & | savePattern = "" , |
||
Flavors::Flavors_t | flav = Flavors::kAll , |
||
Current::Current_t | curr = Current::kBoth , |
||
Sign::Sign_t | sign = Sign::kBoth |
||
) | const |
Definition at line 411 of file PredictionLinFit.cxx.
void ana::PredictionLinFit::DebugPlotsColz | ( | osc::IOscCalc * | calc, |
const std::string & | savePattern = "" , |
||
Flavors::Flavors_t | flav = Flavors::kAll , |
||
Current::Current_t | curr = Current::kBoth , |
||
Sign::Sign_t | sign = Sign::kBoth |
||
) | const |
Definition at line 479 of file PredictionLinFit.cxx.
|
protected |
Definition at line 285 of file PredictionLinFit.cxx.
|
protected |
Definition at line 306 of file PredictionLinFit.cxx.
|
protected |
Definition at line 83 of file PredictionLinFit.cxx.
|
protected |
Helper for InitFits()
Definition at line 142 of file PredictionLinFit.cxx.
|
static |
Definition at line 513 of file PredictionLinFit.cxx.
|
overridevirtual |
Implements ana::IPrediction.
Definition at line 253 of file PredictionLinFit.cxx.
|
overridevirtual |
Implements ana::IPrediction.
Definition at line 266 of file PredictionLinFit.cxx.
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 275 of file PredictionLinFit.cxx.
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 259 of file PredictionLinFit.cxx.
|
overridevirtual |
Reimplemented from ana::IPrediction.
Definition at line 330 of file PredictionLinFit.cxx.
|
mutableprotected |
Definition at line 86 of file PredictionLinFit.h.
|
protected |
Definition at line 83 of file PredictionLinFit.h.
|
protected |
Definition at line 82 of file PredictionLinFit.h.
|
protected |
Definition at line 84 of file PredictionLinFit.h.