1 #ifndef HiggsAnalysis_CombinedLimit_Combine_h
2 #define HiggsAnalysis_CombinedLimit_Combine_h
4 #include <boost/program_options.hpp>
11 namespace RooStats {
class ModelConfig; }
31 void applyOptions(
const boost::program_options::variables_map &vm) ;
33 void run(TString hlfFile,
const std::string &
dataset,
double &
limit,
double &limitErr,
int &iToy, TTree *
tree,
int nToys);
36 static void commitPoint(
bool expected,
float quantile);
41 bool mklimit(RooWorkspace *
w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &
data,
double &
limit,
double &limitErr) ;
static void addBranch(const char *name, void *address, const char *leaflist)
Add a branch to the output tree (for advanced use or debugging only)
TDirectory * readToysFromHere
boost::program_options::options_description statOptions_
boost::program_options::options_description miscOptions_
TDirectory * writeToysHere
static void commitPoint(bool expected, float quantile)
Save a point into the output tree. Usually if expected = false, quantile should be set to -1 (except ...
boost::program_options::options_description ioOptions_
Float_t g_quantileExpected_
void run(TString hlfFile, const std::string &dataset, double &limit, double &limitErr, int &iToy, TTree *tree, int nToys)
bool generateBinnedWorkaround_
boost::program_options::options_description & miscOptions()
std::string workspaceName_
std::string modelConfigNameB_
bool mklimit(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr)
std::string modelConfigName_
char data[epos_bytes_allocation]
boost::program_options::options_description & ioOptions()
boost::program_options::options_description & statOptions()
void applyOptions(const boost::program_options::variables_map &vm)