nice printout of parameters XFITTER-90
1 unresolved thread
1 unresolved thread
Snippet with parameters is printed if chi2 iflag = 3. It can be copied and pasted into parameters.yaml (convenient to start new fit from the found minimum)
Merge request reports
Activity
82 82 } 83 83 printf("\n"); 84 84 } 85 if(iflag == 3) 86 { 87 int ndigcomma = 8; 88 printf("----- Parameters in YAML format (can copy paste into parameters.yamp):\n"); 89 for(int p=0; p<extrapars_.nExtraParam; p++) 90 { 91 mnpout_(extrapars_.iExtraParamMinuit+p, parname, &par, &unc, &bound_l, &bound_h, &status, len); 92 //if(status<=0) continue; 93 parname[std::string(parname).find(' ')]='\0'; 94 printf(" %s : [ %.*f, %.*f", parname, ndigcomma, par, ndigcomma, unc); 95 if(bound_l!=0.0&&bound_h!=0.0) { 96 printf("%.*f%.*f", ndigcomma, bound_l, ndigcomma, bound_h); Nice
I'll need to to re-implement this later so that it also works with CERES, but for now it is a good solution.
I'd approve it, but I want to first understand what was the bug in PdfsPainter, the changes to which are also in this merge request (actually !147 (merged) is a subset of !148 (merged))
mentioned in commit cf935937
Please register or sign in to reply