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

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

Parent Directory Parent Directory


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

Revision 37863 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 24 16:50:59 2011 UTC (4 years ago) by pcanal
File length: 2743 byte(s)
Diff to previous 31261
fix minor typo

Revision 31261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 18 07:31:51 2009 UTC (5 years, 2 months ago) by moneta
File length: 2743 byte(s)
Diff to previous 31218
- remove assert in TFitResultPtr and print instead an error messages
- implement TFitRresult::Print and method to retrieve a covariance and correlation matrix as a TMatrixDSym

FitResult: 
- fix a bug in FitResult in returning the correlation matrix for fixed parameters 
- improve printout in case of empty classes

Revision 31218 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 20:52:01 2009 UTC (5 years, 2 months ago) by moneta
File length: 2525 byte(s)
Diff to previous 31209
- return directly the status in operator int() due to a problem observed when CINT was calling this function

- use R__ASSERT insetad of assert

Revision 31209 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 16:59:05 2009 UTC (5 years, 2 months ago) by moneta
File length: 2615 byte(s)
Diff to previous 31207
fix a warning on Linux

Revision 31207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 16:52:00 2009 UTC (5 years, 2 months ago) by moneta
File length: 2598 byte(s)
Copied from: branches/dev/mathDev/hist/hist/src/TFitResultPtr.cxx revision 31170
Diff to previous 31154
merge from  https://root.cern.ch/svn/root/branches/dev/mathDev/hist/hist  up to revision 31170 
from David and myself 


Summary of major changes: 

- TFitResult, TFitResultPtr

  - add new class TFitResult which extend FitResult with TNamed for the I/O. The result of the fit , including covariance and correlation matrix, minos errors, etc... can then be stored  in a file
  - add a class TFitResultPtr which behaves like a pointer to TFitResult and can be converted to an integer. This class is now returned by TH1::Fit and TGraph::Fit. By default the class contains only the returned integer status of the fit. If option "S" is used the class contains a pointer to TFitResult which can be retrieved using the -> or * operators (like a smart pointer)
The conversion to int provides backward compatibility with the old signature ( int TH1::Fit )

- TH1, TGraph, TGraph2D, TMultiGraph
  change from int Fit(....)  to TFitResultPtr Fit(.....)
  remove internal function DoFit  
  
- THnSparse

  add functionality for fitting a sparse histogram. Default method is the likelihood one. Chi2 can be used with the new option "X"

- FOption

 - add some new options for fitting: 
 
     "S" for storing the fit resul
     "X" for forcing chi2 fit in case of THnSParse
     "EX0" for neglecting errors in X when fitting TGraphErrors

- WrappedMultiTF1

 - make the wrapper for TF1 multi-dim function implementing the gradient interface 

Minos changes: 

 TH1: 
  - add check of compatibility for each bins when using Add on variable bin histograms

 TH3: 
 - fix a bug in setting the entries for a projected 2d profile when using weights
 THNSParse: 
 - set also the entries (and reset statistics) in the projected sparse histogram

 TFormula: 
 - define the number for the 2d function like xygaus or xylandau

 HFItInterface: 
  improve filling data for histograms (add support for bin volume normalization)
  add initialization for exponential and 2d gaus functions

Revision 31154 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 13 14:15:33 2009 UTC (5 years, 2 months ago) by moneta
Original Path: branches/dev/mathDev/hist/hist/src/TFitResultPtr.cxx
File length: 1394 byte(s)
Diff to previous 31148
fix a problem in checking if the pointer is not NULL

Revision 31148 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Nov 13 09:56:40 2009 UTC (5 years, 2 months ago) by dmgonzal
Original Path: branches/dev/mathDev/hist/hist/src/TFitResultPtr.cxx
File length: 1394 byte(s)
Make an inderection level for TFitResult, so that all the fit methods
return a TFitResultPtr instead.

This is to make the interface of TFitResult more uniform.

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