Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
RooMinimizerFcn Class Reference

Definition at line 33 of file RooMinimizerFcn.h.

Public Member Functions

 RooMinimizerFcn (const RooMinimizerFcn &other)
 
 RooMinimizerFcn (RooAbsReal *funct, RooMinimizer *context, bool verbose=false)
 
virtual ~RooMinimizerFcn ()
 
void ApplyCovarianceMatrix (TMatrixDSym &V)
 
void BackProp (const ROOT::Fit::FitResult &results)
 
virtual ROOT::Math::IBaseFunctionMultiDimClone () const
 Clone a function. More...
 
Int_t evalCounter () const
 
RooArgListGetConstParamList ()
 
RooArgListGetFloatParamList ()
 
RooArgListGetInitConstParamList ()
 
RooArgListGetInitFloatParamList ()
 
std::ofstream * GetLogFile ()
 
Double_tGetMaxFCN ()
 
Int_t GetNumInvalidNLL ()
 
virtual unsigned int NDim () const
 Retrieve the dimension of the function. More...
 
void SetEvalErrorWall (Bool_t flag)
 
Bool_t SetLogFile (const char *inLogfile)
 
void SetPrintEvalErrors (Int_t numEvalErrors)
 
void SetVerbose (Bool_t flag=kTRUE)
 
Bool_t Synchronize (std::vector< ROOT::Fit::ParameterSettings > &parameters, Bool_t optConst, Bool_t verbose)
 
void zeroEvalCount ()
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDimTempl< double >
 IBaseFunctionMultiDimTempl ()
 
virtual ~IBaseFunctionMultiDimTempl ()
 virtual destructor More...
 
virtual IBaseFunctionMultiDimTempl< double > * Clone () const=0
 Clone a function. More...
 
virtual unsigned int NDim () const=0
 Retrieve the dimension of the function. More...
 
double operator() (const double *x) const
 Evaluate the function at a point x[]. More...
 

Private Member Functions

void ClearPdfParamAsymErr (Int_t index)
 
virtual double DoEval (const double *x) const
 Implementation of the evaluation function. More...
 
Double_t GetPdfParamErr (Int_t index)
 
Double_t GetPdfParamVal (Int_t index)
 
void SetPdfParamErr (Int_t index, Double_t loVal, Double_t hiVal)
 
void SetPdfParamErr (Int_t index, Double_t value)
 
Bool_t SetPdfParamVal (const Int_t &index, const Double_t &value) const
 
void updateFloatVec ()
 

Private Attributes

RooArgList_constParamList
 
RooMinimizer_context
 
Bool_t _doEvalErrorWall
 
Int_t _evalCounter
 
RooArgList_floatParamList
 
std::vector< RooAbsArg * > _floatParamVec
 
RooAbsReal_funct
 
RooArgList_initConstParamList
 
RooArgList_initFloatParamList
 
std::ofstream * _logfile
 
double _maxFCN
 
int _nDim
 
int _numBadNLL
 
int _printEvalErrors
 
bool _verbose
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionMultiDimTempl< double >
typedef double BackendType
 
typedef IBaseFunctionMultiDimTempl< double > BaseFunc
 

#include <RooMinimizerFcn.h>

Inheritance diagram for RooMinimizerFcn:
[legend]

Constructor & Destructor Documentation

◆ RooMinimizerFcn() [1/2]

RooMinimizerFcn::RooMinimizerFcn ( RooAbsReal funct,
RooMinimizer context,
bool  verbose = false 
)

Definition at line 43 of file RooMinimizerFcn.cxx.

◆ RooMinimizerFcn() [2/2]

RooMinimizerFcn::RooMinimizerFcn ( const RooMinimizerFcn other)

Definition at line 97 of file RooMinimizerFcn.cxx.

◆ ~RooMinimizerFcn()

RooMinimizerFcn::~RooMinimizerFcn ( )
virtual

