[root] / trunk / gui / fitpanel / src / TFitEditor.cxx Repository:
ViewVC logotype

Log of /trunk/gui/fitpanel/src/TFitEditor.cxx

Parent Directory Parent Directory


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

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 132437 byte(s)
Diff to previous 43240
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 43240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 15:41:04 2012 UTC (2 years, 10 months ago) by bellenot
File length: 132362 byte(s)
Diff to previous 42665
Improve the layout and remove useless text in message box (thansk Axel for the report)

Revision 42665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 17 11:29:02 2012 UTC (3 years ago) by bellenot
File length: 132419 byte(s)
Diff to previous 41273
Fix coverity #35486: Overflowed constant

Revision 41273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 7 12:08:16 2011 UTC (3 years, 3 months ago) by bellenot
File length: 132402 byte(s)
Diff to previous 40898
Fix coverity reports (dereference null return values)

Revision 40898 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 16 09:19:06 2011 UTC (3 years, 4 months ago) by moneta
File length: 132097 byte(s)
Diff to previous 39109
apply patch to fix https://savannah.cern.ch/bugs/?86251

If object contains already a fit function return pointer in HasFitFunction()

Revision 39109 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 5 13:06:38 2011 UTC (3 years, 8 months ago) by moneta
File length: 132080 byte(s)
Diff to previous 35626
- remove nochisquare toggle box since that option is not impelmented when fitting
- add a new toggle box for robust fitting and add possibility to set h when the box is enabled 
this avoid using robust linear fits by default
 see https://savannah.cern.ch/bugs/?81847

Revision 35626 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 08:32:43 2010 UTC (4 years, 4 months ago) by bellenot
File length: 131223 byte(s)
Diff to previous 32930
Replace strcpy by strlcpy (coverity)

Revision 32930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 9 16:18:32 2010 UTC (4 years, 9 months ago) by pcanal
File length: 131217 byte(s)
Diff to previous 32171
Prefer the use of InheritsFrom(TClass*) over InheritsFrom(const char*) as long as 
it does not increase the library dependencies.

Revision 32171 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 1 14:48:45 2010 UTC (4 years, 11 months ago) by moneta
File length: 131168 byte(s)
Diff to previous 31790
fix a warning in icc. Remove an assert and replace with an Error message

Revision 31790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 10 14:14:17 2009 UTC (5 years, 1 month ago) by bellenot
File length: 131136 byte(s)
Diff to previous 31786
- Check validity of pointers returned by dynamic_cast (coverity)
- Fix memory leaks by properly delete allocated arrays (coverity)
- Fix uninitialized variable (valgrind)

Revision 31786 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 10 13:51:02 2009 UTC (5 years, 1 month ago) by bellenot
File length: 131111 byte(s)
Diff to previous 31221
- Check validity of pointers returned by dynamic_cast (coverity)

Revision 31221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 21:36:42 2009 UTC (5 years, 2 months ago) by moneta
File length: 131016 byte(s)
Diff to previous 31212
apply a fix for Solaris
need to use value_type due to a missing constructor in Solaris map implementation

Revision 31212 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 17:30:21 2009 UTC (5 years, 2 months ago) by moneta
File length: 130933 byte(s)
Diff to previous 30508
merge work from David in  https://root.cern.ch/svn/root/branches/dev/mathDev/gui/fitpanel  up to revision 31170 

Major changes are described in:  

 http://root.cern.ch/viewvc?view=rev&revision=30631
 
 http://root.cern.ch/viewvc?view=rev&revision=30701

 http://root.cern.ch/viewvc?view=rev&revision=30718 


and add also unit tests in fitpanel/test directory

Revision 30508 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 28 16:19:49 2009 UTC (5 years, 3 months ago) by moneta
File length: 113604 byte(s)
Diff to previous 30461
merge fix from David
 see  http://root.cern.ch/viewcvs?rev=30503&root=root&view=rev

Revision 30461 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 25 16:01:13 2009 UTC (5 years, 3 months ago) by moneta
File length: 112691 byte(s)
Diff to previous 30151
merge from development branch work from David: 

 - Added predefined functions for 2D Objects. 
   Also correct an error message that displayed wrong information about the method.

 - Improve the availability of the Draw Advanced Button. i.e. check
   whether the selected object has already been fitted and enable/disable
   the button according to this.

