1 #ifndef HiggsAnalysis_CombinedLimit_FitterAlgoBase_h
2 #define HiggsAnalysis_CombinedLimit_FitterAlgoBase_h
11 #include "../interface/LimitAlgo.h"
12 #include "../interface/ProfileLikelihood.h"
27 virtual bool run(RooWorkspace *
w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &
data,
double &
limit,
double &limitErr,
const double *hint);
42 std::auto_ptr<RooAbsReal>
nll;
44 virtual bool runSpecific(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data,
double &limit,
double &limitErr,
const double *hint) = 0;
50 RooFitResult *
doFit(RooAbsPdf &pdf, RooAbsData &data, RooRealVar &
r,
const RooCmdArg &constrain,
bool doHesse=
true,
int ndim=1,
bool reuseNLL=
false) ;
51 RooFitResult *
doFit(RooAbsPdf &pdf, RooAbsData &data,
const RooArgList &rs,
const RooCmdArg &constrain,
bool doHesse=
true,
int ndim=1,
bool reuseNLL=
false) ;
void applyOptionsBase(const boost::program_options::variables_map &vm)
static std::string minimizerAlgoForMinos_
static float minimizerTolerance_
RooFitResult * doFit(RooAbsPdf &pdf, RooAbsData &data, RooRealVar &r, const RooCmdArg &constrain, bool doHesse=true, int ndim=1, bool reuseNLL=false)
static bool keepFailures_
double findCrossing(CascadeMinimizer &minim, RooAbsReal &nll, RooRealVar &r, double level, double rStart, double rBound)
static float preFitValue_
std::auto_ptr< RooAbsReal > nll
static std::string minimizerAlgo_
static int minimizerStrategy_
FitterAlgoBase(const char *title="<FillMe> specific options")
virtual bool runSpecific(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint)=0
virtual bool run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint)
static float minimizerToleranceForMinos_
char data[epos_bytes_allocation]
static int maxFailedSteps_
static int minimizerStrategyForMinos_