CMS 3D CMS Logo

Public Member Functions

RooMinimizerOpt Class Reference

#include <RooMinimizerOpt.h>

List of all members.

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.

                                                     :
    RooMinimizer(function)
{
    delete _fcn;
    _fcn = new RooMinimizerFcnOpt(_func,this,_verbose); 
    setEps(ROOT::Math::MinimizerOptions::DefaultTolerance());
}

Member Function Documentation

Double_t RooMinimizerOpt::edm ( )

Definition at line 19 of file RooMinimizerOpt.cc.

Referenced by nllutils::robustMinimize().

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