CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
RooMinimizerOpt Class Reference

#include <RooMinimizerOpt.h>

Inheritance diagram for RooMinimizerOpt:

Public Member Functions

Double_t edm ()
 
 RooMinimizerOpt (RooAbsReal &function)
 

Detailed Description

Definition at line 12 of file RooMinimizerOpt.h.

Constructor & Destructor Documentation

RooMinimizerOpt::RooMinimizerOpt ( RooAbsReal &  function)

Definition at line 10 of file RooMinimizerOpt.cc.

10  :
11  RooMinimizer(function)
12 {
13  delete _fcn;
14  _fcn = new RooMinimizerFcnOpt(_func,this,_verbose);
15  setEps(ROOT::Math::MinimizerOptions::DefaultTolerance());
16 }

Member Function Documentation

Double_t RooMinimizerOpt::edm ( )

Definition at line 19 of file RooMinimizerOpt.cc.

Referenced by nllutils::robustMinimize().

20 {
21  if (_theFitter == 0) throw std::logic_error("Must have done a fit before calling edm()");
22  return _theFitter->Result().Edm();
23 }