MINT2
Mint
Minimisable.h
Go to the documentation of this file.
1
#ifndef MINIMISABLE_HH
2
#define MINIMISABLE_HH
3
// author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4
// status: Mon 9 Feb 2009 19:17:55 GMT
5
6
#include "
Mint/IMinimisable.h
"
7
#include "
Mint/MinuitParameterSet.h
"
8
9
namespace
MINT
{
10
class
Minimisable
:
virtual
public
IMinimisable
{
11
MinuitParameterSet
*
_pset
;
12
public
:
13
Minimisable
(
MinuitParameterSet
* mps=0);
14
Minimisable
(
const
Minimisable
& other);
15
virtual
~Minimisable
();
16
void
setPset
(
MinuitParameterSet
* mps);
17
MinuitParameterSet
*
getParSet
();
18
19
20
// you can choose to implement these:
21
virtual
void
beginFit
(){}
22
virtual
void
parametersChanged
(){}
23
virtual
void
endFit
(){}
24
25
// you'll have to implement this:
26
double
getVal
() =0;
27
28
// useful:
29
double
getNewVal
(){
30
parametersChanged
();
31
return
getVal
();
32
}
33
};
34
}
//namespace MINT
35
36
#endif
37
//
MINT::IMinimisable
Definition:
IMinimisable.h:10
MINT::Minimisable::getNewVal
double getNewVal()
Definition:
Minimisable.h:29
MINT::MinuitParameterSet
Definition:
MinuitParameterSet.h:20
MINT::Minimisable::parametersChanged
virtual void parametersChanged()
Definition:
Minimisable.h:22
MINT::Minimisable::_pset
MinuitParameterSet * _pset
Definition:
Minimisable.h:11
MINT::Minimisable::endFit
virtual void endFit()
Definition:
Minimisable.h:23
MINT::Minimisable
Definition:
Minimisable.h:10
MINT::Minimisable::setPset
void setPset(MinuitParameterSet *mps)
Definition:
Minimisable.cpp:21
MINT::Minimisable::Minimisable
Minimisable(MinuitParameterSet *mps=0)
Definition:
Minimisable.cpp:6
MINT::Minimisable::getParSet
MinuitParameterSet * getParSet()
Definition:
Minimisable.cpp:25
MINT::Minimisable::beginFit
virtual void beginFit()
Definition:
Minimisable.h:21
MINT
Definition:
BasicComplex.h:7
MinuitParameterSet.h
MINT::Minimisable::getVal
double getVal()=0
IMinimisable.h
MINT::Minimisable::~Minimisable
virtual ~Minimisable()
Definition:
Minimisable.cpp:19
Generated by
1.8.15