#include <BayesianToyMC.h>
Public Member Functions | |
virtual void | applyOptions (const boost::program_options::variables_map &vm) |
BayesianToyMC () | |
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) |
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 () |
Static Private Attributes | |
static float | hintSafetyFactor_ = 5. |
Safety factor for hint (integrate up to this number of times the hinted limit) More... | |
static std::string | integrationType_ = "toymc" |
numerical integration algorithm More... | |
static int | numIters_ = 1000 |
number of iterations for each toy mc computation More... | |
static unsigned int | tries_ = 1 |
number of toy mc computations to run More... | |
Additional Inherited Members | |
Protected Attributes inherited from LimitAlgo | |
boost::program_options::options_description | options_ |
Interface to BayesianCalculator used with toymc algorithms
Definition at line 13 of file BayesianToyMC.h.
BayesianToyMC::BayesianToyMC | ( | ) |
Definition at line 21 of file BayesianToyMC.cc.
References hintSafetyFactor_, integrationType_, numIters_, LimitAlgo::options_, and tries_.
|
virtual |
Reimplemented from LimitAlgo.
Definition at line 34 of file BayesianToyMC.cc.
References gather_cfg::cout, integrationType_, numIters_, tries_, and withSystematics.
|
inlinevirtual |
|
virtual |
Implements LimitAlgo.
Definition at line 42 of file BayesianToyMC.cc.
References cl, gather_cfg::cout, hintSafetyFactor_, i, integrationType_, utils::makeNuisancePdf(), numIters_, alignCSCRings::r, mathSSE::sqrt(), tries_, and withSystematics.
|
staticprivate |
Safety factor for hint (integrate up to this number of times the hinted limit)
Definition at line 30 of file BayesianToyMC.h.
Referenced by BayesianToyMC(), and run().
|
staticprivate |
numerical integration algorithm
Definition at line 24 of file BayesianToyMC.h.
Referenced by applyOptions(), BayesianToyMC(), and run().
|
staticprivate |
number of iterations for each toy mc computation
Definition at line 26 of file BayesianToyMC.h.
Referenced by applyOptions(), BayesianToyMC(), and run().
|
staticprivate |
number of toy mc computations to run
Definition at line 28 of file BayesianToyMC.h.
Referenced by applyOptions(), BayesianToyMC(), and run().