Log of /trunk/hist/hist/src/TBackCompFitter.cxx
Parent Directory
Revision
39420 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu May 26 15:00:28 2011 UTC (3 years, 7 months ago) by
moneta
File length: 30979 byte(s)
Diff to
previous 34809
- impelment also for TMinuitMinimizer new methods for retrieving full cov matrix and hessian matrix (needed for weight correction)
- HFitImpl: When using weighted fit print the FitResult instead of using TMinuit print since the TMinuit one will not be corrected for the weights.
Do the same in case of chi2 fits without errors (TGraph)
Revision
31873 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 14 10:05:39 2009 UTC (5 years, 1 month ago) by
brun
File length: 30608 byte(s)
Diff to
previous 30922
From Lorenzo:
a patch fixing some comments in the TBackCompFitter and Fitter class and adding
missing GetMinimizer() and GetObjFunction() methods.
Revision
28713 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 26 08:37:40 2009 UTC (5 years, 8 months ago) by
moneta
File length: 28653 byte(s)
Diff to
previous 26866
fix a problem in getting the confidence intervals for a different binning with respect to the fit object. Support now the drawing of confidence intervals for any number of bins or points independently of the fit object.
Revision
26866 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 12 10:50:07 2008 UTC (6 years, 1 month ago) by
moneta
File length: 28573 byte(s)
Diff to
previous 26541
import lates changes from math development branch
(from rev 26842)
The main changes are:
- add support for drawing Scan and Contour plot from FitPanel
- improve Minimizer interface by adding methods for contours and scan.
implement them using Minuit and Minuit2
Mathcore:
- improve Fitter class
mantain now after fitting a reference to the Minimizer and Objective funciton which can be used later for performing the contour and scans
- avoid a copy of FitResult class
- add new methods in Minimizer for re-setting the variable values
- fix the bin fitting using the bin function integral in combination with the gradient or with Fumili
- add dictionary for Fit method functions
Minuit2:
remove limit on number of scan points
implement scan and contour in Minuit2Minimizer
Minuit
implement scan and contour in TMinuitMinimizer
SMatrix:
Change implementation of SMatrix::Invert (and Inverse) to use the
direct Cramer method only for 2x2 (not up to 5x5)
Add SMatrix::InvertFast using Cramer method up to 5x5
(this is having now same behavior as before)
hist:
TBackCompFitter:
improve class due to change in Fitter. Use now the minimizer reference and
there is no need to re-create it
Add interface for scan and contour in TBackCompFitter
Add methods to retrieve FitResult and FitConfig
mathmore
fix a memory leak
implement changes in Minimizer
fitpanel
new dialog for the advanced drawing option with two tabs one for
drawing contour the other for drawing scan plots
fixed some meory leaks and other small problems
Revision
25876 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 18 09:35:00 2008 UTC (6 years, 3 months ago) by
moneta
File length: 24482 byte(s)
Diff to
previous 25529
import changes in dev branch in hist from revision 25740 to HEAD
import also changes in DataVector and BinData due to a missing virtual destructor
These changes do:
- fix a bug in using Error and More option.
- fix return code returned from Fit method
- add UnBinFit method for fitting unbinned data ( will be used later for TTree::Unbinned::Fit)
- improve treatment of strings in TBackCompFitter::ExecuteCommand
(now command is case unsensitive)
- add support for unbin data in TBackCompFitter
- forward declare BinData in HFitInterface.h ( this required to change also TFitEditor)
Revision
25529 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 25 09:53:11 2008 UTC (6 years, 3 months ago) by
moneta
File length: 24521 byte(s)
Diff to
previous 25507
- fix support for option "U" in Fit() method. Add in Fitter class method to fit FCN with Minuit-like type FCN.
Add method to retrieve FCN function pointer from static instance of TVirtualFitter.
Revision
25501 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 22 20:55:57 2008 UTC (6 years, 4 months ago) by
moneta
File length: 24363 byte(s)
Diff to
previous 25487
- fix a problem in using gMinuit after having called TH1::Fit. Now in the class TMinuitMinimizer a static TMinuit is not deleted and the static instance is used.
- for Minuit provide printing of results in the old way
- use MinimizerOptions class for default parameter of TVirtualFitter
Revision
25487 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 22 12:44:13 2008 UTC (6 years, 4 months ago) by
moneta
File length: 22357 byte(s)
Copied from:
branches/dev/mathDev/hist/hist/src/TBackCompFitter.cxx revision 25468
Diff to
previous 25364
Import changes from math development branch, in particular a re-implementation of
fitting methods for the histogram and graph objects.
NOTE: Since some files are removed, a make clean-hist is needed in order to be able
to compile hist after an svn update.
The implementation of TH1::Fit, TGraph::Fit, TGraph2D::Fit and TMultiGraph::Fit is
done in a common function implemented in HFitImpl.cxx (HFit::Fit).
In addition the file HFitInterface.h define ROOT::Fit::FitObject functions passing
option directly via Foption class and not by a string. They are used by the FitPanel.
Remove previously existing files THistFitInterface.cxx (and *.h) and
TGraphFitInterface.cxx (and *.h). The code is now in the HFitInterface.cxx (and *.h)
files.
Use plugin manager directly to open the Fit Panel. Do not pass anymore via the THistPainter.
Changes in TH1::FitPanel, TGraph::FitPanel.
Add FitPanel() method for TGraph2D and TMultiGraph.
Add new class TBackCompFitter, providing a backward compatible implementation of
TVirtualFitter using the new fitting class. It is constructed from the fitter class
and can be used to retrieve the fit information (result and configuration) via the
TVirtualFitter API from FitConfig and FitResult. A static istance is created after
calling the Fit method.
Other changes are:
TGraph:
- when creating a graph from an histogram, don't use the same name.
Otherwise it will conflict later with histogram created internally by the TGraph.
TH2:
add protected method TH2::DoFitSlices and TH2::DoProfile as common implementations
for (FitSlicesX,FitSclicesY) and (ProfileX, ProfileY).
pass the global statistics in DoProjection when range is (1,NBIN)
TBinimialEfficiencyFit:
add possibility to set verbose option, and set different precision and
max iterations for minimizing.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.