4 #include "Minuit2/FCNGradientBase.h" 23 virtual double operator()(
const std::vector<double>& par )
const 25 for(
unsigned int i=0; i<par.size(); ++i )
31 std::cout << std::setprecision(std::numeric_limits<double>::digits10);
32 std::cout <<
"-2logL = " << negll << std::endl;
40 virtual std::vector<double>
Gradient(
const std::vector<double>& par )
55 virtual double Up()
const 66 #endif //MINTFCNGRAD_HH void SetBestMin(const double &best_min)
MintFcnGrad(IMinimisable *theFunction)
IMinuitParameter * getParPtr(unsigned int i)
virtual void Gradient(std::vector< double > &grad)
virtual double Up() const
virtual double operator()(const std::vector< double > &par) const
virtual std::vector< double > Gradient(const std::vector< double > &par) const
virtual double getVal()=0
virtual MinuitParameterSet * getParSet()=0
virtual void parametersChanged()=0
IMinimisable * _theFunction
virtual void setCurrentFitVal(double pval)=0