swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf

sort by:
Revision Author Date Message Commit Date
b604d25 This commit was manufactured by cvs2svn to create tag 'v3-03-08'. git-svn-id: http://root.cern.ch/svn/root/tags/v3-03-08@5181 27541ba8-7e3a-0410-8455-c3a389f83636 23 August 2002, 12:10:17 UTC
c590391 Fix a bug in THistPainter::PaintStat2 when drawing the number of under/overflows. git-svn-id: http://root.cern.ch/svn/root/trunk@5180 27541ba8-7e3a-0410-8455-c3a389f83636 23 August 2002, 12:10:16 UTC
f958c4b Fix a problem in TObject::Streamer when saving fBits for a referenced object. In case the REf is copied from an old file to a new file, the pid from the old file must be saved and not the pid from the current session. This problem was visible when calling TChain::Merge in particular. git-svn-id: http://root.cern.ch/svn/root/trunk@5179 27541ba8-7e3a-0410-8455-c3a389f83636 23 August 2002, 09:12:43 UTC
4f43e81 Modify comments in TKey::ReadObj + added a protection if gFile is null. git-svn-id: http://root.cern.ch/svn/root/trunk@5178 27541ba8-7e3a-0410-8455-c3a389f83636 23 August 2002, 08:54:38 UTC
201e8df Fix a problem in TStreamerInfo::WriteBuffer and WriteBufferClones when saving fBits for a referenced object. In case the REf is copied from an old file to a new file, the pid from the old file must be saved and not the pid from the current session. This problem was visible when calling TChain::Merge in particular. git-svn-id: http://root.cern.ch/svn/root/trunk@5177 27541ba8-7e3a-0410-8455-c3a389f83636 23 August 2002, 08:53:00 UTC
a6dd8ac Fix a problem in TFile::Close when deleting unused TProcessIDs. One cannot delete the object in the iterator loop TIter not safe) but create a TList with the objects to be deleted, then delete the TList. git-svn-id: http://root.cern.ch/svn/root/trunk@5176 27541ba8-7e3a-0410-8455-c3a389f83636 23 August 2002, 08:50:37 UTC
f938746 Major new version (to become V00-01-00) o README - Update standalone compilation instructions Refer BaBar users to RooFitBabar/README o RooAICRegistry - Fix memory leak o RooAbsArg - Add default implementation of constOptimize() that forwards the call to all servers - Add RooAbsOptGoodnessOfFit, RooRealMPFE as friends - Add protected pure virtual method setTreeBranchStatus() that can be used by the optimizer to disable reading of the tree branch associated with the RooAbsArg o RooAbsBinning - Add description o RooAbsCategory - Add operator==() - Implement setTreeBranchStatus() o RooAbsCollection - Add addClone(RooAbsCollection&,...) to add a list of clones o RooAbsData - Add pure virtual methods for new caching mechanism: * cacheClone() returns a clone of the dataset with cache * resetCache() clears the existing cache * setArgStatus() disables reading of given args from tree o New class RooAbsGoodnessOfFit - Abstract base class for goodness-of-fit variables. A goodness-of-fit is any quantity calculated from a PDF and a dataset. This class orgamizes parallelization over multiple CPUs and calculation of GOFs from simulatenous PDFs. o New class RooAbsOptGoodnessOfFit - Abstract base class for goodness-of-fit variables that calculate the PDF value at each data point in the given dataset. It implements various optimizations: caching of constant terms, elimination of unused variables etc. o RooAbsPdf - Deploy new normalization integral manager RooNormManager to cache multiple normalization integrals for a PDF. This greatly increases the efficiency for certain situations where PDFs are alternatingly called with 2 or more different normalization choices - Reimplement fitTo() in terms of RooNLLVar and RooMinuit. - Reimplement plotNLLOn() in terms of RooNLLVar and plotOn() - Migrate plotNLLContours to RooMinuit - Remove obsolete method fitContext o RooAbsReal - Add operator==() - Implement setTreeBranchStatus() - Fix memory leak in createProjection() o RooAbsString - Implement setTreeBranchStatus() o RooAddModel - Eliminate getNormSpecial() construction that was originally introduced to efficiently handle calls with 2 alternating projection/normalization configurations originating from RooConvolutedPdf. This is now handled by RooNormManager. o RooAddPdf - Reimplement caching of coefficient projection list and supplemental normalization list using RooNormListManager. (Also supports caching of multiple configurations now) o RooArgSet - Implement addClone(RooAbsCollection&,...) o RooBanner - Add description o RooBinning - Add description o New class RooChi2Var - Implementation of simple Chi^2 of RooAbsOptGoodnessOfFit for a RooDataHist and a RooAbsPdf. Chi^2 is calculated from PDF value at the bin center. Poisson errors are used if no user defined errors are present o RooConvolutedPdf - Reimplement normalization integral management using RooNormListManager - Deprecate use of RooResolutionModel::getNormSpecial. No longer needed. o RooCustomizer - Fix memory leak o RooDataHist - Add lo/hi Error associated with each bin. Default implementation returns poisson errors. Error is return by weightError(). - New set() function allows user to override poisson errors o RooDataSet - Fix copy ctor for weighted datasets - Implement cacheClone() o RooDirItem - Add description o RooDouble - Add description o RooExtendPdf - Follow changes in normalization management of RooAbsPdf o Removed class RooFitContext - Replaced by RooMinuit/RooNLLVar o RooFitResult - Change terminology NLL -> FCN (fits are no longer NLL necessarily) - Store and report accuracy code of minuit error matrix - Minor tweaking of parameter dumps with mixed symmetric/asymmetric errors o RooGenericPdf - Follow changes in RooAbsPdf normalization management o RooIntegratorConfig - Add description o RooLinTransBinning - Add description o RooLinkedListElem - Add description o RooLinkedListIter - Add description o New class RooMPSentinel - New class to keep track of server processes started for parallelized goodness-of-fit calculations. On linux hosts, these processes don't exit when the parent process exits. This class sends termination signals when this singleton class is deleted o RooMath - Activate CERF disk caching by default o New class RooMinuit - New seamless interface between RooFit objects and MINUIT Class propagates information forth and back between RooAbsArg objects and minuits internal memory buffer (e.g. parameter values, errors, step sizes, constant status) - This class minimizes any RooAbsReal function (doesn't need to be a NLL or Chi2) o Removed class RooNLLBinding - Obsolete after introduction of RooNLLVar o New class RooNLLVar - Implementation for NLL of RooAbsOptGoodnessOfFit o RooNameSet - Fix memory leak o New class RooNormManager - New manager class for normalization/projection integrals for PDFs This class matches RooArgSet pointer pairs to the integration and normalization sets to previously registered integrals. Multiple pointer pairs can point to the same integral (e.g. pointer to different RooArgSets with the same contents) and multiple integrals can be cached. This class doesn't create the normalization integrals. It merely indicates if it has one or not, and leaves it up to the owning class to create and register new normalizations o New class RooNormListManager - Similar to RooNormManager, except that RooArgLists of normalization integrals are caches instead of single integrals o RooNormSetCache - Rework functionality. This class, used by RooNorm(List)Manager manages multiple redundant RooArgSet pointer pairs that represent the same projection/normalization configuration o RooProdPdf - Almost complete rewrite in terms of RooNormListManager o RooRealConstant - Minor const changes o RooRealIntegral - Streamline iterator use: Create various interator in ctor and reuse them in evaluate() instead of creating and deleting them on the fly o New class RooRealMPFE - Front end for MultiProcessor calculations. Class RooRealMPFE takes a RooAbsReal as argument and calculates it in separate process. Calculations can be started asynchronously with the calculate() call. The rest of the interface (and behaviour) is identical to that of the original RooAbsReal. o RooResolutionModel - Deprecate getNormSpecial - superceded by RooNormManager o RooSetProxy - Implement addClone(const RooAbsCollection&,...) o Removed class RooSimFitContext - Obsolete - replaced by RooMinuit/RooNLLVar o RooSimGenContext - Fix memory leak o RooSimultaneous - remove obsolete fitContext() method o RooTreeData - Reimplement caching. Cached functions are now stored in a separate tree in the dataset. Main benefit of the new implementation is that caches can efficiently be reset and refilled on the fly o makedocs - Add stanzas for new tutorial macros git-svn-id: http://root.cern.ch/svn/root/trunk@5174 27541ba8-7e3a-0410-8455-c3a389f83636 21 August 2002, 23:06:42 UTC
15b0874 o README - Fix link to tutorial web page o RooBCPGenDecay - Rename _C and _S proxies to _avgC and _avgS as Solaris compiler mysteriously crashes on _C and _S as variable names o RooGExpModel,RooGaussModel - Add advertiseFlatScaleFactorIntegral() feature. If active, model advertises an analytical integral over the convolution variable _and_ the width scale factor (typically dterr), and implements that as a flat integral. (Good to ~1e-5 for most common applications of this model in BaBar) Great improvement in speed results... o RooPolynomial - Implement dtor to fix memory leak git-svn-id: http://root.cern.ch/svn/root/trunk@5172 27541ba8-7e3a-0410-8455-c3a389f83636 21 August 2002, 22:02:00 UTC
42811ba fClassMenuList must be set to null in TClass::Init. The non-initialized variable had side-effects in THtml. Thanks to Axel Naumann for fixing the problem. git-svn-id: http://root.cern.ch/svn/root/trunk@5171 27541ba8-7e3a-0410-8455-c3a389f83636 21 August 2002, 20:35:29 UTC
a134fb4 make sure global and not new class GetPixel() is used for gif generation. git-svn-id: http://root.cern.ch/svn/root/trunk@5170 27541ba8-7e3a-0410-8455-c3a389f83636 21 August 2002, 08:21:45 UTC
6764cda o RooSimPdfBuilder - Fix some memory leaks (reported by GC) - Increase string parsing buffer from 1K to 2K git-svn-id: http://root.cern.ch/svn/root/trunk@5168 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 17:56:24 UTC
f0b0c52 small tutorial like exec1.C that shows how signal/slots can be used to handle TCanvas and TPad events. git-svn-id: http://root.cern.ch/svn/root/trunk@5167 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 16:24:15 UTC
3c4191d Stamp version 3.03/08. We hope that this new version will be the PRO release. git-svn-id: http://root.cern.ch/svn/root/trunk@5166 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 16:18:48 UTC
529fe25 Add a few more comments on how to compile/link the example. git-svn-id: http://root.cern.ch/svn/root/trunk@5165 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 16:15:19 UTC
4bf272f Add a few comments explaining why TF1 cannot accept a class member function. git-svn-id: http://root.cern.ch/svn/root/trunk@5164 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 16:00:16 UTC
1e5f8cb Renormalize stress test program to 200 rootmarks to take into account the new additions in class Track and Event. git-svn-id: http://root.cern.ch/svn/root/trunk@5163 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 15:49:31 UTC
03e2eab add test for gcc 3.2 so -lfrtbegin gets included when linking with g77. git-svn-id: http://root.cern.ch/svn/root/trunk@5162 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 15:26:52 UTC
257e3f3 Implement function Track::Clear that deletes the array fPointvalue. The Track destructor calls the new Clear function. In Event::Clear, replaces fTracks->Delete() by fTracks->Clear("C") to take advantage of the new option in TClonesArray::Clear. git-svn-id: http://root.cern.ch/svn/root/trunk@5161 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 15:21:42 UTC
61ba0ad Implement a default constructor with no arguments. This constructor does not allocate the internal array of UUIDs. The other constructor (previous default constructor) has only one optional argument. Modify logic in TRefArray::Init to not call new if fSize is null. git-svn-id: http://root.cern.ch/svn/root/trunk@5160 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 15:17:36 UTC
e1cab89 Add a new option in TClonesArray::Clear. // Clear the clones array. Only use this routine when your objects don't // allocate memory since it will not call the object dtors. // However, if the class in the TClonesArray implements the function Clear(Option_t *option) // and if option = 'C' the function Clear is called for all active objects // in the array. In the function Clear, one can delete objects or dynamic // arrays allocated in the class constructor. This procedure is much faster // than calling TClonesArray::Delete. git-svn-id: http://root.cern.ch/svn/root/trunk@5159 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 15:13:31 UTC
9b3a639 fix issue with warnings on egcs. git-svn-id: http://root.cern.ch/svn/root/trunk@5158 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 11:25:19 UTC
294c01c compile with all warnings on (-w0) and disable, as per Thomas Bretz recipe, the most irrelevant ones. git-svn-id: http://root.cern.ch/svn/root/trunk@5157 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 11:08:42 UTC
4c6e549 changes to remove the many warnings generated on Alpha cxx v6. Basically make sure that unused variables are used or removed. There were many unused variables in the Rtypes.h and dictionaries (the "dummyinit" vars). git-svn-id: http://root.cern.ch/svn/root/trunk@5156 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 10:51:50 UTC
f0ae147 Protections in case of large lists and memory leak fixed by Valeriy Onuchin git-svn-id: http://root.cern.ch/svn/root/trunk@5155 27541ba8-7e3a-0410-8455-c3a389f83636 20 August 2002, 08:23:37 UTC
2b99908 show splash screen not in batch mode. git-svn-id: http://root.cern.ch/svn/root/trunk@5154 27541ba8-7e3a-0410-8455-c3a389f83636 19 August 2002, 16:37:16 UTC
00fa29a don't import new CINT file dmyinit.c. git-svn-id: http://root.cern.ch/svn/root/trunk@5153 27541ba8-7e3a-0410-8455-c3a389f83636 19 August 2002, 14:27:11 UTC
fe52bea import of CINT 5.15.53. For what else is new see http://root.cern.ch/root/Cint.phtml?relnote. iostream redirect mod (G__OLDIMPLEMENTATION1635) still disabled. git-svn-id: http://root.cern.ch/svn/root/trunk@5151 27541ba8-7e3a-0410-8455-c3a389f83636 19 August 2002, 14:26:22 UTC
64f1bce fix cut-and-paste error (TGX11 -> TGWin32). git-svn-id: http://root.cern.ch/svn/root/trunk@5150 27541ba8-7e3a-0410-8455-c3a389f83636 19 August 2002, 08:54:32 UTC
266476d Fix portability problem in TChain::Merge git-svn-id: http://root.cern.ch/svn/root/trunk@5149 27541ba8-7e3a-0410-8455-c3a389f83636 18 August 2002, 20:52:28 UTC
1a888fb New tutorial from Christian Holm Christensen illustrating a simple use of Pythia within Root. See comments in tutorial. git-svn-id: http://root.cern.ch/svn/root/trunk@5148 27541ba8-7e3a-0410-8455-c3a389f83636 18 August 2002, 20:12:21 UTC
0fa3313 Mods by Reiner Rohlfs to make the tick marks of the palette visible in the Postscript file. git-svn-id: http://root.cern.ch/svn/root/trunk@5147 27541ba8-7e3a-0410-8455-c3a389f83636 18 August 2002, 19:48:04 UTC
52913bf Protect TEnv::GetValue in case the DTORs of `TSystem' and `TUnixSystem' is called before `__do_global_dtors_aux' (thanks Christian Holm Christensen) git-svn-id: http://root.cern.ch/svn/root/trunk@5146 27541ba8-7e3a-0410-8455-c3a389f83636 18 August 2002, 17:43:48 UTC
f2471b4 Delete static member fgMaxMergeSize and corresponding getter/setter. The logic for automatic file overflow is now implemented in TTree::Fill and can be removed from TChain::Merge git-svn-id: http://root.cern.ch/svn/root/trunk@5145 27541ba8-7e3a-0410-8455-c3a389f83636 17 August 2002, 21:41:13 UTC
00ee8cc Implement protection in main program in case of automatic file overflow. Use tree.GetCurrentFile() to close the file. git-svn-id: http://root.cern.ch/svn/root/trunk@5144 27541ba8-7e3a-0410-8455-c3a389f83636 17 August 2002, 21:39:33 UTC
5d3037c Implement automatic file overflow when calling TTree::Fill. New data member fFileNumber containing the current file number (default=0). New static member Int_t fgMaxTreeSize (default value 1.9 Gbytes). New functions ; Int_t GetFileNumber() Int_t GetmaxTreeSize() void setMaxTreeSize(Int_t maxsize) The automatic file overflow is called by TTree::Fill and implemented in the new function ChangeFile: TFile *TTree::ChangeFile(TFile *file) { // called by TTree::Fill when file has reached its maximum fgMaxTreeSize. // Create a new file. If the original file is named "myfile.root", // subsequent files are named "myfile_1.root", "myfile_2.root", etc. // // Return pointer to new file // Currently, the automatic change of file is restricted // to the case where the Tree is in the top level directory. // The file should not contain sub-directories. // // Before switching to a new file, the Tree header is written // to the current file, then the current file is closed. // // To process the multiple files created by ChangeFile, one must use // a TChain. // // fgMaxTreeSize can be set via the static function TTree::SetMaxTreeSize. // The default value of fgMaxTreeSize is 1.9 Gigabytes. // // If the current file contains other objects like TH1 and TTree, // these objects are automatically moved to the new file. // // IMPORTANT NOTE: // Be careful when writing the final Tree header to the file! // Don't do: // TFile *file = new TFile("myfile.root","recreate"); // TTree *T = new TTree("T","title"); // T->Fill(); //loop // file->Write(); // file->Close(); // but do the following: // TFile *file = new TFile("myfile.root","recreate"); // TTree *T = new TTree("T","title"); // T->Fill(); //loop // file = T->GetCurrentFile(); //to get the pointer to the current file // file->Write(); // file->Close(); git-svn-id: http://root.cern.ch/svn/root/trunk@5143 27541ba8-7e3a-0410-8455-c3a389f83636 17 August 2002, 21:38:19 UTC
a41dc49 Add some protections in TMath::Voigt git-svn-id: http://root.cern.ch/svn/root/trunk@5142 27541ba8-7e3a-0410-8455-c3a389f83636 17 August 2002, 18:42:27 UTC
81d432f new method GetPixel() and static method Number2Pixel(). Use these methods to get the pixel value associated with the TColor. This pixel value can be directly used in the TGxxx GUI classes. For example: TCanvas *c = new TCanvas; widget->ChangeBackground(TColor::Number2Pixel(c->GetFillColor())); git-svn-id: http://root.cern.ch/svn/root/trunk@5141 27541ba8-7e3a-0410-8455-c3a389f83636 17 August 2002, 16:34:28 UTC
d47f833 new method GetPixel(Color_t) that returns the pixel value associated to the specified TColor color index. git-svn-id: http://root.cern.ch/svn/root/trunk@5140 27541ba8-7e3a-0410-8455-c3a389f83636 17 August 2002, 16:29:31 UTC
9a8063c 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 *** 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
back to top