9a8063c | Rene Brun | 16 August 2002, 21:16:00 UTC | Add a new enum member TH1::kNoTitle. When the corresponding bit is set the histogram title is not drawn by THistPainter::PaintTitle. To set the option, use: hist->SetBit(TH1::kNoTitle); The bit is persistent. git-svn-id: http://root.cern.ch/svn/root/trunk@5139 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 21:16:00 UTC |
e70d416 | Rene Brun | 16 August 2002, 20:03:16 UTC | Minor change in Voigt to get one reference as a html link git-svn-id: http://root.cern.ch/svn/root/trunk@5138 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 20:03:16 UTC |
e5b1022 | Rene Brun | 16 August 2002, 19:50:23 UTC | Add a new reference to TMath::Voigt git-svn-id: http://root.cern.ch/svn/root/trunk@5137 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 19:50:23 UTC |
6ae826e | Jim Smith | 16 August 2002, 18:30:20 UTC | Forgot to commit change to the .rdl file git-svn-id: http://root.cern.ch/svn/root/trunk@5135 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 18:30:20 UTC |
cc21947 | Jim Smith | 16 August 2002, 17:51:56 UTC | Change to maxAcceptProb and staticInitOK git-svn-id: http://root.cern.ch/svn/root/trunk@5133 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 17:51:56 UTC |
06b7667 | Fons Rademakers | 16 August 2002, 14:16:55 UTC | add + as legal file name character in case of wildcards. Fixes problem for Atlas data challenge. git-svn-id: http://root.cern.ch/svn/root/trunk@5132 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 14:16:55 UTC |
05c5339 | Rene Brun | 16 August 2002, 13:48:28 UTC | Fix compiler warnings in new function TMath::Voigt git-svn-id: http://root.cern.ch/svn/root/trunk@5131 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 13:48:28 UTC |
6157f21 | Rene Brun | 16 August 2002, 13:43:10 UTC | Add a new function Double_t TMath::Voigt(Double_t x, Double_t sigma, Double_t lg, Int_t R) // Computation of Voigt function (normalised). // Voigt is a convolution of // gauss(x) = 1/(sqrt(2*pi)*sigma) * exp(x*x/(2*sigma*sigma) // and // lorentz(x) = (1/pi) * (lg/2) / (x*x + g*g/4) // functions. // The Voigt function is known to be the real part of Faddeeva function also // called complex error function [2]. // The algoritm was developed by J. Humlicek [1]. // This code is based on fortran code presented by R. J. Wells [2]. // Translated and adapted by Miha D. Puc // To calculate the Faddeeva function with relative error less than 10^(-R). // R can be set by the the user subject to the constraints 2 <= R <= 5. // [1] J. Humlicek, JQSRT, 21, 437 (1982). // [2] R. J. Wells, Rapid Approximation to the Voigt/Faddeeva Function and // it's Derivatives. From original mail by miha.puc@marvin.fmf.uni-lj.si Voigt function is very common in optical spectrometry (astronomy, ..) and also in X-ray spectrometry. I found it's quite difficult to get a good and fast approximation algorthm and I think having voigt in TMath would be of great value to many. For this reason and since I already have the code I'm sending it to you to consider. git-svn-id: http://root.cern.ch/svn/root/trunk@5130 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 13:43:10 UTC |
cc6726b | Rene Brun | 16 August 2002, 10:54:11 UTC | Add more comments and a warning in SetOptStats git-svn-id: http://root.cern.ch/svn/root/trunk@5129 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 10:54:11 UTC |
439ac13 | Rene Brun | 16 August 2002, 08:17:40 UTC | Add a new tutorial/benchmark comparing the performance of objects written as keys in a directory or as Tree entries. To run the benchmark, do root -b -q bill.C or root -b -q bill.C++ git-svn-id: http://root.cern.ch/svn/root/trunk@5128 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 08:17:40 UTC |
dff49dd | Rene Brun | 16 August 2002, 06:18:37 UTC | Fix a serious bug in TRef::TRef(TObject *obj) (thanks William Tanenbaum). fPID was not correctly set. The assignement operator is already doing all the work. git-svn-id: http://root.cern.ch/svn/root/trunk@5127 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 August 2002, 06:18:37 UTC |
ef8e659 | Fons Rademakers | 15 August 2002, 18:15:44 UTC | properly initialize fIn in TMD5 ctor. git-svn-id: http://root.cern.ch/svn/root/trunk@5126 27541ba8-7e3a-0410-8455-c3a389f83636 | 15 August 2002, 18:15:44 UTC |
820cfa8 | Rene Brun | 15 August 2002, 14:18:32 UTC | Add a new option "P0" in THistPainter::Paint and equivalent change in TGraph::PaintGrapHist. // "P" : Draw current marker at each bin except empty bins // "P0" : Draw current marker at each bin including empty bins git-svn-id: http://root.cern.ch/svn/root/trunk@5125 27541ba8-7e3a-0410-8455-c3a389f83636 | 15 August 2002, 14:18:32 UTC |
a45faf7 | Rene Brun | 15 August 2002, 08:41:28 UTC | Add a new tutorial based on original code from Heinz.Pernegger@cern.ch and Markus.Friedl@cern.ch. This tutorial illustrates a Convoluted Landau and Gaussian Fitting Function git-svn-id: http://root.cern.ch/svn/root/trunk@5124 27541ba8-7e3a-0410-8455-c3a389f83636 | 15 August 2002, 08:41:28 UTC |
4762de9 | Rene Brun | 14 August 2002, 06:48:55 UTC | Preset array seed[16] in TUUID::GetNodeIdentifier. Purify reports reading from an uninitialized area TMD5::Transform. git-svn-id: http://root.cern.ch/svn/root/trunk@5123 27541ba8-7e3a-0410-8455-c3a389f83636 | 14 August 2002, 06:48:55 UTC |
ce3c0fd | Rene Brun | 13 August 2002, 21:17:59 UTC | Add new features in THStack: -possibility to specify a drawing option in THStack::Add -THStack::SavePrimitive save more parameters and options The TVirtualHistpainter, THistPainter modified accordingly. git-svn-id: http://root.cern.ch/svn/root/trunk@5122 27541ba8-7e3a-0410-8455-c3a389f83636 | 13 August 2002, 21:17:59 UTC |
1496941 | Rene Brun | 13 August 2002, 15:01:49 UTC | Add TCanvas::Delete printing a MayNotUse message. The Delete function is not visible from the context menu. Deleting the canvas via the Delete function used to generate a crash. git-svn-id: http://root.cern.ch/svn/root/trunk@5121 27541ba8-7e3a-0410-8455-c3a389f83636 | 13 August 2002, 15:01:49 UTC |
7995229 | Rene Brun | 13 August 2002, 13:44:33 UTC | Add an argument Int_t entry to THbookTree::InitLeaves In case THbookTree::InitLeaves is called by THbookBranch::GetEntry called directly by teh user (not via TTree::Draw), it is simpler to call directly THbookTree::GetEntry. This forces teh correct initialisation of the Hbook buffers. git-svn-id: http://root.cern.ch/svn/root/trunk@5120 27541ba8-7e3a-0410-8455-c3a389f83636 | 13 August 2002, 13:44:33 UTC |
0474348 | Rene Brun | 13 August 2002, 13:05:33 UTC | Add various protections in case the TButton default constructor is called. git-svn-id: http://root.cern.ch/svn/root/trunk@5119 27541ba8-7e3a-0410-8455-c3a389f83636 | 13 August 2002, 13:05:33 UTC |
76200fa | Rene Brun | 12 August 2002, 21:00:48 UTC | If I declare a templated class as follow: template <class TYPE> class MyClass { public: // When the '::' are put makecint does not interpret correct the value_type typedef // while doing the vector definition! typedef ::ConstLink< TYPE > value_type ; typedef std::vector< value_type > collection_type ; }; the resulting dictionary produced weird result including root [] .typedef MyClass<Toy>::value_type myclbad.so 1 typedef MyClass<Toy>::value_type MyClass<Toy>::value_type which should have been myclgood.so 1 typedef ConstLink<Toy> MyClass<Toy>::value_type The following simple patch fixes the problem. Philippe. git-svn-id: http://root.cern.ch/svn/root/trunk@5118 27541ba8-7e3a-0410-8455-c3a389f83636 | 12 August 2002, 21:00:48 UTC |
6dc50e2 | Rene Brun | 12 August 2002, 19:50:12 UTC | Add comments to indicate how to set a branch address in case of an Hbook block containing more than one variable. A C struct must be created. git-svn-id: http://root.cern.ch/svn/root/trunk@5117 27541ba8-7e3a-0410-8455-c3a389f83636 | 12 August 2002, 19:50:12 UTC |
52ae996 | Rene Brun | 12 August 2002, 15:10:57 UTC | In the Draw functions, delete previous Vector/Matrix object in the current directory if one exists. git-svn-id: http://root.cern.ch/svn/root/trunk@5116 27541ba8-7e3a-0410-8455-c3a389f83636 | 12 August 2002, 15:10:57 UTC |
22ca60e | Rene Brun | 12 August 2002, 06:24:13 UTC | Fix by Bill Tanenbaum TRef r(0) or TRef r = 0 leaves fPID uninitialized. The simplest fix is just to add "fPID = 0" as the first line of the TRef assignment operator that takes a TObject * as an argument. git-svn-id: http://root.cern.ch/svn/root/trunk@5115 27541ba8-7e3a-0410-8455-c3a389f83636 | 12 August 2002, 06:24:13 UTC |
285a69b | Rene Brun | 12 August 2002, 06:20:13 UTC | Fix by Bill Tanenbaum An off-by-one error caused core dumps until I found and fixed it. In TProcessID::GetObjectWithID(UInt_t uidd), the line: if (uid > fObjects->GetSize()) return 0; is incorrect, and must be replaced by if (uid >= fObjects->GetSize()) return 0; This is a critical fix. The subscripts start at O, so if uid is equal to the size, it returns whatever is one past the end of the array. git-svn-id: http://root.cern.ch/svn/root/trunk@5114 27541ba8-7e3a-0410-8455-c3a389f83636 | 12 August 2002, 06:20:13 UTC |
99d452e | Fons Rademakers | 11 August 2002, 09:35:33 UTC | some more basic image handling examples. git-svn-id: http://root.cern.ch/svn/root/trunk@5113 27541ba8-7e3a-0410-8455-c3a389f83636 | 11 August 2002, 09:35:33 UTC |
8a172ab | Fons Rademakers | 10 August 2002, 23:51:25 UTC | when doing distclean don't delete the tutorial files: galaxy.root and galaxy.pal.root. git-svn-id: http://root.cern.ch/svn/root/trunk@5112 27541ba8-7e3a-0410-8455-c3a389f83636 | 10 August 2002, 23:51:25 UTC |
1ee6cfc | Fons Rademakers | 10 August 2002, 23:50:10 UTC | fix several large memory leaks and some problems in Flip(). git-svn-id: http://root.cern.ch/svn/root/trunk@5111 27541ba8-7e3a-0410-8455-c3a389f83636 | 10 August 2002, 23:50:10 UTC |
b574f58 | Fons Rademakers | 10 August 2002, 23:49:29 UTC | fix some VC++ issues reported by Bertrand, ::operator new[]() cannot be called, must be ::operator new() and objects defined in the for(...) statement are not in for(...) scope. git-svn-id: http://root.cern.ch/svn/root/trunk@5110 27541ba8-7e3a-0410-8455-c3a389f83636 | 10 August 2002, 23:49:29 UTC |
3b0ffcc | Fons Rademakers | 10 August 2002, 11:56:17 UTC | instead of ::operator new() call TStorage::ObjectAlloc() since it will add the space to the heap counter used for IsOnHeap(). Now all objects allocated via the clonesarray will have correctly the kIsOnHeap bit set. Correct some comments in TObjArray. git-svn-id: http://root.cern.ch/svn/root/trunk@5109 27541ba8-7e3a-0410-8455-c3a389f83636 | 10 August 2002, 11:56:17 UTC |
2ed7717 | Rene Brun | 10 August 2002, 09:34:51 UTC | Add an example + gif file in the comments. Implement DistancetoPrimitive git-svn-id: http://root.cern.ch/svn/root/trunk@5108 27541ba8-7e3a-0410-8455-c3a389f83636 | 10 August 2002, 09:34:51 UTC |
6999637 | Rene Brun | 09 August 2002, 22:35:03 UTC | This patch prevents core dumps if the file of a tree friend is missing. This can easily happen if a friend is attached to a tree before it is saved and then in a new session (several days later :)) the tree is reloaded and analyzed when the original friend is missing. Philippe. git-svn-id: http://root.cern.ch/svn/root/trunk@5107 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 22:35:03 UTC |
76484c7 | Rene Brun | 09 August 2002, 22:12:42 UTC | Fix a bug in TH1::Merge (thanks to Maarten Ballintijn for reporting it). If one merges into an empty histogram the result is correct, but if you merge/add into an existing histogram the statistics are (displayed) wrong. git-svn-id: http://root.cern.ch/svn/root/trunk@5106 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 22:12:42 UTC |
8f66d72 | Rene Brun | 09 August 2002, 21:22:18 UTC | In TFolder destructor, call fFolders->Clear instead of fFolders->Delete. Clear will automatically delete the objects in the folder if the folder has the ownership. git-svn-id: http://root.cern.ch/svn/root/trunk@5105 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 21:22:18 UTC |
ce1df4d | Rene Brun | 09 August 2002, 20:47:17 UTC | New class to draw a crown or segment of crown. git-svn-id: http://root.cern.ch/svn/root/trunk@5104 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 20:47:17 UTC |
ba4eaa1 | Rene Brun | 09 August 2002, 20:45:43 UTC | Modify the SavePrimitive functions to also save the associated histogram information (in particular the axis titles) and also the TPaveStats. git-svn-id: http://root.cern.ch/svn/root/trunk@5103 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 20:45:43 UTC |
2465b60 | Rene Brun | 09 August 2002, 19:26:26 UTC | This patch insures that TStreamerInfo always uses a TStreamerSTL for STL containers even if the user has produced a dictionary for the STL container. This patch also add support for array of pointers to variable size arrays. Int_t fZones; // Total number of zones Float_t* fEffLow[50]; //[fZones] Table for low-pt cut bkg=0 Note that, for lack of better syntax, all the variable size array have the same size in the same instance. Philippe. git-svn-id: http://root.cern.ch/svn/root/trunk@5102 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 19:26:26 UTC |
782ffdb | Fons Rademakers | 09 August 2002, 16:43:30 UTC | fix some warning and Alpha compile problem. git-svn-id: http://root.cern.ch/svn/root/trunk@5101 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 16:43:30 UTC |
b2a2c1a | Fons Rademakers | 09 August 2002, 15:02:35 UTC | mods to allow multiword compiler CXX/CC variables in the Makefile. Added case for Debian/Linux on PPC in root-config.in. Small correction in makecintdlls.sh when invoking mktypes. All by Jiri Masik. git-svn-id: http://root.cern.ch/svn/root/trunk@5100 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 15:02:35 UTC |
4e50c02 | Fons Rademakers | 09 August 2002, 14:15:26 UTC | tutorials showing some features of the image package. git-svn-id: http://root.cern.ch/svn/root/trunk@5099 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 14:15:26 UTC |
deabed4 | Fons Rademakers | 09 August 2002, 14:14:20 UTC | some files used by the image processing tutorials. git-svn-id: http://root.cern.ch/svn/root/trunk@5098 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 14:14:20 UTC |
a2f1337 | Fons Rademakers | 09 August 2002, 14:12:22 UTC | new image processing module. This module needs libAfterImage (http://afterstep.sourceforge.net/afterimage/) to run. The initial prototype was made by me, but it has been largely extended by Reiner Rohlfs from ISDC who added many new features of interest to the astrophysics community. This is a first release and many things can cleary be added and improved. Looking forward to feedback and contributions. git-svn-id: http://root.cern.ch/svn/root/trunk@5097 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 14:12:22 UTC |
c2b1a4d | Fons Rademakers | 09 August 2002, 13:56:00 UTC | abstract image classes. Concrete implementation based on libAfterImage is following. git-svn-id: http://root.cern.ch/svn/root/trunk@5096 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 13:56:00 UTC |
4cdc8ea | Fons Rademakers | 09 August 2002, 13:12:24 UTC | new features by Maarten. The new TPacketizer2 and TDSet now allow a parallel loop over all files in the TDSet to quickly obtain the total number of events in the set. git-svn-id: http://root.cern.ch/svn/root/trunk@5095 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 13:12:24 UTC |
04f9eff | Rene Brun | 09 August 2002, 08:29:07 UTC | Add a new entry Hoption.HighRes in Hoption_t. By default Hoption.HighRes =0. It is non zero when the option "High Resolution 9 is selected in TH1::Draw. The option low resolution is automatically selected in TGraph::PaintGrapHist when the number of points is greater than the number of bins in the pad. However, for some pathological cases (difficult to detect automatically) like the example below, it is necessary to force high resolution. { TH1F* h1=new TH1F("hist","hist",2048,0,2048); for(int i=0; i<1024;i++){ h1->SetBinContent(i*2,i); h1->SetBinContent(i*2+1,5); } h1->SetMarkerColor(2); h1->SetMarkerStyle(21); h1->Draw("p9"); //without option 9 result is not good } git-svn-id: http://root.cern.ch/svn/root/trunk@5094 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 08:29:07 UTC |
6decb68 | Wouter Verkerke | 09 August 2002, 00:44:55 UTC | *** empty log message *** git-svn-id: http://root.cern.ch/svn/root/trunk@5093 27541ba8-7e3a-0410-8455-c3a389f83636 | 09 August 2002, 00:44:55 UTC |
a560b47 | Wouter Verkerke | 08 August 2002, 21:16:12 UTC | o Migrate BaBar-specific classes to RooFitBabar git-svn-id: http://root.cern.ch/svn/root/trunk@5092 27541ba8-7e3a-0410-8455-c3a389f83636 | 08 August 2002, 21:16:12 UTC |
012e80d | Fons Rademakers | 08 August 2002, 18:35:26 UTC | provide a const version of GetElements(). git-svn-id: http://root.cern.ch/svn/root/trunk@5091 27541ba8-7e3a-0410-8455-c3a389f83636 | 08 August 2002, 18:35:26 UTC |
c751bc5 | Fons Rademakers | 08 August 2002, 16:54:11 UTC | new XY layout manager class by Reiner Rohlfs. This is a layout manager where the position and the size of each widget in the frame are defined by X / Y - coordinates. The coordinates for each widget are defined by the TGXYLayoutHints. Therefore it is not possible to share a layout hint for several widgets. Much more usage information can be found in the class description. And example usage in the TASPaletteEditor class. git-svn-id: http://root.cern.ch/svn/root/trunk@5090 27541ba8-7e3a-0410-8455-c3a389f83636 | 08 August 2002, 16:54:11 UTC |
3946e0f | Fons Rademakers | 08 August 2002, 15:34:09 UTC | in ReAlloc() use always operator new[] and operator delete[] since we will use ReAlloc() only to resize arrays. By Charles Lane. git-svn-id: http://root.cern.ch/svn/root/trunk@5089 27541ba8-7e3a-0410-8455-c3a389f83636 | 08 August 2002, 15:34:09 UTC |
ef1b7fb | Rene Brun | 08 August 2002, 14:41:18 UTC | Change comment for fCompress to: Compression level from 0(not compressed) to 9 (max compression) git-svn-id: http://root.cern.ch/svn/root/trunk@5088 27541ba8-7e3a-0410-8455-c3a389f83636 | 08 August 2002, 14:41:18 UTC |
c3d77be | Fons Rademakers | 08 August 2002, 02:12:15 UTC | make stricter test for "real" WM_DELETE_WINDOW events. It can happen that a widget generates an event in fUser[0] (via MK_MSG()) equal to the current gWM_DELETE_WINDOW atom value (which can vary per Window Manager). Now the "real" WM_DELETE_WINDOW must also have an fHandle!=gROOT_MESSAGE. This was hard to find. git-svn-id: http://root.cern.ch/svn/root/trunk@5087 27541ba8-7e3a-0410-8455-c3a389f83636 | 08 August 2002, 02:12:15 UTC |
598e000 | Fons Rademakers | 07 August 2002, 23:24:19 UTC | hide generated file root-help.el from cvs. git-svn-id: http://root.cern.ch/svn/root/trunk@5086 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 23:24:19 UTC |
2b96574 | Fons Rademakers | 07 August 2002, 17:14:47 UTC | move gl_kill_back_1_word() to more logical location in file. git-svn-id: http://root.cern.ch/svn/root/trunk@5085 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 17:14:47 UTC |
f0b64f3 | Rene Brun | 07 August 2002, 16:10:31 UTC | Modify TGraph::ExecuteEvent to make sure that the first and the last point are always identical in case of a graphical cut. git-svn-id: http://root.cern.ch/svn/root/trunk@5084 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 16:10:31 UTC |
377410e | Fons Rademakers | 07 August 2002, 15:53:54 UTC | few bug fixes by Maarten. git-svn-id: http://root.cern.ch/svn/root/trunk@5083 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 15:53:54 UTC |
7795298 | Rene Brun | 07 August 2002, 15:45:48 UTC | Optimize performance in TClonesArray::Streamer when reading: - no need to call Delete. Done inside TStreamerInfo::ReadBufferClones - no need to call fClass->New with placement when CanBypassStreamer is true. git-svn-id: http://root.cern.ch/svn/root/trunk@5082 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 15:45:48 UTC |
6dc69fd | Fons Rademakers | 07 August 2002, 15:34:21 UTC | added "killing word on the left of the cursor". This function is bound to both Esc-Backspace and Esc-Delete. By Jiri Masik. git-svn-id: http://root.cern.ch/svn/root/trunk@5081 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 15:34:21 UTC |
febbf70 | Rene Brun | 07 August 2002, 13:55:45 UTC | Because of the recent addition of the variable length array fPointValue in the Track class, one must call fTracks->Delete and not fTracks->Clear in Event::Clear, otherwise there is a huge leak. git-svn-id: http://root.cern.ch/svn/root/trunk@5080 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 13:55:45 UTC |
fc9bd4b | Fons Rademakers | 07 August 2002, 11:56:20 UTC | remove warning in print statement. git-svn-id: http://root.cern.ch/svn/root/trunk@5079 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 11:56:20 UTC |
a639e07 | Fons Rademakers | 07 August 2002, 11:55:56 UTC | add case for FreeBSD. git-svn-id: http://root.cern.ch/svn/root/trunk@5078 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 11:55:56 UTC |
998f7dd | Rene Brun | 07 August 2002, 11:13:11 UTC | Add the list of files to the list of Cleanups. git-svn-id: http://root.cern.ch/svn/root/trunk@5077 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 11:13:11 UTC |
1367f31 | Rene Brun | 07 August 2002, 11:03:46 UTC | In TDirectory::Append, SetBit(kMustCleanup) for the object. This will force RecursiveRemove to be called when the object will be deleted. With this change, any TObject may be added to a TDirectory. When the object will be deleted, it will be automatically removed from any TDirectory referencing it. git-svn-id: http://root.cern.ch/svn/root/trunk@5076 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 11:03:46 UTC |
d9dcf13 | Rene Brun | 07 August 2002, 10:59:53 UTC | Modify comments in THistPainter::PaintContour git-svn-id: http://root.cern.ch/svn/root/trunk@5075 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 10:59:53 UTC |
21f219d | Rene Brun | 07 August 2002, 10:58:31 UTC | Implement THashList::RecursiveRemove overriding TCollection::RecursiveRemove. In case of a THashList, one cannot call THashList::Remove that internally calls THashTable::Remove. THashTable::RemoveSlow must be called instead. git-svn-id: http://root.cern.ch/svn/root/trunk@5074 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 10:58:31 UTC |
ed281fb | Rene Brun | 07 August 2002, 10:56:20 UTC | Implement new function THashTable::RemoveSlow. This function does not use the hash value to find the slot number. It iterates on all the slots to remove the object. RemoveSlow must be called when the hash value is not available anymore. For example when THashList::RecursiveRemove is called from TObject destructor. git-svn-id: http://root.cern.ch/svn/root/trunk@5073 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 10:56:20 UTC |
e517164 | Rene Brun | 07 August 2002, 08:13:57 UTC | Change maximum dimension of hepevt from 2000 to 4000 to be consistent between Pythia5 and 6. Note that this change implies a recompilation of jetset.f git-svn-id: http://root.cern.ch/svn/root/trunk@5072 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 08:13:57 UTC |
753e103 | Rene Brun | 07 August 2002, 07:59:26 UTC | Fix two typos in comments (thanks Olivier) git-svn-id: http://root.cern.ch/svn/root/trunk@5071 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 07:59:26 UTC |
7b63b8c | Rene Brun | 07 August 2002, 07:47:58 UTC | Add a new tutorial illustrating how to make an animated gif file and view it. The animated gif is generated using the gifsicle tool. see comments in the tutorial. git-svn-id: http://root.cern.ch/svn/root/trunk@5070 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 07:47:58 UTC |
a26897a | Rene Brun | 07 August 2002, 06:44:38 UTC | In TStreamerInfo::BuildOld, print also the class name in case of warnings git-svn-id: http://root.cern.ch/svn/root/trunk@5069 27541ba8-7e3a-0410-8455-c3a389f83636 | 07 August 2002, 06:44:38 UTC |
254483a | Rene Brun | 06 August 2002, 21:46:43 UTC | Modify TStreamerInfo::ReadBuffer and TStreamerInfo::ReadBufferClones to add the special case to skip a TRef object. (because TRef does not have a bytecount) git-svn-id: http://root.cern.ch/svn/root/trunk@5068 27541ba8-7e3a-0410-8455-c3a389f83636 | 06 August 2002, 21:46:43 UTC |
98ff2bb | Rene Brun | 06 August 2002, 21:29:55 UTC | in TObject::Write and TFile::Write. print the warning that the file is not writable only when the new bit kWriteError is not set. git-svn-id: http://root.cern.ch/svn/root/trunk@5067 27541ba8-7e3a-0410-8455-c3a389f83636 | 06 August 2002, 21:29:55 UTC |
cd8bce1 | Rene Brun | 06 August 2002, 20:50:50 UTC | After reflection, I thought that I might as well reuse the test on fWritable. So in case of a write SysError, I set the bit kWriteError (so that the user can check for it) and I set fWritable to kFALSE, since we declare that this file is now un-usable for write. Cheers, Philippe. git-svn-id: http://root.cern.ch/svn/root/trunk@5066 27541ba8-7e3a-0410-8455-c3a389f83636 | 06 August 2002, 20:50:50 UTC |
490ea30 | Rene Brun | 05 August 2002, 21:14:24 UTC | Fix typo in comments of TH1::Fit git-svn-id: http://root.cern.ch/svn/root/trunk@5065 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 21:14:24 UTC |
92a4b9d | Rene Brun | 05 August 2002, 21:12:12 UTC | Reimplement the copy constructors using TBuffer and Streamer instead of using the old Copy functions. git-svn-id: http://root.cern.ch/svn/root/trunk@5064 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 21:12:12 UTC |
61e7d5f | Rene Brun | 05 August 2002, 20:02:30 UTC | From Philippe, This update to drawtest does the following: start moving toward using makefile reduce the text printed while running reduce the time as much as possible git-svn-id: http://root.cern.ch/svn/root/trunk@5063 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 20:02:30 UTC |
fb2824b | Rene Brun | 05 August 2002, 18:13:15 UTC | Add a new optional argument Double_t t in TFormula::Eval and TF1::Eval. Update comments to indicate the possibility of 4 dimensions. git-svn-id: http://root.cern.ch/svn/root/trunk@5062 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 18:13:15 UTC |
b3f9ff0 | Rene Brun | 05 August 2002, 17:36:36 UTC | Modify TPaveLabel::SavePrimitive to take into account the new default fill color from the TPave constructor. git-svn-id: http://root.cern.ch/svn/root/trunk@5061 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 17:36:36 UTC |
2c4250d | Rene Brun | 05 August 2002, 17:35:35 UTC | The TPave constructors use gStyle->GetFillColor,Style, etc instead of the fixed values 18,1001, etc git-svn-id: http://root.cern.ch/svn/root/trunk@5060 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 17:35:35 UTC |
b0fdc77 | Rene Brun | 05 August 2002, 17:20:11 UTC | Fix a compiler warning on HP-UX git-svn-id: http://root.cern.ch/svn/root/trunk@5059 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 17:20:11 UTC |
8de4afe | Rene Brun | 05 August 2002, 16:51:17 UTC | Add support for filenames containing more than one dot. (thanks to jochen.cammin@cern.ch) git-svn-id: http://root.cern.ch/svn/root/trunk@5058 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 16:51:17 UTC |
7d2045e | Rene Brun | 05 August 2002, 16:45:00 UTC | The TProfile constructor was broken and should (as the other histogram constructors) call its parent's no parameter constructor instead of its parent's copy constructor. Cheers, Philippe. Same problem in TProfile2D git-svn-id: http://root.cern.ch/svn/root/trunk@5057 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 16:45:00 UTC |
ff7c45e | Fons Rademakers | 05 August 2002, 12:07:19 UTC | due to Philippe's change the Sizeof() of TUUID is now 18 (add Version_t). git-svn-id: http://root.cern.ch/svn/root/trunk@5056 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 12:07:19 UTC |
cf91645 | Rene Brun | 05 August 2002, 09:27:45 UTC | This patch from Philippe protects TTree::AutoSave in case the current dir is gROOT or when the current dir is not writable. git-svn-id: http://root.cern.ch/svn/root/trunk@5055 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 09:27:45 UTC |
ed92974 | Rene Brun | 05 August 2002, 09:26:08 UTC | From Olivier fgF3Clipping, fgF3XClip, fgF3YClip, fgF3ZClip, and *fgCurrentF3 are now static global variables within the class TPainter3dAlgorithms itself. Before they were declared as static global variables in the file TPainter3dAlgorithms.c. Their names have also changed, they now start with "fg". git-svn-id: http://root.cern.ch/svn/root/trunk@5054 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 09:26:08 UTC |
dc47b77 | Rene Brun | 05 August 2002, 09:18:58 UTC | Remove illegal comma in enum git-svn-id: http://root.cern.ch/svn/root/trunk@5053 27541ba8-7e3a-0410-8455-c3a389f83636 | 05 August 2002, 09:18:58 UTC |
40213ca | Fons Rademakers | 04 August 2002, 22:01:50 UTC | add TFile as friend and make FillBuffer/ReadBuffer/Sizeof private. git-svn-id: http://root.cern.ch/svn/root/trunk@5052 27541ba8-7e3a-0410-8455-c3a389f83636 | 04 August 2002, 22:01:50 UTC |
07475b2 | Fons Rademakers | 04 August 2002, 22:00:57 UTC | fix a few typos in comments. git-svn-id: http://root.cern.ch/svn/root/trunk@5051 27541ba8-7e3a-0410-8455-c3a389f83636 | 04 August 2002, 22:00:57 UTC |
7538bde | Fons Rademakers | 04 August 2002, 21:55:57 UTC | correct comment in Get() about using dynamic_cast<> in case TObject is not the first base class when there are multiple base classes. git-svn-id: http://root.cern.ch/svn/root/trunk@5050 27541ba8-7e3a-0410-8455-c3a389f83636 | 04 August 2002, 21:55:57 UTC |
bd990f6 | Rene Brun | 03 August 2002, 20:05:46 UTC | Following comments by Alexandr Malusek, the following patch from Axel Naumann should make Root html documents conform with w3C validation test (http://validator.w3.org/) git-svn-id: http://root.cern.ch/svn/root/trunk@5049 27541ba8-7e3a-0410-8455-c3a389f83636 | 03 August 2002, 20:05:46 UTC |
b5e34b6 | Rene Brun | 03 August 2002, 19:53:29 UTC | Remove call to gROOT->Reset git-svn-id: http://root.cern.ch/svn/root/trunk@5048 27541ba8-7e3a-0410-8455-c3a389f83636 | 03 August 2002, 19:53:29 UTC |
fe6297e | Rene Brun | 02 August 2002, 21:09:44 UTC | From Philippe, This patches works around the impossibility to change the return type of a virtual function with Msvc. git-svn-id: http://root.cern.ch/svn/root/trunk@5047 27541ba8-7e3a-0410-8455-c3a389f83636 | 02 August 2002, 21:09:44 UTC |
d6978af | Rene Brun | 02 August 2002, 20:56:10 UTC | Suggested by Peter Wienemann. Two new functions in TVector2,3 void TVector2::SetMagPhi(Double_t mag, Double_t phi); void TVector3::SetMagThetaPhi(Double_t mag, Double_t theta, Double_t phi); git-svn-id: http://root.cern.ch/svn/root/trunk@5046 27541ba8-7e3a-0410-8455-c3a389f83636 | 02 August 2002, 20:56:10 UTC |
ce1a652 | Fons Rademakers | 02 August 2002, 18:54:37 UTC | In root v3.03/07 the following simple commands fail: root [] TFile f("f.root","recreate","",0); f.mkdir("d"); f.Write(); root [] TFile f("f.root","","",0); f.cd("d"); Error in <TObjArray::At>: index -22985 out of bounds (size: 13, this: 0x0877cbc0) Error in <TObjArray::AddAt>: out of bounds at -22985 in 877cbc0 Error in <TBuffer::CheckByteCount>: object of class TUUID read too few bytes: 18 instead of 934433390 Warning in <TBuffer::CheckByteCount>: TUUID::Streamer() not in sync with data on file, fix Streamer() It basically means that most files with a sub-directories are not readable (with the current version of root, but will be readable with this fix). This is due to the fact that while writing ROOT uses TUUID::FillBuffer(), which does NOT save the TUUID::Class_Version and while reading ROOT uses TUUID::Streamer() which tries to read a version number! The fix is to add the writing of the version number to TUUID::FillBuffer(), to increase the version number of TDirectory, to use TDirectory's old version number (i.e. 2) to provoke reading TUUID without version number, and for higher version number TDirectory read the full TUUID. Fix by Philippe, modified slightly by me. git-svn-id: http://root.cern.ch/svn/root/trunk@5045 27541ba8-7e3a-0410-8455-c3a389f83636 | 02 August 2002, 18:54:37 UTC |
56eb00a | Wouter Verkerke | 02 August 2002, 17:58:47 UTC | o RooIntegratorConfig,RooIntegrator1D - Introduce separate absolute and relative epsilon convergence criteria for 1D integration git-svn-id: http://root.cern.ch/svn/root/trunk@5041 27541ba8-7e3a-0410-8455-c3a389f83636 | 02 August 2002, 17:58:47 UTC |
8b40b3c | Fons Rademakers | 02 August 2002, 16:45:05 UTC | correct GCC_MAJOR and GCC_MINOR setting. git-svn-id: http://root.cern.ch/svn/root/trunk@5040 27541ba8-7e3a-0410-8455-c3a389f83636 | 02 August 2002, 16:45:05 UTC |
d5d86c6 | Fons Rademakers | 02 August 2002, 11:06:21 UTC | added the GetYear(), GetMonth(), GetDay(), GetHour(), GetMinute() and GetSecond() methods to avoid bit manipulation by the users. git-svn-id: http://root.cern.ch/svn/root/trunk@5039 27541ba8-7e3a-0410-8455-c3a389f83636 | 02 August 2002, 11:06:21 UTC |
47bd50f | Fons Rademakers | 02 August 2002, 11:05:01 UTC | make the TTimer ctor a default ctor by allowing the milliSec argument to be 0, which results in a minimum timer interval of 10ms. git-svn-id: http://root.cern.ch/svn/root/trunk@5038 27541ba8-7e3a-0410-8455-c3a389f83636 | 02 August 2002, 11:05:01 UTC |
3c3c475 | Rene Brun | 01 August 2002, 21:33:48 UTC | This patch from Philippe implements the reading of variable size array inside a TClonesArray when the TClonesArray is not split. It also adds a test for reading variable size array inside a TClonesArray. It also fixes a problem recently mentioned on roottalk where the formula for not properly reading variable size array when the variable size was indexed more there was more than one variable in the formula. git-svn-id: http://root.cern.ch/svn/root/trunk@5037 27541ba8-7e3a-0410-8455-c3a389f83636 | 01 August 2002, 21:33:48 UTC |
834743d | Fons Rademakers | 01 August 2002, 15:36:25 UTC | deallocate fArgv[i]'s via delete[]. git-svn-id: http://root.cern.ch/svn/root/trunk@5036 27541ba8-7e3a-0410-8455-c3a389f83636 | 01 August 2002, 15:36:25 UTC |
d5803f4 | Fons Rademakers | 31 July 2002, 22:05:16 UTC | in DefineColorLevels() the variable theColor is again computed as: theColor = Int_t(i*... instead of: theColor = Int_t((i+0.99)*... If 0.99 is added to "i" the first contour produced is wrong. By Olivier. git-svn-id: http://root.cern.ch/svn/root/trunk@5035 27541ba8-7e3a-0410-8455-c3a389f83636 | 31 July 2002, 22:05:16 UTC |