MINT2
Public Member Functions | List of all members
MINT::IMinimisable Class Referenceabstract

#include <IMinimisable.h>

Inheritance diagram for MINT::IMinimisable:
MINT::Minimisable binflipChi2 BinFlipChi2Base chi2BF FindMaxFCN GaussianConstraintChi2 MINT::LASSO MINT::LASSO_flexi MINT::minimisePareto MINT::Neg2LL MINT::Neg2LLClass< PDF_TYPE, EVENTLIST_TYPE > MINT::Neg2LLConstraint MINT::Neg2LLMultiConstraint MINT::Neg2LLSum MINT::SimulMinimisable

Public Member Functions

virtual MinuitParameterSetgetParSet ()=0
 
virtual void beginFit ()=0
 
virtual void parametersChanged ()=0
 
virtual void endFit ()=0
 
virtual double getVal ()=0
 
virtual double getNewVal ()=0
 
virtual void Gradient (std::vector< double > &grad)
 
virtual bool useAnalyticGradient ()
 
virtual void setUseAnalyticGradient (bool useAnalyticGradient)
 
virtual ~IMinimisable ()
 

Detailed Description

Definition at line 10 of file IMinimisable.h.

Constructor & Destructor Documentation

◆ ~IMinimisable()

virtual MINT::IMinimisable::~IMinimisable ( )
inlinevirtual

Definition at line 35 of file IMinimisable.h.

35 {}

Member Function Documentation

◆ beginFit()

virtual void MINT::IMinimisable::beginFit ( )
pure virtual

◆ endFit()

virtual void MINT::IMinimisable::endFit ( )
pure virtual

◆ getNewVal()

virtual double MINT::IMinimisable::getNewVal ( )
pure virtual

◆ getParSet()

virtual MinuitParameterSet* MINT::IMinimisable::getParSet ( )
pure virtual

Implemented in MINT::Neg2LL, and MINT::Minimisable.

◆ getVal()

virtual double MINT::IMinimisable::getVal ( )
pure virtual

◆ Gradient()

virtual void MINT::IMinimisable::Gradient ( std::vector< double > &  grad)
inlinevirtual

Reimplemented in MINT::Neg2LL, MINT::Neg2LLClass< PDF_TYPE, EVENTLIST_TYPE >, MINT::Neg2LLSum, and MINT::LASSO.

Definition at line 24 of file IMinimisable.h.

24  {
25  std::cout << "Gradient of pdf is not implemented."
26  << "Please implement me or set useAnalyticGradient to 0 in your options file."
27  << " I'll crash now. " << std::endl;
28  throw "crash";
29  (void)grad;
30  }

◆ parametersChanged()

virtual void MINT::IMinimisable::parametersChanged ( )
pure virtual

◆ setUseAnalyticGradient()

virtual void MINT::IMinimisable::setUseAnalyticGradient ( bool  useAnalyticGradient)
inlinevirtual

Reimplemented in MINT::Neg2LL, MINT::Neg2LLClass< PDF_TYPE, EVENTLIST_TYPE >, and MINT::Neg2LLSum.

Definition at line 32 of file IMinimisable.h.

33  { (void)useAnalyticGradient; };
virtual bool useAnalyticGradient()
Definition: IMinimisable.h:31

◆ useAnalyticGradient()

virtual bool MINT::IMinimisable::useAnalyticGradient ( )
inlinevirtual

Reimplemented in MINT::Neg2LL, MINT::Neg2LLClass< PDF_TYPE, EVENTLIST_TYPE >, MINT::Neg2LLSum, and MINT::LASSO.

Definition at line 31 of file IMinimisable.h.

31 {return false;}

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