Revision 30151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 14 15:48:19 2009 UTC (5 years, 4 months ago) by bellenot
File length: 109125 byte(s)
Diff to previous 29156
Change order of MapWindow() & Window Manager operations (SETWM...) to fix potential WM dependent problems with the event recorder on Linux

Revision 29156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 23 06:04:19 2009 UTC (5 years, 7 months ago) by brun
File length: 109124 byte(s)
Diff to previous 29104
From David Maline Gonzalez:
Fixed a bug when retrieving the parameters from an existing function

Revision 29104 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 19 13:41:05 2009 UTC (5 years, 7 months ago) by moneta
File length: 108995 byte(s)
Diff to previous 29083
import latest changes from dev branch:

 mathcore/mathmore : 
   fixes for GSL fit algorithm (Levenberg Marquardt)

from David: 

 hist:  
  improve comments in TH2,3 projections

 fitpanel: 
  add GSL minimization methods and use a dynamic pop-up list for algorithms

Revision 29083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 18 14:57:21 2009 UTC (5 years, 7 months ago) by moneta
File length: 110182 byte(s)
Diff to previous 28795
merge changes from David in branch: 

  Fixed a problem with the parameters when a function registered in ROOT coincides
with a function defined by the user in the fitpanel

Revision 28795 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 3 14:29:37 2009 UTC (5 years, 7 months ago) by moneta
File length: 109646 byte(s)
Diff to previous 28790
use option SAME to re-draw the fit function  in the current pad. 
 This is useful when histogram was drawn with option "HIST" and the fit funciton will not be plotted 
after fitting

Revision 28790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 3 08:47:55 2009 UTC (5 years, 7 months ago) by moneta
File length: 109680 byte(s)
Diff to previous 28061
- fix a problem with option "SAME". When is set use it as option for drawing after fitting. If not set use default options 
  from histogram

Revision 28061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 2 13:07:03 2009 UTC (5 years, 9 months ago) by moneta
File length: 109498 byte(s)
Diff to previous 28057
merge latest commit from David in branch

 Fixed one particular case where the default function was not gaus for 1D objects.

Revision 28057 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 2 09:45:46 2009 UTC (5 years, 9 months ago) by moneta
File length: 109407 byte(s)
Diff to previous 27549
- merge changes in the branch from David (from rev 27549:28056)

 - Add support for drawing the fit function confidence levels 
 - make gaus the default when fitting 1D objects
 - fix bug https://savannah.cern.ch/bugs/?47670

Revision 27549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 20 14:31:41 2009 UTC (5 years, 11 months ago) by moneta
File length: 109407 byte(s)
Diff to previous 27477
merge changes in branch from David
  
  - The fitpanel now stores the functions used for previous fit and let the user used them in the future.
  - Removed some variables that were no longer used

Revision 27477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 10:04:57 2009 UTC (5 years, 11 months ago) by bellenot
File length: 108982 byte(s)
Diff to previous 26947
Replace Form() by TString::Format()

Revision 26947 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 16 11:09:54 2008 UTC (6 years, 1 month ago) by moneta
File length: 108960 byte(s)
Diff to previous 26866
merge lates change from dev branch (from version 26682 in math and gui)

fitpanel: 

 some small improvements from David, like adding the tip text, and possibility for choosing contour color

 minuit2: 
add new standalone test for multi-dim fit to show effect of parallelization

 mathcore.mathmore: 
 fix some small problems with the test programs

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: 108984 byte(s)
Diff to previous 26586
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 26586 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 2 14:13:21 2008 UTC (6 years, 1 month ago) by moneta
File length: 109438 byte(s)
Diff to previous 26519
import change from David to fix the problem on <https://savannah.cern.ch/bugs/?40931>

Revision 26519 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 28 17:19:18 2008 UTC (6 years, 1 month ago) by moneta
File length: 109359 byte(s)
Diff to previous 26371
fix problem when using long funxtions. Now use limitaton of 4096 set in TGTextEntry

