26 upar.
Add(
"x", 1., 0.1);
29 std::cout<<
"min= "<<min<<std::endl;
34 std::vector<double>
par(1, 1.);
35 std::vector<double> err(1, 0.1);
38 std::cout<<
"min= "<<min<<std::endl;
43 std::vector<double>
par(1, 1.);
44 std::vector<double> err(1, 0.1);
48 std::pair<double,double> e0 =
Minos(0);
49 std::cout<<
"par0: "<<min.
UserState().
Value(
unsigned(0))<<
" "<<e0.first<<
" "<<e0.second<<std::endl;
52 std::pair<double,double> e02 = minos2(0);
53 std::cout<<
"par0: "<<min.
UserState().
Value(
unsigned(0))<<
" "<<e02.first<<
" "<<e02.second<<std::endl;
API class for minimization using Variable Metric technology ("MIGRAD"); allows for user interaction: ...
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
double Value(unsigned int) const
RooCmdArg Minos(Bool_t flag=kTRUE)
const MnUserParameterState & UserState() const
bool Add(const std::string &, double, double)
Add free Parameter Name, Value, Error.
class holding the full result of the minimization; both internal and external (MnUserParameterState) ...
API class for Minos Error analysis (asymmetric errors); minimization has to be done before and Minimu...
virtual FunctionMinimum Minimize(const FCNBase &, const std::vector< double > &, const std::vector< double > &, unsigned int stra=1, unsigned int maxfcn=0, double toler=0.1) const
Instantiates the SeedGenerator and MinimumBuilder for Variable Metric Minimization method...
API class for the user interaction with the parameters; serves as input to the minimizer as well as o...
void SetErrorDef(double up)
add interface to set dynamically a new error definition Re-implement this function if needed...