TFractionFitter fit options

From: Simone Bifani <simone.bifani_at_cern.ch>
Date: Fri, 25 Nov 2011 16:45:20 +0100


Dear All,

I would like to use MINOS instead of MIGRAD (default) in TFractionFitter

I tried the following piece of code, but without success

   TFractionFitter* fFit = new TFractionFitter(hDATA, hMC);

   TVirtualFitter* vFit = fFit->GetFitter();

   Foption_t fitOption;
   if (!TH1D::FitOptionsMake("E", fitOption))      return 0;
   vFit->SetFitOption(fitOption);

   Int_t Status = fFit->Fit();

As a test I changed "E" to "Q" (quiet mode) or "V" (verbose), but I still get the standard printout

How can I change the TFractionFitter fit options?

Thanks,
s.

Received on Fri Nov 25 2011 - 16:45:35 CET

This archive was generated by hypermail 2.2.0 : Fri Nov 25 2011 - 23:50:01 CET