Revision 26371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 21 20:32:43 2008 UTC (6 years, 2 months ago) by brun
File length: 109327 byte(s)
Diff to previous 26370
From Bertrand:
- Add protection for the case of GetFitObjectListOfFunctions() returning NULL

Revision 26370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 21 20:24:09 2008 UTC (6 years, 2 months ago) by brun
File length: 109187 byte(s)
Diff to previous 26357
From Bertrand:
- TFitEditor.cxx: Fix Windows compilation warning C4138: '*/' found outside of comment
- TRootCanvas.cxx: pass correct pointer to TVirtualPad as argument to handler->ExecPlugin() (used as first argument in TFitEditor constructor) instead of a pointer to TRootCanvas

Revision 26357 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 21 16:04:53 2008 UTC (6 years, 2 months ago) by moneta
File length: 109186 byte(s)
Diff to previous 26245
import latest changes from David for creating the FItPanel when no object is selected

Revision 26245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 17 16:32:49 2008 UTC (6 years, 2 months ago) by moneta
File length: 108572 byte(s)
Diff to previous 25877
from David new version of fit panel imported from the branch. Main Changes are:

- Add support to fit TTree
- Add support for user defined functions and classify function types in the selection 
- Make FitPanel independent from the canvas and the fit object
- Add a numeric entry for the slider

Revision 25877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 18 10:54:51 2008 UTC (6 years, 3 months ago) by moneta
File length: 93798 byte(s)
Diff to previous 25876
fix a problem when using Improve option. 
fix a warning in icc

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: 93724 byte(s)
Diff to previous 25740
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 25740 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 8 13:29:56 2008 UTC (6 years, 3 months ago) by moneta
File length: 93625 byte(s)
Diff to previous 25626
import from the branch the lates fixed from David: 


The update and set up of the sliders has been unified into the
UpdateGUI method, simplifying the DoReset one. This also allowed the
reduction of some data members of the class.

The function CheckRange has been removed. 
This funcionality has been moved into the UpdateGUI
function were the rest of the axis were being checked.

The Parameters rxmin and rxmax where removed from the TFitParamertersDialog, 
as they were not used nor needed.

Revision 25626 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 30 14:53:54 2008 UTC (6 years, 3 months ago) by moneta
File length: 95647 byte(s)
Diff to previous 25507
- from David: fix a bug whn setting the range, after fitting is not reset, now range is remembered and shown in slider

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: 94979 byte(s)
Diff to previous 25488
- fix coding convention violation for method comments and data members of MinimizerOptions class

Revision 25488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 22 12:46:10 2008 UTC (6 years, 4 months ago) by moneta
File length: 94811 byte(s)
Diff to previous 23445
import from develpment branch a new version of the fit panel 
developed by David. 

 - support now for multi-dimensional histograms, TMultiGraph and TGraph2D. 
 - improve robustness in setting fitting function and parameters
 - use new fitting functions defined in HFitInterface instead of TH1::Fit

Revision 23445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 11:58:19 2008 UTC (6 years, 9 months ago) by brun
File length: 96730 byte(s)
Diff to previous 23115
Fix: warning: declaration of 'TObject* obj' shadows a parameter

Revision 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 96726 byte(s)
Diff to previous 21565
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

Revision 21565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 28 12:28:46 2007 UTC (7 years ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 96726 byte(s)
Diff to previous 20882
Functions referencing a static global cannot be inlined.

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/fitpanel/src/TFitEditor.cxx
File length: 96546 byte(s)
Diff to previous 20189
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 20189 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 3 12:02:24 2007 UTC (7 years, 3 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 96546 byte(s)
Diff to previous 20105
Make Fit panel working for appropriate objects drawn 
in user classes, which are derived from TCanvas
(thanks to Reiner Rohlfs)

Revision 20105 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 26 16:44:07 2007 UTC (7 years, 3 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 96312 byte(s)
Diff to previous 19826
Added protection in Hide method in case fParentPad was deleted (thanks to Peter Somogyi)

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/fitpanel/src/TFitEditor.cxx
File length: 96280 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/fitpanel/src/TFitEditor.cxx
File length: 96337 byte(s)
Diff to previous 19312
remove :$ from tag line

Revision 19312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 11 15:13:09 2007 UTC (7 years, 6 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 96347 byte(s)
Diff to previous 19237
Dropped "New" from Fit Panel window title.

Revision 19237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 3 08:10:56 2007 UTC (7 years, 6 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 96363 byte(s)
Diff to previous 19140
Use the method SetDisabledAndSelected for radio buttons

Revision 19140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 22 15:50:27 2007 UTC (7 years, 7 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 96353 byte(s)
Diff to previous 18889
Fixed problem when setting the fit range by slider for graphs.

Revision 18889 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 25 15:55:54 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 96155 byte(s)
Diff to previous 18804
- Make parameters of any user defined fit function available in SetParameters dialog of the fit panel
- Allow addition of functions only for predefined functions in ROOT

Revision 18804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 16 16:06:39 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 95201 byte(s)
Diff to previous 18370
Fixed bug #26371 - SegV was caused by not set to 0 fit function parent.
Improvements in CheckRange and SetFitObject methods

Revision 18370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 20 09:55:09 2007 UTC (7 years, 10 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 94155 byte(s)
Diff to previous 18331
From Ilka:
remove a forgotten debug statement

Revision 18331 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 19 09:57:11 2007 UTC (7 years, 10 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 94178 byte(s)
Diff to previous 18279
Fixed typo in comment.

Revision 18279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 15 15:08:50 2007 UTC (7 years, 10 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 94178 byte(s)
Diff to previous 18174
- If selected object has been fitted, its function(s) is recognized and added to the list and can be selected for later use
- Slider position is adjusted to the function range, if option "R" was used
- Fixed crash when fit panel is activated and leaving ROOT (.q)

Revision 18174 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 15:53:00 2007 UTC (7 years, 10 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 90577 byte(s)
Diff to previous 17833
The signal "RangeAxisChanged()" should be disconnected from UpdateGUI slot in
RecursiveRemove method (fixes <http://savannah.cern.ch/bugs/?24437>)

Revision 17833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 9 15:20:24 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 90527 byte(s)
Diff to previous 17817
Documented Minimization tab in class description.

Revision 17817 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 9 09:58:40 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 88277 byte(s)
Diff to previous 17761
From Lorenzo:
- set correctly the default fitter to Minuit2 after Fumili2

Revision 17761 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 7 17:08:20 2007 UTC (7 years, 11 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 88063 byte(s)
Diff to previous 17561
Added a status bar and functionality in the Minimization tab.

Revision 17561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:10:49 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 74888 byte(s)
Diff to previous 17553
-Add include "TROOT.h" in all implementation files that were assuming
that TROOT was included via TClass.h


-In TClass.h:
 --Remove the include of TROOT.h
 --add the following static member
   static IdMap_t    *fgIdMap;          //Map from typeid to TClass pointer

 --add the following functions:
   static void           AddClass(TClass *cl);
   static void           RemoveClass(TClass *cl);

 --Replace the inline definitions of GetClass functions by
   template <typename T> TClass* GetClass(      T**       /* dummy */) { return GetClass((T*)0); }
   template <typename T> TClass* GetClass(const T**       /* dummy */) { return GetClass((T*)0); }

-In TClass.cxx:
 --Instead of forwarding the calls to gROOT->GetClass, move the code
  originally in TROOT in the TClass::GetClass functions
 --Move class TMapTypeToTClass from TROOT to TClass.

Revision 17553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 10:06:51 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 74873 byte(s)
Diff to previous 17442
Add explicit inclusion of "TClass.h" in view of a future removal of TClass.h
from TQObject.h.

Revision 17442 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 18:19:29 2007 UTC (8 years ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 74853 byte(s)
Diff to previous 17110
- added methods CreateGeneralTab() and CreateMinimizationTab()

Revision 17110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 8 15:52:20 2006 UTC (8 years, 1 month ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 74507 byte(s)
Diff to previous 17046
- fit panel mapped on the right side of the canvas window (if there is enough space)
- if an object was fitted, we copy the function and its parameters from the previous fit
- when performing linear fit 'best errors' , 'improve results' and 'set parameters' are disabled

Revision 17046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 5 15:43:26 2006 UTC (8 years, 1 month ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 73027 byte(s)
Diff to previous 17023
- keep object draw options during the fit
- implemented fit option 'B'

Revision 17023 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 1 16:21:08 2006 UTC (8 years, 1 month ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 71517 byte(s)
Diff to previous 16994
- removed last changes and additional fix

Revision 16994 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 30 16:43:12 2006 UTC (8 years, 1 month ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 71591 byte(s)
Diff to previous 16980
- fixed SegV when fitting histogram objects

Revision 16980 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 29 15:13:34 2006 UTC (8 years, 1 month ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 71599 byte(s)
Diff to previous 16974
- keep the slider position if the axis range was not changed

Revision 16974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 28 14:08:38 2006 UTC (8 years, 1 month ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 71412 byte(s)
Diff to previous 16893
- connect the slider range to the displayed axis range in a pad;
this allows the fit panel slider range to be properly set after
performing zoom/unzoom  on axis

Revision 16893 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 15:09:27 2006 UTC (8 years, 2 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 70338 byte(s)
Diff to previous 16823
- fix in DoReset method

Revision 16823 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 20 08:10:22 2006 UTC (8 years, 2 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 70329 byte(s)
Diff to previous 16813
Fix coding conventions.

Revision 16813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 17 18:37:18 2006 UTC (8 years, 2 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 70328 byte(s)
Diff to previous 16795
- pass the function range to parameters' dialog

Revision 16795 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 16 15:39:52 2006 UTC (8 years, 2 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 70270 byte(s)
Diff to previous 16791
- added new functionality related to the "WW" fit option

Revision 16791 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 16 12:30:32 2006 UTC (8 years, 2 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 69185 byte(s)
Diff to previous 16763
- reset the slider to the original range when using the Reset button
- draw lines to show the new selected range for fitting

Revision 16763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 14 16:42:33 2006 UTC (8 years, 2 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 69875 byte(s)
Diff to previous 16761
- set the object properly when activating the fit panel via the context menu

Revision 16761 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 14 15:08:33 2006 UTC (8 years, 2 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 69856 byte(s)
Diff to previous 16466
From Ilka:
Changes in the fit panel functionality as follows:
- implemented as a modeless dialog, i.e. when open
it does not prevent users from interacting with other windows
- it is a singleton application, created per root session
- users can select an object for fitting in the usual way, i.e.
by left-mouse click on it; it the selected object is suitable
for fitting, the fit panel is connected with it and users can perform
fits by setting different parameters and options
- it is included in the ListOfCleanups and has the RecursiveRemove
method to handle cases of deletion of the currently selected object
or of he pad where this object is drawn

Revision 16466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 6 14:34:21 2006 UTC (8 years, 3 months ago) by antcheva
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 59617 byte(s)
Diff to previous 16456
- coding conventions

Revision 16456 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 21:33:21 2006 UTC (8 years, 3 months ago) by rdm
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 59619 byte(s)
Diff to previous 16451
minor correction in cvs ident line and copyright date.

Revision 16451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 17:51:40 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 59806 byte(s)
Diff to previous 16445
From Ilka.
A gif file name was wrong in the documentation.

Revision 16445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 16:36:22 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 59808 byte(s)
Diff to previous 16443
Fix compiler warnings about unitialized variables.

Revision 16443 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 16:12:43 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 59748 byte(s)
Diff to previous 16439
From Ilka:
- increase the singleshot timer delay in DoClose method
to avoid the crash on Windows when closing fit panel

Revision 16439 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Oct 5 15:06:48 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/fitpanel/src/TFitEditor.cxx
File length: 59694 byte(s)
From Ilka and Lorenzo:
This is the first prototype of the new fit panel GUI. Its goal is to replace the old one and
to provide more user friendly way for prforming, exploring and comparing fits.
The new interface is loaded via plug-in manager. It is set as default in TUtilPad via the
static variable and shows up on the place of the old fit panel. To switch to the old fit panel
interface just do: TUtilPad::SetPanelVersion(1);
For more details see the TFitEditor class description.

fitpanel - new fit panel directory

new classes:
TFitEditor class provides new fit panel user interface.
TFitParametersDialog provides a dialog for fit function parameter settings.

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