[root] / trunk / math / minuit / src / TFitter.cxx Repository:
ViewVC logotype

Log of /trunk/math/minuit/src/TFitter.cxx

Parent Directory Parent Directory


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

Revision 47641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 27 09:59:40 2012 UTC (2 years, 1 month ago) by moneta
File length: 38693 byte(s)
Diff to previous 34952
Fix integration classes to use both a relative or n absolute accuracy
as requested in https://savannah.cern.ch/bugs/?70853

Improve TF1::Integral to add the precision parameter. 
Add a TF1::IntegralOneDim where one can specify both epsrel and epsabs and it returns also the error
Clean up the TF1::Integral class to fix some ambiguities 
Remove the possibility to pass vector of parameters in Tf1::Integral

remove obsolate file minuit2/src/FitterUtil.cxx

Revision 34952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 12:50:25 2010 UTC (4 years, 5 months ago) by brun
File length: 38665 byte(s)
Diff to previous 34386
Fix uninitialized variables and arrays.

Revision 34386 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 13 00:01:37 2010 UTC (4 years, 6 months ago) by moneta
File length: 38571 byte(s)
Diff to previous 23843
fix for using interpreted function in TF2::GetMinimumXY

Revision 23843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 14 13:16:06 2008 UTC (6 years, 8 months ago) by brun
File length: 38487 byte(s)
Diff to previous 22885
Do not call GetSumLog with arguments greater than 10000 but
call TMath::LnGamma instead, otherwise we can explode memory
when fitting histograms with big bin contents with the Likelihood option.

Revision 22885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 28 13:57:25 2008 UTC (6 years, 9 months ago) by rdm
File length: 38349 byte(s)
Diff to previous 21713
move the following directories under the new "math" meta directory:
   mathcore
   mathmore
   fftw
   foam
   fumili
   genvector
   matrix
   minuit
   minuit2
   mlp
   physics
   smatrix
   splot
   unuran
   quadp

Revision 21713 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 15 11:12:38 2008 UTC (7 years ago) by moneta
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38349 byte(s)
Diff to previous 20882
- fix a bug in getting the confidence intervals in an histogram of TGraph2D
- use the 2-side confidence interval for the passed values in the methods not the 1 side.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38281 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38281 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38331 byte(s)
Diff to previous 17663
remove :$ from tag line

Revision 17663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 18:07:29 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38341 byte(s)
Diff to previous 17338
Use forward declarations of classes TAxis, TF2, TH2 and TList.
Fix consequences.

