- May 07, 2008
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23700 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23677 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
from Axel: Improve TH2::FitFitSliceX (and Y) by adding the possibility to return the generated histograms in a TObjArray when the passed pointer is not null. git-svn-id: http://root.cern.ch/svn/root/trunk@23674 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23673 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
a fix in TProfile documentation (ylow and yup parameter names were replaced by ymin and ymax in the comments). git-svn-id: http://root.cern.ch/svn/root/trunk@23670 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 06, 2008
-
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23662 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
The routine has been modified from the original hdiff to use always the effective entries for normalizing the max distance. Now in princile it could also be used also for comparing an histogram with a function created as an histogram with zero errors (equivalent to option F1 or F2 in the original HDIFF. git-svn-id: http://root.cern.ch/svn/root/trunk@23661 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 01, 2008
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23631 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23629 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 30, 2008
-
-
Lorenzo Moneta authored
From David: Now the DerivativeError returns the error of the last derivative. git-svn-id: http://root.cern.ch/svn/root/trunk@23621 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 28, 2008
-
-
Olivier Couet authored
when a TTree 4D plot is painted with that option. git-svn-id: http://root.cern.ch/svn/root/trunk@23594 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23583 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23570 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 24, 2008
-
-
Rene Brun authored
there is a bug in GCC 4.3.0 that makes roottest/root/hist/operator/runsparse.C fail in the error calculation part. Funny enough it fails because TH3 messes up its errors (not THnSparse :-) . The problem stems from TH1::GetBinError(): if (fSumw2.fN) return TMath::Sqrt(fSumw2.fArray[bin]); does not get evaluated properly - it has _horribly_ wrong values, e.g. -5063: 0.42 +5063: 0.648074 ("-" is GCC 3.4.6, "+" is GCC 4.3.0) after scaling a bin with a single entry by 0.42. So this is a real issue. It's possibly connected to the new math compiler intrinsics + pushing their results onto the stack. Attached patch fixes this, by introducing a temporary. Double_t err2 = fSumw2.fArray[bin]; return TMath::Sqrt(err2); The patch also fixes THnSparse::Scale() - it was also scaling the entries. git-svn-id: http://root.cern.ch/svn/root/trunk@23533 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 23, 2008
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23424 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23423 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23422 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23421 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23420 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23419 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23418 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23417 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23415 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23413 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 21, 2008
-
-
Lorenzo Moneta authored
Implement Projection() for non-uniform bins, too. Simplify and shorten the code considerably (combine projection targets TH1,2,3, THnSparse). Also fixes a bug with the projection target's title for THnSparse->THnSparse projections. git-svn-id: http://root.cern.ch/svn/root/trunk@23375 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23365 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 17, 2008
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23290 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23286 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23275 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 11, 2008
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23143 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 10, 2008
-
-
Lorenzo Moneta authored
Implement THnSparse::RebinnedAdd(hnsparse, c), which adds hnsparse*c to this, ignoring different bin sizes. Can be used to rebin a THnSparse: create a new THnSparse with the binning you want, and add the THnSparse with the old binning to it using RebinnedAdd(old). Also fixes an issue with Rebin() accessing an out-of-bound bin. git-svn-id: http://root.cern.ch/svn/root/trunk@23127 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 09, 2008
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23092 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 05, 2008
-
-
Philippe Canal authored
TTree, TH1, TEventList, TEntryList, TGraph2D (and hence their derived classes). The instances of those classes are now added automatically to the current directory only when Constructe'd with arguments or Clone'd and to the directory they are read from when their are stored directly in a TKey. [Note: the default constructor never adds the object to the current directory] The directory auto add can still be disabled for instance of TH1 and TGraph2D by setting TH1::AddDirectory. Additionally one can disable the directory auto add for a specific class by doing: TClass::GetClass("myclass")->SetDirectoryAutoAdd(0) However you might want to also be able to restore the behavior in which case you ought to do: TClass *cl = TClass::GetClass("myclass"); ROOT::DirAutoAdd_t func = cl->GetDirectoryAutoAdd(); cl->SetDirectoryAutoAdd(0); TROOT::ReadingObject is marked as deprecated.. It is still set (as it was) but is no longer used by the above mention classes. NOTE: One side effect of this change, is that instnace of TTree, TH1, TEventList, TEntryList, TGraph2D that are retrieved from a TMessage (i.e. from a socket) no longer auto register themselves to the current ROOT directory. Add a new optional parameter to TDirectory::Append: 'replace' If replace is true (the default is false), the Append will first remove from the directory any existing object and print the message: Replacing existing OldClass: thename (Potential memory leak). Add a new option parameter to TDirectory::CloneObject: 'autoadd' If autoadd is true (the default), CloneObject will call the object 'DirectoryAutoAdd' function (if any) In TDirectory::CloneObject add support for multiple inheritance from TObject where TObject is not the left most base class. Fix memory leak in TGraph2D::operator= (and add TGraph2D::Clear) Cleanup some documentation git-svn-id: http://root.cern.ch/svn/root/trunk@22992 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 04, 2008
-
-
Rene Brun authored
// Smooth bin contents of this 2-d histogram using kernel algorithms // similar to the ones used in the raster graphics community. // Bin contents in the active range are replaced by their smooth values. // If Errors are defined via Sumw2, they are scaled. // 3 kernels are proposed k5a, k5b and k3a. // k5a and k5b act on 5x5 cells (i-2,i-1,i,i+1,i+2, and same for j) // k5b is a bit more stronger in smoothing // k3a acts only on 3x3 cells (i-1,i,i+1, and same for j). // By default the kernel "k5a" is used. You can select the kernels "k5b" or "k3a" // via the option argument. // If TAxis::SetRange has been called on the x or/and y axis, only the bins // in the specified range are smoothed. // In the current implementation if the first argument is not used (default value=1). // // implementation by David McKee (dmckee@bama.ua.edu). Extended by Rene Brun git-svn-id: http://root.cern.ch/svn/root/trunk@22986 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 03, 2008
-
-
Philippe Canal authored
TDirectory::Append. This allows more 'hiding' of the internal list as well as simplifying code (now) using Append/Remove. git-svn-id: http://root.cern.ch/svn/root/trunk@22972 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
see : http://root.cern.ch/phpBB2/viewtopic.php?t=5262 void TH2::Smooth(Int_t , Option_t *) // Smooth bin contents of this histogram. // Bin contents are replaced by their smooth values. // Errors (if any) are not modified. // implementation by David McKee (dmckee@bama.ua.edu) Also change in A BACKWARD INCOMPATIBLE WAY the signature of TH1::Smooth to be the same as TH2::Smooth. git-svn-id: http://root.cern.ch/svn/root/trunk@22965 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 31, 2008
-
-
Rene Brun authored
in the final TH2C,S,I,F,D constructors git-svn-id: http://root.cern.ch/svn/root/trunk@22912 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 28, 2008
-
-
Fons Rademakers authored
mathcore mathmore fftw foam fumili genvector matrix minuit minuit2 mlp physics smatrix splot unuran quadp git-svn-id: http://root.cern.ch/svn/root/trunk@22885 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 26, 2008
-
-
Lorenzo Moneta authored
( fix for bug https://savannah.cern.ch/bugs/index.php?34936 ) git-svn-id: http://root.cern.ch/svn/root/trunk@22840 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 25, 2008
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22822 27541ba8-7e3a-0410-8455-c3a389f83636
-