[root] / trunk / hist / hist / src / TBackCompFitter.cxx Repository:
ViewVC logotype

Log of /trunk/hist/hist/src/TBackCompFitter.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 12:20:32 2012 UTC (2 years, 1 month ago) by rdm
File length: 34378 byte(s)
Diff to previous 41891
change gCint -> gCling (and not the generic gInterpreter as we'll stay for a
while with cling ;-) ).

Revision 41891 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 10 22:46:31 2011 UTC (3 years, 2 months ago) by pcanal
File length: 30555 byte(s)
Diff to previous 39420
Remove all assigned but unused variable discovered by g++ 4.6.1 (including one completely nop function)

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 34809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 13 12:48:34 2010 UTC (4 years, 5 months ago) by moneta
File length: 30979 byte(s)
Diff to previous 34256
change TF1::IntegralError to give possibility to users to set parameters and covariance matrix from a 
different fit 
(see http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=10649 and 
 http://root.cern.ch/phpBB3//viewtopic.php?f=3&t=6678 )

Revision 34256 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 30 21:07:32 2010 UTC (4 years, 6 months ago) by moneta
File length: 30712 byte(s)
Diff to previous 32084
fix some other remaining warnings

Revision 32084 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 22 15:28:16 2010 UTC (5 years ago) by moneta
File length: 30707 byte(s)
Diff to previous 31873
protect GetCovarianceMatrixElement when the fit failed and the covariance matrix is not available

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 30922 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 29 21:02:26 2009 UTC (5 years, 2 months ago) by moneta
File length: 28655 byte(s)
Diff to previous 28713
fix bug https://savannah.cern.ch/bugs/index.php?57790

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 26541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 1 10:00:52 2008 UTC (6 years, 1 month ago) by moneta
File length: 24740 byte(s)
Diff to previous 26380
-fix a memory leak reported by Khamit Ardashev 
 (see https://savannah.cern.ch/bugs/?44735 ) due to a missing delete

- fix also a problem in printing the chi2 test after a binned likelihood fit

Revision 26380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 22 15:23:16 2008 UTC (6 years, 2 months ago) by moneta
File length: 24628 byte(s)
Diff to previous 26378
remove a printf statement left by mistake

Revision 26378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 22 11:46:21 2008 UTC (6 years, 2 months ago) by moneta
File length: 24716 byte(s)
Diff to previous 25876
import TUnfold class from S. Schmitt for unfolding
based on algorithm described by V. Blobel at 
https://indico.desy.de/contributionDisplay.py?contribId=23&confId=1149

fix also a bug printing result when fitting with option "U" with TMinuit

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 25507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 23 07:54:18 2008 UTC (6 years, 4 months ago) by moneta
File length: 24450 byte(s)
Diff to previous 25503
- fix coding convention violation for method comments and data members of MinimizerOptions class

Revision 25503 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 22 21:27:44 2008 UTC (6 years, 4 months ago) by moneta
File length: 24403 byte(s)
Diff to previous 25502
- fix minuit printout. Must call TMinuit::mnprin with code=3 or 4

Revision 25502 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 22 21:05:31 2008 UTC (6 years, 4 months ago) by moneta
File length: 24402 byte(s)
Diff to previous 25501
- delete reference to minimizer in destructor

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.

Revision 25364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 4 15:09:22 2008 UTC (6 years, 4 months ago) by moneta
Original Path: branches/dev/mathDev/hist/hist/src/TBackCompFitter.cxx
File length: 22357 byte(s)
Diff to previous 25264
- fix a warning on Linux gcc3.4

Revision 25264 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 26 15:31:59 2008 UTC (6 years, 4 months ago) by moneta
Original Path: branches/dev/mathDev/hist/hist/src/TBackCompFitter.cxx
File length: 22351 byte(s)
Diff to previous 25223
- fix calculation of confidence intervals
- change FitResult to manage the resulting fitted function. Implement also its copy ctor and assignment operator

Revision 25223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 25 08:37:12 2008 UTC (6 years, 5 months ago) by moneta
Original Path: branches/dev/mathDev/hist/hist/src/TBackCompFitter.cxx
File length: 22171 byte(s)
Diff to previous 25222
fix name of included file since  Linux is case sensitive

Revision 25222 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Aug 25 08:32:05 2008 UTC (6 years, 5 months ago) by moneta
Original Path: branches/dev/mathDev/hist/hist/src/TBackCompFitter.cxx
File length: 22171 byte(s)
- add an implementatino of TVirtualFitter based on new fitting class to preserve backward compatibility

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9