Definition at line 117 of file RooMinimizerFcn.cxx.

Member Function Documentation

◆ ApplyCovarianceMatrix()

void RooMinimizerFcn::ApplyCovarianceMatrix ( TMatrixDSym V)

Definition at line 469 of file RooMinimizerFcn.cxx.

◆ BackProp()

void RooMinimizerFcn::BackProp ( const ROOT::Fit::FitResult results)

Definition at line 418 of file RooMinimizerFcn.cxx.

◆ ClearPdfParamAsymErr()

void RooMinimizerFcn::ClearPdfParamAsymErr ( Int_t  index)
private

Definition at line 402 of file RooMinimizerFcn.cxx.

◆ Clone()

ROOT::Math::IBaseFunctionMultiDim * RooMinimizerFcn::Clone ( ) const
virtual

Clone a function.

Each derived class must implement their version of the Clone method

Implements ROOT::Math::IBaseFunctionMultiDimTempl< double >.

Definition at line 126 of file RooMinimizerFcn.cxx.

◆ DoEval()

double RooMinimizerFcn::DoEval ( const double *  x) const
privatevirtual

Implementation of the evaluation function.

Must be implemented by derived classes

Implements ROOT::Math::IBaseFunctionMultiDimTempl< double >.

Definition at line 519 of file RooMinimizerFcn.cxx.

◆ evalCounter()

Int_t RooMinimizerFcn::evalCounter ( ) const
inline

Definition at line 64 of file RooMinimizerFcn.h.

◆ GetConstParamList()

RooArgList * RooMinimizerFcn::GetConstParamList ( )
inline

Definition at line 46 of file RooMinimizerFcn.h.

◆ GetFloatParamList()

RooArgList * RooMinimizerFcn::GetFloatParamList ( )
inline

Definition at line 45 of file RooMinimizerFcn.h.

◆ GetInitConstParamList()

RooArgList * RooMinimizerFcn::GetInitConstParamList ( )
inline

Definition at line 48 of file RooMinimizerFcn.h.

◆ GetInitFloatParamList()

RooArgList * RooMinimizerFcn::GetInitFloatParamList ( )
inline

Definition at line 47 of file RooMinimizerFcn.h.

◆ GetLogFile()

std::ofstream * RooMinimizerFcn::GetLogFile ( )
inline

Definition at line 53 of file RooMinimizerFcn.h.

◆ GetMaxFCN()

Double_t & RooMinimizerFcn::GetMaxFCN ( )
inline

Definition at line 56 of file RooMinimizerFcn.h.

◆ GetNumInvalidNLL()

Int_t RooMinimizerFcn::GetNumInvalidNLL ( )
inline

Definition at line 57 of file RooMinimizerFcn.h.

◆ GetPdfParamErr()

Double_t RooMinimizerFcn::GetPdfParamErr ( Int_t  index)
private

Definition at line 386 of file RooMinimizerFcn.cxx.

◆ GetPdfParamVal()

Double_t RooMinimizerFcn::GetPdfParamVal ( Int_t  index)
private

Definition at line 379 of file RooMinimizerFcn.cxx.

◆ NDim()

virtual unsigned int RooMinimizerFcn::NDim ( ) const
inlinevirtual

Retrieve the dimension of the function.

Implements ROOT::Math::IBaseFunctionMultiDimTempl< double >.

Definition at line 43 of file RooMinimizerFcn.h.

◆ SetEvalErrorWall()

void RooMinimizerFcn::SetEvalErrorWall ( Bool_t  flag)
inline

Definition at line 50 of file RooMinimizerFcn.h.

◆ SetLogFile()

Bool_t RooMinimizerFcn::SetLogFile ( const char *  inLogfile)

Definition at line 444 of file RooMinimizerFcn.cxx.

◆ SetPdfParamErr() [1/2]

void RooMinimizerFcn::SetPdfParamErr ( Int_t  index,
Double_t  loVal,
Double_t  hiVal 
)
private

