1 #ifndef HiggsAnalysis_CombinedLimit_LimitAlgo_h
2 #define HiggsAnalysis_CombinedLimit_LimitAlgo_h
11 #include <boost/program_options.hpp>
15 namespace RooStats {
class ModelConfig; }
21 virtual void applyOptions(
const boost::program_options::variables_map &vm) { }
25 virtual bool run(RooWorkspace *
w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &
data,
double &
limit,
double &limitErr,
const double *hint) = 0;
26 virtual const std::string &
name()
const = 0;
27 const boost::program_options::options_description &
options()
const {
31 boost::program_options::options_description
options_;
virtual void applyDefaultOptions()
virtual void setNToys(const int)
virtual void applyOptions(const boost::program_options::variables_map &vm)
const boost::program_options::options_description & options() const
virtual const std::string & name() const =0
LimitAlgo(const char *desc)
char data[epos_bytes_allocation]
virtual void setToyNumber(const int)
boost::program_options::options_description options_
virtual bool run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint)=0