6 #include "Minuit2/FCNBase.h" 12 class MintFcn :
public ROOT::Minuit2::FCNBase
25 virtual double operator()(
const std::vector<double>& par )
const 27 for(
unsigned int i=0; i<par.size(); ++i )
33 std::cout << std::setprecision(std::numeric_limits<double>::digits10);
34 std::cout <<
"-2logL = " << negll << std::endl;
50 virtual double Up()
const
virtual double operator()(const std::vector< double > &par) const
IMinuitParameter * getParPtr(unsigned int i)
void SetBestMin(const double &best_min)
virtual double Up() const
IMinimisable * _theFunction
virtual double getVal()=0
virtual MinuitParameterSet * getParSet()=0
virtual void parametersChanged()=0
virtual void setCurrentFitVal(double pval)=0
MintFcn(IMinimisable *theFunction)