CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RooMinimizerOpt.h
Go to the documentation of this file.
1 #ifndef HiggsAnalysis_CombinedLimit_RooMinimizerOpt
2 #define HiggsAnalysis_CombinedLimit_RooMinimizerOpt
3 
4 #if defined(ROO_MINIMIZER) || defined(ROO_MINIMIZER_FCN)
5  #error "You cannot include RooMinimizer.h or RooMinimizerFcn.h before RooMinimizerOpt.h"
6 #else
7  #define private protected
8  #include <RooMinimizer.h>
9  #undef protected
10 #endif
11 
12 class RooMinimizerOpt : public RooMinimizer {
13  public:
14  RooMinimizerOpt(RooAbsReal& function) ;
15  Double_t edm();
16 };
17 
18 class RooMinimizerFcnOpt : public RooMinimizerFcn {
19  public:
20  RooMinimizerFcnOpt(RooAbsReal *funct, RooMinimizer *context, bool verbose = false);
21  virtual ROOT::Math::IBaseFunctionMultiDim* Clone() const;
22  protected:
23  virtual double DoEval(const double * x) const;
24  mutable std::vector<RooRealVar *> _vars;
25 };
26 
27 #endif
std::vector< RooRealVar * > _vars
RooMinimizerOpt(RooAbsReal &function)
virtual ROOT::Math::IBaseFunctionMultiDim * Clone() const
RooMinimizerFcnOpt(RooAbsReal *funct, RooMinimizer *context, bool verbose=false)
Definition: DDAxes.h:10
virtual double DoEval(const double *x) const