MINT2
Public Member Functions | Private Attributes | List of all members
MINT::Minimisable Class Referenceabstract

#include <Minimisable.h>

Inheritance diagram for MINT::Minimisable:
MINT::IMinimisable 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

 Minimisable (MinuitParameterSet *mps=0)
 
 Minimisable (const Minimisable &other)
 
virtual ~Minimisable ()
 
void setPset (MinuitParameterSet *mps)
 
MinuitParameterSetgetParSet ()
 
virtual void beginFit ()
 
virtual void parametersChanged ()
 
virtual void endFit ()
 
double getVal ()=0
 
double getNewVal ()
 
- Public Member Functions inherited from MINT::IMinimisable
virtual void Gradient (std::vector< double > &grad)
 
virtual bool useAnalyticGradient ()
 
virtual void setUseAnalyticGradient (bool useAnalyticGradient)
 
virtual ~IMinimisable ()
 

Private Attributes

MinuitParameterSet_pset
 

Detailed Description

Definition at line 10 of file Minimisable.h.

Constructor & Destructor Documentation

◆ Minimisable() [1/2]

Minimisable::Minimisable ( MinuitParameterSet mps = 0)

Definition at line 6 of file Minimisable.cpp.

7  : _pset(mps)
8 {
9 
10 }
MinuitParameterSet * _pset
Definition: Minimisable.h:11

◆ Minimisable() [2/2]

Minimisable::Minimisable ( const Minimisable other)

Definition at line 12 of file Minimisable.cpp.

13  : IMinimisable()
14  , _pset(other._pset)
15 {
16 
17 }
MinuitParameterSet * _pset
Definition: Minimisable.h:11

◆ ~Minimisable()

Minimisable::~Minimisable ( )
virtual

Definition at line 19 of file Minimisable.cpp.

19 {}

Member Function Documentation

◆ beginFit()

virtual void MINT::Minimisable::beginFit ( )
inlinevirtual

◆ endFit()

virtual void MINT::Minimisable::endFit ( )
inlinevirtual

◆ getNewVal()

double MINT::Minimisable::getNewVal ( )
inlinevirtual

Implements MINT::IMinimisable.

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

Definition at line 29 of file Minimisable.h.

29  {
31  return getVal();
32  }
virtual void parametersChanged()
Definition: Minimisable.h:22
double getVal()=0

◆ getParSet()

MinuitParameterSet * Minimisable::getParSet ( )
virtual

Implements MINT::IMinimisable.

Reimplemented in MINT::Neg2LL.

Definition at line 25 of file Minimisable.cpp.

25  {
26  if(0 != _pset){
27  return _pset;
28  }else{
30  }
31 }
static MinuitParameterSet * getDefaultSet()
MinuitParameterSet * _pset
Definition: Minimisable.h:11

◆ getVal()

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

◆ parametersChanged()

virtual void MINT::Minimisable::parametersChanged ( )
inlinevirtual

◆ setPset()

void Minimisable::setPset ( MinuitParameterSet mps)

Definition at line 21 of file Minimisable.cpp.

21  {
22  _pset = mps;
23 }
MinuitParameterSet * _pset
Definition: Minimisable.h:11

Member Data Documentation

◆ _pset

MinuitParameterSet* MINT::Minimisable::_pset
private

Definition at line 11 of file Minimisable.h.


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