CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GoodnessOfFit.h
Go to the documentation of this file.
1 #ifndef HiggsAnalysis_CombinedLimit_GoodnessOfFit_h
2 #define HiggsAnalysis_CombinedLimit_GoodnessOfFit_h
3 
11 #include "../interface/LimitAlgo.h"
12 #include "../interface/ProfileLikelihood.h"
13 
14 class GoodnessOfFit : public LimitAlgo {
15 public:
16  GoodnessOfFit() ;
17  virtual bool run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint);
18  virtual const std::string & name() const {
19  static const std::string name("GoodnessOfFit");
20  return name;
21  }
22  virtual void applyOptions(const boost::program_options::variables_map &vm) ;
23 
24  virtual bool runSaturatedModel(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint);
25 
26 protected:
27  static std::string algo_;
28 
29  static std::string minimizerAlgo_;
30  static float minimizerTolerance_;
31  static int minimizerStrategy_;
32 
33  static float mu_;
34  static bool fixedMu_;
35 
36  // Return a pdf that matches this data perfectly.
37  RooAbsPdf *makeSaturatedPdf(RooAbsData &data);
38  mutable std::vector<RooAbsData*> tempData_;
39 
40 };
41 
42 
43 #endif
static bool fixedMu_
Definition: GoodnessOfFit.h:34
RooAbsPdf * makeSaturatedPdf(RooAbsData &data)
virtual void applyOptions(const boost::program_options::variables_map &vm)
static float minimizerTolerance_
Definition: GoodnessOfFit.h:30
virtual bool runSaturatedModel(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint)
static std::string minimizerAlgo_
Definition: GoodnessOfFit.h:29
static int minimizerStrategy_
Definition: GoodnessOfFit.h:31
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
virtual const std::string & name() const
Definition: GoodnessOfFit.h:18
std::vector< RooAbsData * > tempData_
Definition: GoodnessOfFit.h:38
virtual bool run(RooWorkspace *w, RooStats::ModelConfig *mc_s, RooStats::ModelConfig *mc_b, RooAbsData &data, double &limit, double &limitErr, const double *hint)
static std::string algo_
Definition: GoodnessOfFit.h:27
T w() const
static float mu_
Definition: GoodnessOfFit.h:33