[root] / trunk / hist / hist / inc / TFitResultPtr.h Repository:
ViewVC logotype

Log of /trunk/hist/hist/inc/TFitResultPtr.h

Parent Directory Parent Directory


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

Revision 31262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 18 07:38:37 2009 UTC (5 years, 2 months ago) by brun
File length: 2037 byte(s)
Diff to previous 31218
Fix coding conventions

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: 2008 byte(s)
Diff to previous 31207
- 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 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: 2016 byte(s)
Copied from: branches/dev/mathDev/hist/hist/inc/TFitResultPtr.h revision 31170
Diff to previous 31159
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 31159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 13 15:45:56 2009 UTC (5 years, 2 months ago) by dmgonzal
Original Path: branches/dev/mathDev/hist/hist/inc/TFitResultPtr.h
File length: 1936 byte(s)
Diff to previous 31148
Update the copyright and documentation of the TFitResult and
TFitResultPtr classes.

Also change the name of the TFitResult according to the object and
function used to fit.

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/inc/TFitResultPtr.h
File length: 1768 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