Definition at line 410 of file RooMinimizerFcn.cxx.

◆ SetPdfParamErr() [2/2]

void RooMinimizerFcn::SetPdfParamErr ( Int_t  index,
Double_t  value 
)
private

Definition at line 393 of file RooMinimizerFcn.cxx.

◆ SetPdfParamVal()

Bool_t RooMinimizerFcn::SetPdfParamVal ( const Int_t index,
const Double_t value 
) const
inlineprivate

Definition at line 486 of file RooMinimizerFcn.cxx.

◆ SetPrintEvalErrors()

void RooMinimizerFcn::SetPrintEvalErrors ( Int_t  numEvalErrors)
inline

Definition at line 51 of file RooMinimizerFcn.h.

◆ SetVerbose()

void RooMinimizerFcn::SetVerbose ( Bool_t  flag = kTRUE)
inline

Definition at line 54 of file RooMinimizerFcn.h.

◆ Synchronize()

Bool_t RooMinimizerFcn::Synchronize ( std::vector< ROOT::Fit::ParameterSettings > &  parameters,
Bool_t  optConst,
Bool_t  verbose 
)

Definition at line 132 of file RooMinimizerFcn.cxx.

◆ updateFloatVec()

void RooMinimizerFcn::updateFloatVec ( )
private

Definition at line 505 of file RooMinimizerFcn.cxx.

◆ zeroEvalCount()

void RooMinimizerFcn::zeroEvalCount ( )
inline

Definition at line 65 of file RooMinimizerFcn.h.

Member Data Documentation

◆ _constParamList

RooArgList* RooMinimizerFcn::_constParamList
private

Definition at line 100 of file RooMinimizerFcn.h.

◆ _context

RooMinimizer* RooMinimizerFcn::_context
private

Definition at line 87 of file RooMinimizerFcn.h.

◆ _doEvalErrorWall

Bool_t RooMinimizerFcn::_doEvalErrorWall
private

Definition at line 92 of file RooMinimizerFcn.h.

◆ _evalCounter

Int_t RooMinimizerFcn::_evalCounter
mutableprivate

Definition at line 84 of file RooMinimizerFcn.h.

◆ _floatParamList

RooArgList* RooMinimizerFcn::_floatParamList
private

Definition at line 98 of file RooMinimizerFcn.h.

◆ _floatParamVec

std::vector<RooAbsArg*> RooMinimizerFcn::_floatParamVec
private

Definition at line 99 of file RooMinimizerFcn.h.

◆ _funct

RooAbsReal* RooMinimizerFcn::_funct
private

Definition at line 86 of file RooMinimizerFcn.h.

◆ _initConstParamList

RooArgList* RooMinimizerFcn::_initConstParamList
private

Definition at line 102 of file RooMinimizerFcn.h.

◆ _initFloatParamList

RooArgList* RooMinimizerFcn::_initFloatParamList
private

Definition at line 101 of file RooMinimizerFcn.h.

◆ _logfile

std::ofstream* RooMinimizerFcn::_logfile
private

Definition at line 95 of file RooMinimizerFcn.h.

◆ _maxFCN

double RooMinimizerFcn::_maxFCN
mutableprivate

Definition at line 89 of file RooMinimizerFcn.h.

◆ _nDim

int RooMinimizerFcn::_nDim
private

Definition at line 94 of file RooMinimizerFcn.h.

◆ _numBadNLL

int RooMinimizerFcn::_numBadNLL
mutableprivate

Definition at line 90 of file RooMinimizerFcn.h.

◆ _printEvalErrors

int RooMinimizerFcn::_printEvalErrors
mutableprivate

Definition at line 91 of file RooMinimizerFcn.h.

◆ _verbose

bool RooMinimizerFcn::_verbose
private

Definition at line 96 of file RooMinimizerFcn.h.

Libraries for RooMinimizerFcn:
[legend]

The documentation for this class was generated from the following files: