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

Private Member Functions

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

Private Attributes

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

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionMultiDim
typedef IBaseFunctionMultiDim BaseFunc
 

#include <RooMinimizerFcn.h>

+ Inheritance diagram for RooMinimizerFcn:
+ Collaboration diagram for RooMinimizerFcn:

Constructor & Destructor Documentation

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

Definition at line 43 of file RooMinimizerFcn.cxx.

Referenced by Clone().

RooMinimizerFcn::RooMinimizerFcn ( const RooMinimizerFcn other)

Definition at line 97 of file RooMinimizerFcn.cxx.

RooMinimizerFcn::~RooMinimizerFcn ( )
virtual

Definition at line 117 of file RooMinimizerFcn.cxx.

Member Function Documentation

void RooMinimizerFcn::ApplyCovarianceMatrix ( TMatrixDSym V)

Definition at line 469 of file RooMinimizerFcn.cxx.

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

Definition at line 418 of file RooMinimizerFcn.cxx.

void RooMinimizerFcn::ClearPdfParamAsymErr ( Int_t  index)
private

Definition at line 402 of file RooMinimizerFcn.cxx.

Referenced by BackProp().

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

Clone a function.

Each derived class must implement their version of the Clone method

Implements ROOT::Math::IBaseFunctionMultiDim.

Definition at line 126 of file RooMinimizerFcn.cxx.

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

Implementation of the evaluation function.

Must be implemented by derived classes

Implements ROOT::Math::IBaseFunctionMultiDim.

Definition at line 519 of file RooMinimizerFcn.cxx.

Int_t RooMinimizerFcn::evalCounter ( ) const
inline

Definition at line 64 of file RooMinimizerFcn.h.

Referenced by RooMinimizer::evalCounter().

RooArgList* RooMinimizerFcn::GetConstParamList ( )
inline

Definition at line 46 of file RooMinimizerFcn.h.

RooArgList* RooMinimizerFcn::GetFloatParamList ( )
inline

Definition at line 45 of file RooMinimizerFcn.h.

RooArgList* RooMinimizerFcn::GetInitConstParamList ( )
inline

Definition at line 48 of file RooMinimizerFcn.h.

RooArgList* RooMinimizerFcn::GetInitFloatParamList ( )
inline

Definition at line 47 of file RooMinimizerFcn.h.

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

Definition at line 53 of file RooMinimizerFcn.h.

Referenced by RooMinimizer::logfile().

Double_t& RooMinimizerFcn::GetMaxFCN ( )
inline

Definition at line 56 of file RooMinimizerFcn.h.

Referenced by RooMinimizer::maxFCN().

Int_t RooMinimizerFcn::GetNumInvalidNLL ( )
inline

Definition at line 57 of file RooMinimizerFcn.h.

Double_t RooMinimizerFcn::GetPdfParamErr ( Int_t  index)
private

Definition at line 386 of file RooMinimizerFcn.cxx.

Double_t RooMinimizerFcn::GetPdfParamVal ( Int_t  index)
private

Definition at line 379 of file RooMinimizerFcn.cxx.

virtual unsigned int RooMinimizerFcn::NDim ( ) const
inlinevirtual

Retrieve the dimension of the function.

Implements ROOT::Math::IBaseFunctionMultiDim.

Definition at line 43 of file RooMinimizerFcn.h.

Referenced by RooMinimizer::getNPar().

void RooMinimizerFcn::SetEvalErrorWall ( Bool_t  flag)
inline

Definition at line 50 of file RooMinimizerFcn.h.

Referenced by RooMinimizer::setEvalErrorWall().

Bool_t RooMinimizerFcn::SetLogFile ( const char *  inLogfile)

Definition at line 444 of file RooMinimizerFcn.cxx.

Referenced by RooMinimizer::setLogFile().

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

Definition at line 393 of file RooMinimizerFcn.cxx.

Referenced by ApplyCovarianceMatrix(), and BackProp().

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

Definition at line 410 of file RooMinimizerFcn.cxx.

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

Definition at line 486 of file RooMinimizerFcn.cxx.

Referenced by BackProp(), and DoEval().

void RooMinimizerFcn::SetPrintEvalErrors ( Int_t  numEvalErrors)
inline

Definition at line 51 of file RooMinimizerFcn.h.

Referenced by RooMinimizer::setPrintEvalErrors().

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

Definition at line 54 of file RooMinimizerFcn.h.

Referenced by RooMinimizer::setVerbose().

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

Definition at line 132 of file RooMinimizerFcn.cxx.

void RooMinimizerFcn::updateFloatVec ( )
private

Definition at line 505 of file RooMinimizerFcn.cxx.

Referenced by RooMinimizerFcn(), and Synchronize().

void RooMinimizerFcn::zeroEvalCount ( )
inline

Definition at line 65 of file RooMinimizerFcn.h.

Referenced by RooMinimizer::zeroEvalCount().

Member Data Documentation

RooArgList* RooMinimizerFcn::_constParamList
private
RooMinimizer* RooMinimizerFcn::_context
private

Definition at line 87 of file RooMinimizerFcn.h.

Referenced by DoEval(), RooMinimizerFcn(), SetLogFile(), and Synchronize().

Bool_t RooMinimizerFcn::_doEvalErrorWall
private

Definition at line 92 of file RooMinimizerFcn.h.

Referenced by DoEval(), and SetEvalErrorWall().

Int_t RooMinimizerFcn::_evalCounter
mutableprivate

Definition at line 84 of file RooMinimizerFcn.h.

Referenced by DoEval(), evalCounter(), RooMinimizerFcn(), and zeroEvalCount().

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

Definition at line 99 of file RooMinimizerFcn.h.

Referenced by SetPdfParamVal(), and updateFloatVec().

RooAbsReal* RooMinimizerFcn::_funct
private

Definition at line 86 of file RooMinimizerFcn.h.

Referenced by DoEval(), RooMinimizerFcn(), and Synchronize().

RooArgList* RooMinimizerFcn::_initConstParamList
private
RooArgList* RooMinimizerFcn::_initFloatParamList
private
std::ofstream* RooMinimizerFcn::_logfile
private

Definition at line 95 of file RooMinimizerFcn.h.

Referenced by DoEval(), GetLogFile(), and SetLogFile().

double RooMinimizerFcn::_maxFCN
mutableprivate

Definition at line 89 of file RooMinimizerFcn.h.

Referenced by DoEval(), and GetMaxFCN().

int RooMinimizerFcn::_nDim
private
int RooMinimizerFcn::_numBadNLL
mutableprivate

Definition at line 90 of file RooMinimizerFcn.h.

Referenced by DoEval(), and GetNumInvalidNLL().

int RooMinimizerFcn::_printEvalErrors
mutableprivate

Definition at line 91 of file RooMinimizerFcn.h.

Referenced by DoEval(), and SetPrintEvalErrors().

bool RooMinimizerFcn::_verbose
private

Definition at line 96 of file RooMinimizerFcn.h.

Referenced by DoEval(), SetPdfParamVal(), and SetVerbose().


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