Revision 17338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 16:10:11 2007 UTC (8 years ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38322 byte(s)
Diff to previous 16792
Remove TMath.h from TH1.h and add TMath.h to all files previously assuming TMath.h
via TH1.h
This should complete the changes related to TMath.

Revision 16792 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 16 13:47:34 2006 UTC (8 years, 2 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38303 byte(s)
Diff to previous 16347
From Lorenzo:
patch for fixing the method TFitter::IsFixed

Revision 16347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 26 13:33:04 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38352 byte(s)
Diff to previous 16279
From Axel and Andy Haas
Fix a problem in TGraphAsymmErrors fitting.

Revision 16279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 15 15:16:57 2006 UTC (8 years, 4 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 38278 byte(s)
Diff to previous 15830
From Anna:
- TFormula::EvalPar() is not changing parameters (the fParams data member) when a user passes his own uparams array as a second argument. Before - sometimes it did, sometimes it didn't.
- TF1::GradientPar() is now 0 on fixed parameters
- TFitter::GetConfidenceIntervals() is now taking the fixed parameters into account
- TLinearFitter::GetConfidenceIntervals()  is now taking the fixed parameters into account
- TLinearFitter::FixParameter() can now be called before a first fit is performed (an accidently found bug :))
- TLinearFitter::Eval() now returns 1 if there are errors in the fit. According changes in:
  --TH1
  --TGraph
  --TGraph2D
  --TMultiGraph

Revision 15830 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 20 07:23:35 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 37028 byte(s)
Diff to previous 15030
Fix problem reported at: http://savannah.cern.ch/bugs/?func=detailitem&item_id=18220

Revision 15030 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 13 21:49:17 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 37016 byte(s)
Diff to previous 14683
Fix coding conventions violations

Revision 14683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 13 09:25:54 2006 UTC (8 years, 9 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 36993 byte(s)
Diff to previous 14310
Delete TMinuit object in destructor

Revision 14310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 08:22:40 2006 UTC (8 years, 10 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 36974 byte(s)
Diff to previous 13412
Add new function
const char *TVirtualFitter::GetParName(Int_t ipar) const
and the concrete implementation in all the fitter classes.

Revision 13412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 29 19:02:58 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 36702 byte(s)
Diff to previous 13399
From Anna:
 I was a little careless with memory in TF1::GradientPar, and now
I've changed it. There are also the "constness" changes.

Revision 13399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 29 14:43:59 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 36697 byte(s)
Diff to previous 13367
From Anna:
Implement new functions in the TVirtualFitter and corresponding
implementations to compute the confidence intervals.
Two kinds of interfaces are implemented, eg

void TFitter::GetConfidenceIntervals(Int_t n, Int_t ndim, Double_t *x, Double_t *ci, Double_t cl)
//Computes point-by-point confidence intervals for the fitted function
//Parameters:
//n - number of points
//ndim - dimensions of points
//x - points, at which to compute the intervals, for ndim > 1
//    should be in order: (x0,y0, x1, y1, ... xn, yn)
//ci - computed intervals are returned in this array
//cl - confidence level, default=0.95
//NOTE, that the intervals are approximate for nonlinear(in parameters) models


void TFitter::GetConfidenceIntervals(TObject *obj, Double_t cl)
//Computes confidence intervals at level cl. Default is 0.95
//The TObject parameter can be a TGraphErrors, a TGraph2DErrors or a TH1,2,3.
//For Graphs, confidence intervals are computed for each point,
//the value of the graph at that point is set to the function value at that
//point, and the graph y-errors (or z-errors) are set to the value of
//the confidence interval at that point.
//For Histograms, confidence intervals are computed for each bin center
//The bin content of this bin is then set to the function value at the bin
//center, and the bin error is set to the confidence interval value.
//NOTE: confidence intervals are approximate for nonlinear models!
//
//Allowed combinations:
//Fitted object               Passed object
//TGraph                      TGraphErrors, TH1
//TGraphErrors, AsymmErrors   TGraphErrors, TH1
//TH1                         TGraphErrors, TH1
//TGraph2D                    TGraph2DErrors, TH2
//TGraph2DErrors              TGraph2DErrors, TH2
//TH2                         TGraph2DErrors, TH2
//TH3                         TH3

Revision 13367 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 27 07:31:51 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 28568 byte(s)
Diff to previous 13366
Remove last unused variables

Revision 13366 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 27 07:29:51 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 28628 byte(s)
Diff to previous 13364
Remove unused variables

Revision 13364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 26 15:03:07 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 28745 byte(s)
Diff to previous 13298
Implement a cache facility in TVirtualFitter.
The class has a new function TVirtualFitter::SetCache that creates
an internal structure where the information about histogram bins
is stored (bin position, size, content and error).
The cache is used during fitting and speeds up (factor 2) TH1::Fit
when called with the default TMinuit. Only the points included in
the fit are stored in the cache.

Currently the cache is set and filled only in TH1::Fit.

The TFitter and TFumili classes have been changed to take into account
the information in the cache.

The free functions called by Minuit have been rewritten.
They are now only an interface calling the fitter member functions.

Revision 13298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 21 09:47:20 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 25442 byte(s)
Diff to previous 13107
From Anna:
Implement new functions in TF2 and TF3 to find the minimum of a function.
void TF2::GetMinimumXY(Double_t &x, Double_t &y)
{
// return the X and Y values corresponding to the minimum value of the function
// To find the minimum on a range, first set this range via the SetRange function
// Method:
//   First, a grid search is performed to find the initial estimate of the
//   minimum location. The range of the function is divided into fNpx and fNpy
//   sub-ranges. If the function is "good"(or "bad"), these values can be changed
//   by SetNpx and SetNpy functions
//   Then, Minuit minimization is used with starting values found by the grid search

void TF3::GetMinimumXYZ(Double_t &x, Double_t &y, Double_t &z)
{
// Return the X, Y and Z values corresponding to the minimum value of the function
// on its range. To find the minimum on a subrange, use the SetRange() function first.
// Method:
//   First, a grid search is performed to find the initial estimate of the
//   minimum location. The range of the function is divided
//   into fNpx,fNpy and fNpz sub-ranges. If the function is "good"(or "bad"),
//   these values can be changed by SetNpx(), SetNpy() and SetNpz() functions.
//   Then, Minuit minimization is used with starting values found by the grid search

Revision 13107 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 1 19:48:09 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 24559 byte(s)
Diff to previous 12622
From Anna Kreshuk:
- changes in TFumili::GraphFitChisquareFumili to use the effective variance
method in case of errors in x and y
- improved comments for TGraph::Fit and TFitter::GraphFitChisquare for this
case

Revision 12622 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 4 10:38:41 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 24288 byte(s)
Diff to previous 12200
Fix coding conventions violations.

Revision 12200 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 27 12:17:11 2005 UTC (9 years, 6 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 23977 byte(s)
Diff to previous 11605
Implement option "I" (Integral) for 2-D and 3-D histograms

Revision 11605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 17 14:12:50 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 23213 byte(s)
Diff to previous 11251
From Anna Kreshuk:
Some fixes for the linear fitter, some cosmetic changes in the
TH1, TGraph, TMultigraph and TGraph2D, and also the new fitting option
"F", which allows to switch to minuit when fitting a polN.

Revision 11251 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 7 09:15:45 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 23127 byte(s)
Diff to previous 11226
For back compatibility change names of some recently introduced functions.
	virtual Double_t GetErrorXhigh(Int_t bin) const;
	virtual Double_t GetErrorXlow(Int_t bin)  const;
	virtual Double_t GetErrorYhigh(Int_t bin) const;
	virtual Double_t GetErrorYlow(Int_t bin)  const;
	virtual Double_t *GetEXhigh() const
	virtual Double_t *GetEXlow()  const
	virtual Double_t *GetEYhigh() const
	virtual Double_t *GetEYlow()  const

Revision 11226 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 4 09:06:37 2005 UTC (9 years, 10 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 23111 byte(s)
Diff to previous 11027
From Anna Kreshuk:
- TLinearFitter class: Linear fitter is used to fit a set of data points with a linear
  combination of specified functions (with or without weights). The "linear" in the name
  stands for "linear in parameters", not variables. The main advantages,
  compared to a general non-linear fitter, is that the linear fitter is considerably
  faster and doesn't require setting the initial values of parameters.
  The linear fitter can be used directly or through TH1::Fit and TGraph::Fit functions
  When it's used directly, functions of more than 3 dimensions can be fitted.

- TFormula: a new data member fLinearParts and methods to process it are added. Now
  one can create a function of the type that can be fit by the linear fitter.
  Example: TFormula f("f", "x++sin(x)") is equivalent to
  TFormula f("f","[0]*x + [1]*sin(x)"), but if a TH1::Fit or a TGraph::Fit is performed
  with the 1st formula, it goes through the linear fitter, if it's performed with the
  2nd formula, it goes through Minuit.

- TMultiGraph class: the Fit method is implemented, allowing to fit all the graphs
  of a multigraph simultaneously

- TGraph, TGraphErrors, TGraphAsymmErrors, TGraphBentErrors - functions GetEXhigh(),
  GetEXlow(), GetEYhigh(), GetEYlow() implemented to simplify the GraphFitChisquare()
  function of the TFitter class

- TH1, TGraph, TGraph2D, TMultiGraph - changes in the Fit functions, allowing to use
  the linear fitter. Fitting with "polN" functions redirected to use the linear fitter,
  in cases where no options, except "range", are specified.

Revision 11027 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 3 08:46:53 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 21262 byte(s)
Diff to previous 10397
Fix in Graph2DFitChisquare. The call to InitArgs must be inside the loop.

Revision 10397 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 22 21:18:23 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 21260 byte(s)
Diff to previous 10391
In TVirtualFitter, TFitter and TFumili, rename the recently introduced
function GetNpar to GetNumberTotalParameters to avoid a possible confusion
with the member fNpar in TMinuit that contains the number of free parameters.

Revision 10391 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 22 13:03:39 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 21229 byte(s)
Diff to previous 10390
Add two getter functions:
   virtual Int_t      GetNpar() const; //return total number of parameters
   virtual Int_t      GetNumberFreeParameters() const;

Revision 10390 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 22 08:03:11 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 20818 byte(s)
Diff to previous 10201
Implement a new member function
  virtual Bool_t IsFixed(Int_t ipar) const
testing if parameter ipar is fixed or not.

Revision 10201 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 4 16:04:53 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 20418 byte(s)
Diff to previous 9775
In TFitter::Clear, reset the internal TMinuit random number generator mnrn15
to its initial value. mnrn15 may be used when TMinuit "Improve" is called.
Resetting the random number generator gives identical results between consecutive
identical fits.

Revision 9775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 08:40:46 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 20268 byte(s)
Diff to previous 9774
Remove unused variables

Revision 9774 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 07:16:34 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 20262 byte(s)
Diff to previous 9608
Fix a problem in TF1 function GraphFitChisquare when fitting TGraphErrors with errors in x defined.
The inner loop was calling TF1::Derivative that redefines (via TF1::InitArgs) the
address of the argument x. The solution was to move the call to InitArgs
inside the loop.

Revision 9608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 28 08:02:04 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 20147 byte(s)
Diff to previous 9469
In TVirtualFitter make the following functions const
 Double_t  Chisquare(Int_t npar, Double_t *params) const  = 0;
 Double_t *GetCovarianceMatrix() const = 0;
 Int_t     GetErrors(Int_t ipar,Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &globcc) const = 0;
 Int_t     GetParameter(Int_t ipar,char *name,Double_t &value,Double_t &verr,Double_t &vlow, Double_t &vhigh) const  = 0;
 Int_t     GetStats(Double_t &amin, Double_t &edm, Double_t &errdef, Int_t &nvpar, Int_t &nparx) const  = 0;

Add a new function
 Double_t  GetCovarianceMatrixElement(Int_t i, Int_t j) const;

Similar changes in TFitter and TFumili.

Revision 9469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 9 08:14:42 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 19250 byte(s)
Diff to previous 9467
Fix a typo in comments

Revision 9467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 9 08:02:46 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 19247 byte(s)
Diff to previous 9409
In GraphFitChisquare, when using the effective variance technique,
the chisquare must be divided by 2.

Add comments about this technique (thanks Eddy Offermann)

Revision 9409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 14:57:18 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 18769 byte(s)
Diff to previous 9407
Remove unused variables fm and fp in GraphFitChisquare

Revision 9407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 14:48:42 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 18775 byte(s)
Diff to previous 8140
Improvement in TGraph::Fit:
 a little different approach to approximating the uncertainty in y because of the
 errors in x, is to make it equal the error in x times the slope of the line.
 The improvement, compared to the first method (f(x+ exhigh) - f(x-exlow))/2
 is of (error of x)**2 order. This approach is called "effective variance method".
 This improvement has been made in version 4.00/08 by Anna Kreshuk.

Revision 8140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 6 14:32:28 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 18527 byte(s)
Diff to previous 7660
Add support for graphs with asymmetric errors in the computation
of the chisquare (based on original code by Andy Haas)

Revision 7660 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 26 16:21:47 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 17849 byte(s)
Diff to previous 7525
Add logic to support errors in case of a TGraph2DErrors

Revision 7525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 5 17:34:38 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 17550 byte(s)
Diff to previous 7298
From Olivier:
In Graph2D:

- A more complete example (fitting)
- Constructor from a file name
- New method Interpolate
- New method FindObject
- Fitting
- New method GetHistogram.
- New method RemovePoint
- New methods SetMaximum and SetMinimum
- plus many improvements ...

In TFitter:

- Necessary changes to support Graph2D fitting

Revision 7298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 19 07:56:29 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 15428 byte(s)
Diff to previous 7067
In GraphFitChisquare, use the same array "x" for all calls to TF1::EvalPar
instead of the array "xx" for the two points surrounding the main point.
In case of a CINT function, one should have initialized again teh address of
the arguments, but this is not necessary. The array "x" may be reused inside the loop.
The effect was a slightly different result between compiled and interpreted code
in case of TGraph. (thanks Alex Conley for reporting the problem)

Revision 7067 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 8 17:28:29 2003 UTC (11 years, 5 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 15439 byte(s)
Diff to previous 7063
Add new function
  Double_t GetParError(Int_t ipar) const
in TVirtualFitter, TFitter and TFumili
Declare const the GetParameter function introduced recently.

Revision 7063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 8 09:18:35 2003 UTC (11 years, 5 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 15109 byte(s)
Diff to previous 6865
Add new member functions GetCovarianceMatrix and GetParameter
to the abstract interface TVirtualFitter and to the concrete
implementations TFitter and TFumili.

Revision 6865 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 9 06:55:58 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 14406 byte(s)
Diff to previous 6630
In H1FitLikelihood replace call to TMath::Gamma by TMath::LnGamma
(thanks Mike Kordoski)

Revision 6630 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 15 14:26:01 2003 UTC (11 years, 8 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 14404 byte(s)
Diff to previous 6540
Optimisation in GraphFitChisquare in case of a TGraph (suggestion from Matt Palmer).

Revision 6540 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 5 16:38:48 2003 UTC (11 years, 8 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 14405 byte(s)
Diff to previous 6247
Many changes in the class to accomodate the changes in TVirtualFitter.
The objective functions H1FitChisquare and H1FitLikelihood previously in TH1
or TGraph have been moved to TFitter.
The global variables communicating with TH1 or TGraph have been replaced
by the functions in TVirtualFitter.

Revision 6247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 5 11:02:31 2003 UTC (11 years, 10 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 6057 byte(s)
Diff to previous 5267
Replace gMinuit by the new member fMinuit

Revision 5267 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 11 13:21:13 2002 UTC (12 years, 4 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 6056 byte(s)
Diff to previous 4934
Document argument "amin" as being the chisquare of the fit when calling
TMinuit::mnstats

Revision 4934 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 16 13:59:19 2002 UTC (12 years, 6 months ago) by rdm
Original Path: trunk/minuit/src/TFitter.cxx
File length: 6041 byte(s)
Diff to previous 1591
mods related to using the new features of the plugin manager. The plugin
manager can be used in more places, this is coming.

Revision 1591 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 13 07:27:54 2001 UTC (13 years, 11 months ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 6077 byte(s)
Diff to previous 1205
Fix a problem in TFitter::GetSumLog. The sum of logs is computed up until
fNlog elements included and not just the number specified in the argument.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/minuit/src/TFitter.cxx
File length: 6076 byte(s)
Diff to previous 3
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/minuit/src/TFitter.cxx
File length: 6009 byte(s)
Copied from: branches/rdm/minuit/src/TFitter.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/minuit/src/TFitter.cxx
File length: 6009 byte(s)
Initial import of ROOT into CVS

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