00001 #include "../interface/GenerateOnly.h" 00002 #include "../interface/Combine.h" 00003 00004 using namespace RooStats; 00005 00006 GenerateOnly::GenerateOnly() : 00007 LimitAlgo("GenerateOnly specific options: none") { 00008 } 00009 00010 void GenerateOnly::applyOptions(const boost::program_options::variables_map &vm) { 00011 } 00012 00013 bool GenerateOnly::run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint) { 00014 if (verbose > 0) { 00015 std::cout << "generate toy samples only; no limit computation " << std::endl; 00016 } 00017 return true; 00018 }