CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenerateOnly.cc
Go to the documentation of this file.
1 #include "../interface/GenerateOnly.h"
2 #include "../interface/Combine.h"
3 
4 using namespace RooStats;
5 
7  LimitAlgo("GenerateOnly specific options: none") {
8 }
9 
10 void GenerateOnly::applyOptions(const boost::program_options::variables_map &vm) {
11 }
12 
13 bool GenerateOnly::run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint) {
14  if (verbose > 0) {
15  std::cout << "generate toy samples only; no limit computation " << std::endl;
16  }
17  return true;
18 }
virtual bool run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint)
Definition: GenerateOnly.cc:13
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
tuple cout
Definition: gather_cfg.py:121
virtual void applyOptions(const boost::program_options::variables_map &vm)
Definition: GenerateOnly.cc:10
T w() const