#include <GoodnessOfFit.h>
Public Member Functions | |
virtual void | applyOptions (const boost::program_options::variables_map &vm) |
GoodnessOfFit () | |
virtual const std::string & | name () const |
virtual bool | run (RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint) |
virtual bool | runSaturatedModel (RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint) |
Public Member Functions inherited from LimitAlgo | |
virtual void | applyDefaultOptions () |
LimitAlgo () | |
LimitAlgo (const char *desc) | |
const boost::program_options::options_description & | options () const |
virtual void | setNToys (const int) |
virtual void | setToyNumber (const int) |
virtual | ~LimitAlgo () |
Protected Member Functions | |
RooAbsPdf * | makeSaturatedPdf (RooAbsData &data) |
Protected Attributes | |
std::vector< RooAbsData * > | tempData_ |
Protected Attributes inherited from LimitAlgo | |
boost::program_options::options_description | options_ |
Static Protected Attributes | |
static std::string | algo_ |
static bool | fixedMu_ = false |
static std::string | minimizerAlgo_ = "Minuit2" |
static int | minimizerStrategy_ = 1 |
static float | minimizerTolerance_ = 1e-4 |
static float | mu_ = 0.0 |
Do a ML fit of the data with background and signal+background hypothesis and print out diagnostics plots
Definition at line 14 of file GoodnessOfFit.h.
GoodnessOfFit::GoodnessOfFit | ( | ) |
Definition at line 38 of file GoodnessOfFit.cc.
References algo_, minimizerAlgo_, minimizerStrategy_, minimizerTolerance_, mu_, and LimitAlgo::options_.
|
virtual |
Reimplemented from LimitAlgo.
Definition at line 50 of file GoodnessOfFit.cc.
References algo_, gather_cfg::cout, and fixedMu_.
|
protected |
Definition at line 136 of file GoodnessOfFit.cc.
References gather_cfg::cout, data, utils::printRDH(), run_regression::ret, and tempData_.
Referenced by runSaturatedModel().
|
inlinevirtual |
|
virtual |
Implements LimitAlgo.
Definition at line 57 of file GoodnessOfFit.cc.
References algo_, fixedMu_, minimizerAlgo_, minimizerTolerance_, mu_, alignCSCRings::r, and runSaturatedModel().
|
virtual |
Definition at line 66 of file GoodnessOfFit.cc.
References CloseCoutSentry::clear(), createBeamHaloJobs::constraints, gather_cfg::cout, RecoTau_DiTaus_pt_20-420_cfg::datasets, utils::factorizePdf(), i, makeSaturatedPdf(), minimizerStrategy_, n, pileupCalc::nbins, and tempData_.
Referenced by run().
|
staticprotected |
Definition at line 27 of file GoodnessOfFit.h.
Referenced by applyOptions(), GoodnessOfFit(), and run().
|
staticprotected |
Definition at line 34 of file GoodnessOfFit.h.
Referenced by applyOptions(), and run().
|
staticprotected |
Definition at line 29 of file GoodnessOfFit.h.
Referenced by GoodnessOfFit(), and run().
|
staticprotected |
Definition at line 31 of file GoodnessOfFit.h.
Referenced by GoodnessOfFit(), and runSaturatedModel().
|
staticprotected |
Definition at line 30 of file GoodnessOfFit.h.
Referenced by GoodnessOfFit(), and run().
|
staticprotected |
Definition at line 33 of file GoodnessOfFit.h.
Referenced by GoodnessOfFit(), and run().
|
mutableprotected |
Definition at line 38 of file GoodnessOfFit.h.
Referenced by makeSaturatedPdf(), and runSaturatedModel().