Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10670

`hesse` does not know which minimizer to use

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.20/02
    • Fix Version/s: 6.22/00, 6.20/06
    • Component/s: RooFit/RooStats
    • Labels:
      None
    • Environment:

      Description

      In the following example script, the minimizer type for `hesse` needs to be set explicitly and is not automatically picked up by `hesse`.

        RooRealVar x("x","x",-10,10);
        RooRealVar mean("mean","mean of gaussian",1,-10,10);
        RooRealVar sigma("sigma","width of gaussian", 1,0.1,10);
        RooGaussian gauss("gauss","gaussian PDF", x,mean,sigma);
        RooDataSet* data = gauss.generate(x,10000);
        RooAbsReal* nll = gauss.createNLL(*data) ;
        RooMinimizer mini(*nll);
        mini.minimize("Minuit2");
        mini.setMinimizerType("Minuit2"); // comment this line to trigger the bug
        mini.hesse();
      

      This behavior is different from versions prior to ROOT 6.20.
      This is a rather crucial change in behavior that breaks many macros in ATLAS. If a patch could be released to revert to the old behavior in a timely fashion, that would be highly appreciated.

        Attachments

          Activity

            People

            • Assignee:
              shageboe Stephan Hageboeck
              Reporter:
              cburgard Carsten Daniel Burgard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: