CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BayesianToyMC.h
Go to the documentation of this file.
1 #ifndef HiggsAnalysis_CombinedLimit_BayesianToyMC_h
2 #define HiggsAnalysis_CombinedLimit_BayesianToyMC_h
3 
11 #include "../interface/LimitAlgo.h"
12 
13 class BayesianToyMC : public LimitAlgo {
14 public:
15  BayesianToyMC() ;
16  virtual bool run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint);
17  virtual void applyOptions(const boost::program_options::variables_map &vm) ;
18  virtual const std::string & name() const {
19  static const std::string name("BayesianToyMC");
20  return name;
21  }
22 private:
24  static std::string integrationType_;
26  static int numIters_;
28  static unsigned int tries_;
30  static float hintSafetyFactor_;
31 };
32 
33 #endif
static int numIters_
number of iterations for each toy mc computation
Definition: BayesianToyMC.h:26
static unsigned int tries_
number of toy mc computations to run
Definition: BayesianToyMC.h:28
virtual void applyOptions(const boost::program_options::variables_map &vm)
static std::string integrationType_
numerical integration algorithm
Definition: BayesianToyMC.h:24
virtual const std::string & name() const
Definition: BayesianToyMC.h:18
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
virtual bool run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint)
T w() const
static float hintSafetyFactor_
Safety factor for hint (integrate up to this number of times the hinted limit)
Definition: BayesianToyMC.h:30