https://github.com/root-project/root

sort by:
Revision Author Date Message Commit Date
8dce635 Add new prototype for TMath::Sort. static void Sort(Long64_t n, const Long64_t *a, Long64_t *index, Bool_t down=kTRUE); This new prototype will be used by the new TTreeIndex class. Add new functions static Double_t ErfInverse(Double_t x); static Double_t ErfcInverse(Double_t x) {return TMath::ErfInverse(1-x);} TMath::Erf computes the inverse of the error function git-svn-id: http://root.cern.ch/svn/root/trunk@9394 27541ba8-7e3a-0410-8455-c3a389f83636 05 July 2004, 17:51:12 UTC
559227a From Valeri Fine & Yuri Fisiak It fixes a crash when the user custom compare method is provided git-svn-id: http://root.cern.ch/svn/root/trunk@9393 27541ba8-7e3a-0410-8455-c3a389f83636 05 July 2004, 13:31:10 UTC
331afe6 From Andrei Gheata: added a protection against double instantiation of TGeoElementTable. git-svn-id: http://root.cern.ch/svn/root/trunk@9392 27541ba8-7e3a-0410-8455-c3a389f83636 05 July 2004, 08:52:35 UTC
38be498 Modify the original algorithm in TF1::Moment and TF1::CentralMoment to use the new C functions TF1_ExpValHelperx and TF1_ExpValHelper instead of the interpreted functions. This removes several limitations. Also initialize the parameters for the helper functions. git-svn-id: http://root.cern.ch/svn/root/trunk@9391 27541ba8-7e3a-0410-8455-c3a389f83636 05 July 2004, 07:02:53 UTC
4d8a332 In TGraphasymmErrors::BayesDivide, the test for histograms filled with weights was wrong. git-svn-id: http://root.cern.ch/svn/root/trunk@9390 27541ba8-7e3a-0410-8455-c3a389f83636 05 July 2004, 06:55:07 UTC
dbeb342 The argument option is now optional in TGraphAsymmErrors::BayesDivide git-svn-id: http://root.cern.ch/svn/root/trunk@9389 27541ba8-7e3a-0410-8455-c3a389f83636 05 July 2004, 06:43:30 UTC
630292b Add more comments in headers. Rename gif files git-svn-id: http://root.cern.ch/svn/root/trunk@9388 27541ba8-7e3a-0410-8455-c3a389f83636 05 July 2004, 06:42:05 UTC
f5e9168 some more changes for Tiger. git-svn-id: http://root.cern.ch/svn/root/trunk@9387 27541ba8-7e3a-0410-8455-c3a389f83636 04 July 2004, 17:57:50 UTC
1399161 remove out of place comment. git-svn-id: http://root.cern.ch/svn/root/trunk@9386 27541ba8-7e3a-0410-8455-c3a389f83636 04 July 2004, 17:57:24 UTC
af33052 From Gerri: 1. TSystem.cxx, TNetFile.cxx: two checks in TSystem::ConsistentWith and TNetSystem::ConsistentWith were wrong in such a way to compensate each other; 2. rpdutils.cxx: RpdCheckHostsEquiv: missing extension in renaming .rhosts made permission check ineffective RpdCheckAuthAllow: an initialization flag setting was misplaced 3. globus.cxx, proofd.cxx force null termination of std::string's after string::insert I have seen the problem with gcc2.96 (also a guy that contacted me saw the same): the new length is ok, but the newly allocate memory is not reset; gcc2.95 should also have the problem, at least looking at the gcc code, while for 3.x the STL implementation seems completely re-written. git-svn-id: http://root.cern.ch/svn/root/trunk@9385 27541ba8-7e3a-0410-8455-c3a389f83636 04 July 2004, 17:48:43 UTC
17c815e In the functions ProjectionX,ProjectionY,SlicesX,SlicesY copy the attributes of the TH2 axis to the projection axis. git-svn-id: http://root.cern.ch/svn/root/trunk@9384 27541ba8-7e3a-0410-8455-c3a389f83636 03 July 2004, 20:39:39 UTC
6641175 Add a new function void TAxis::ImportAttributes(const TAxis *axis) This new function is called from TH2::ProjectionX,Y and TH2::SlicesX,Y git-svn-id: http://root.cern.ch/svn/root/trunk@9383 27541ba8-7e3a-0410-8455-c3a389f83636 03 July 2004, 20:37:26 UTC
126e194 In the TH1::Add functions do not use the absolute value of the multiplying coeefficients when computing the resulting statistics, but their value. git-svn-id: http://root.cern.ch/svn/root/trunk@9382 27541ba8-7e3a-0410-8455-c3a389f83636 03 July 2004, 13:47:38 UTC
3c58014 Replace the enum kNone by kNotSTL to avoid a possible clash with the kNone in GuiTypes.h git-svn-id: http://root.cern.ch/svn/root/trunk@9381 27541ba8-7e3a-0410-8455-c3a389f83636 03 July 2004, 09:34:30 UTC
5bb191e From Philippe: Attached is a new format to eventlist->Print("all") in response to http://root.cern.ch/phpBB2/viewtopic.php?t=838 git-svn-id: http://root.cern.ch/svn/root/trunk@9380 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 21:51:29 UTC
dc1c350 From Philippe: This patchs avoid crashing if the name of the TEventList used in TTree::Draw refers to an existing non-TEventList object. For example: ntuple->Draw("px>>elist"); ntuple->Draw(">>elist"); was crashing and now issues: Error in <TSelectorDraw::Begin>: An object of type 'TH1F' has the same name as the requested event list (elist) git-svn-id: http://root.cern.ch/svn/root/trunk@9379 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 21:50:20 UTC
138e5d0 From Philippe: The iosenum.h is empty for windows and the default are inappropriate for the MS compiler. Hence a simple command like: ifstream f("myfile.txt",ios::in); does not work (because ios::in has the wrong value). The attached iosenum.win32 was (harduously) generated for the MS compiler and solved the problem (see http://root.cern.ch/phpBB2/viewtopic.php?p=3100#3100) git-svn-id: http://root.cern.ch/svn/root/trunk@9378 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 21:48:30 UTC
7968a4b From Gerri: Patch to support 'system' functionality via the rootd daemon, so one can get file stat and access info and directory browsing via rootd. - TNetFile.h, .cxx New class TNetSystem inheriting from TSystem. - net/inc/LinkDef.h Added #pragma for TNetSystem - TFTP.h, .cxx New methods AccessPathName, GetPathInfo, GetDirEntry, OpenDirectory, FreeDirectory - TSystem.h, .cxx New method ConsistentWith to allow different matching criteria in the search for existing helpers (method FindHelper) - rootd.cxx New functions RootdAccess, RootdFreeDir, RootdGetDirEntry, RootdOpenDir - MessageTypes.h New messages kROOTD_OPENDIR, kROOTD_FREEDIR, kROOTD_DIRENTRY, kROOTD_ACCESS git-svn-id: http://root.cern.ch/svn/root/trunk@9377 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 18:36:57 UTC
72c0aaf from Ilka add pictures showing the ged for all classes supporting the new editor git-svn-id: http://root.cern.ch/svn/root/trunk@9376 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 15:43:56 UTC
9c0dc36 Add a static member static Int_t fgPanelVersion; //DrawPanel version (0=old, 1= new) in TUtilPad::DrawPanel, add 2 lines to invoke the class TGedDrawpanel when fgPanelVersion>0 fgPanelVersion may be set via TUtilPad::SetPanelVersion(1) git-svn-id: http://root.cern.ch/svn/root/trunk@9375 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 13:46:09 UTC
0fed121 In the functions TH2::FitSlicesX and TH2::FitSlicesY add new options "G2","G3","G4","G5" to group 2,3,4 or 5 consecutive bins when making the projections. git-svn-id: http://root.cern.ch/svn/root/trunk@9374 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 13:42:40 UTC
0afc8ce From Anna Kreshuk Add new function Double_t TH1::Chi2Test(TH1 *h, Option_t *option, Int_t constraint) //The Chi2 (Pearson's) test for differences between h and this histogram. //a small value of prob indicates a significant difference between the distributions // //if the data was collected in such a way that the number of entries //in the first histogram is necessarily equal to the number of entries //in the second, the parameter _constraint_ must be made 1. Default is 0. //any additional constraints on the data lower the number of degrees of freedom //(i.e. increase constraint to more positive values) in accordance with //their number // ///options: //"O" -overflows included //"U" - underflows included // //"P" - print information about number of degrees of freedom and //the value of chi2 //by default underflows and overflows are not included // //algorithm taken from "Numerical Recipes in C++" git-svn-id: http://root.cern.ch/svn/root/trunk@9373 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 13:25:09 UTC
8e623c3 New tutorial illustrating how to use a THStack to show a 2-D histogram with cells drawn with different colors git-svn-id: http://root.cern.ch/svn/root/trunk@9372 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 07:44:37 UTC
43d5626 This round of updates achieves two major goals - Large (O(10-100)) speedup in handling of very complex PDFS (>10000 nodes) by pervasive use of self-expanding hash tables - Fix outstanding problems with RooProdPdf through new strategy to deal with cached objects in cloning/server redirect operations There is also a handful of minor fixes ------------------------------------------------ o RooSetPair - New auxiliary class to store pair of RooArgSet pointers o Roo1DTable - Don't fill entries with zero weight o RooAbsArg - Add optional 2nd arg to printCompactTree() to store output to file o RooAbsCollection - Initialize RooLinkedLists with hashing size threshold of 43 o RooAbsGoodnessOfFit, RooAbsOptGoodnessOfFit, RooProdPdf - Follow changes in printCompactTree() syntax o RooAbsOptGoodnessOfFit - Remove all methods that implement dirty state optimization and constant term caching (migration to RooAbsReal) o RooAbsReal - Various fixes in plotAsymOn fix plotting of asymmetries in conjunction with ProjWData() and Slice() - Add methods that implement dirty state optimization and constant term caching (migration from RooAbsOptGoodnessOfFit) o RooDataProjBinding - Remove some old debug code o RooHashTable - New constructor option allow to choose hashing by name, pointer or objects Hash() value - Switch to using TMath::Hash() fast hashing method using 'especially selected random numbers' (!) - Add kludgy support for storage of RooLinkedListElem and RooSetPair objects, which do not inherit from TObject. (A full redesign of RooLinkedList and RooHashTable is needed at some point) o RooHist - Fix print statement o RooHistError - Lower (n,m) threshold for calculation of approximate binomial error to avoid factorial overflow problems. o RooLinkedList - Introduce automatically activated hashing by name and pointer to speed up handling of long lists beyond size threshold given in ctor (zero threshold disables this features) - Automatically rehash tables when #entries becomes greater than hash table size o RooNameSet - Sort contents upon insertion. This fixes broken operator== for certain set comparisons o RooNormListManager - Add support for 'sterile' operation. If contents is sterilized via new sterilize() member function or use of sterile copy ctor RooNormSetCache information is retained (and thus ordering and slot indeces used by client classes) but stored contents associated with given iset/nset pairs is deleted. A 'setNormList()' call that maps to a sterilized slot will recycle that slot. Optional new argument in getNormList will tell client that requested information has been sterilized rather than not being there. o RooNormSetCache - Store set pair information in hash table of RooSetPair objects rather than two fixed size arrays of RooArgSet pointers. This greatly improves lookup speed (indexed by set pointers) and automatically expands the capacity of the set cache as is needed for very complex fits. o RooProdPdf - Abandon strategy to forward redirectServer requests to cached product configurations. This strategy has turned out to be flawed as insufficient information is available in the redirectServers context to do the right thing under all circumstances. Invocation of redirectServerHook() will now sterilize the cache, using new RooNormListManager feature - Modify getAnalyticalIntegralWN(), which looks up cached product configurations by index to recognize sterilized entries. If such an entry is encountered, it is reconstituted on the fly. o RooRealIntegral - Store owned clones of factorizing observables instead of linking to instances provided in ctor as ownership related of those turns out not to be well defined. o RooRefCountedList - Set hashing threshold of underlying RooLinkedList at 17 o RooSimPdfBuilder - Increase buffer sizes of RooStringVars in set returned by createProtoBuildConfig() to accomodate requests for ever more complex pdf configurations. git-svn-id: http://root.cern.ch/svn/root/trunk@9370 27541ba8-7e3a-0410-8455-c3a389f83636 02 July 2004, 07:39:04 UTC
2e6f8b8 changes needed for port to MacOS Tiger Preview. git-svn-id: http://root.cern.ch/svn/root/trunk@9369 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 22:50:02 UTC
0c29b6b From Philippe: This patch allows for the 2nd arguments of TNtuple::Fill to have a default value. git-svn-id: http://root.cern.ch/svn/root/trunk@9368 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 21:27:36 UTC
cc8edaf From Philippe: I attached the modifications that are needed in gcc3strm.cxx to compile with gcc 3.4.0. There are 2 problems. One is that I could not find any trace of ostream& operator<< (ostream&,const streampos&); in the gcc 3.3.1 or the gcc 3.4.0 header files. However it is in cint/lib/gcc3strm/iostrm.h and of course in gcc3strm.cxx The second problem is more fundamental. In gcc 3.4.0, streamoff is defined as (include/c++/3.4.0/bits/postypes.h) #ifdef _GLIBCXX_HAVE_INT64_T typedef int64_t streamoff; #else typedef long long streamoff; #endif in turn int64_t is platform dependent. In particular, on my node int64_t is typedef to an int. In gcc 3.3.1, streamoff was a long. This leads to the compilation error: cint/src/gcc3strm.cxx: In function `int G__G__stream_6_4_0(G__value*, const char*, G__param*, int)': cint/src/gcc3strm.cxx:149: error: 'const class std::fpos<mbstate_t>' has no member named 'operator long int' As a quick fix, I simply replaced the implementatio of the wrapper so that it does not do an explicit call to the operator long: const fpos<mbstate_t>*pos = (const fpos<mbstate_t>*)(G__getstructoffset()); G__letint(result7,108,(long)(*pos)); instead of G__letint(result7,108,(long)((const fpos<mbstate_t>*)(G__getstructoffset()))->operator long()); Of course, this is fundamentally wrong, since on a 64 bit platform, this will truncate the long long into a long. I am not sure what would be good solution (theoritically, it would require to make sure that the dictionary for fpos<mbstate_t> is different (long vs long long) on the appropriate platforms). git-svn-id: http://root.cern.ch/svn/root/trunk@9367 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 20:02:52 UTC
023bf10 From Gerri: Fix backward compatibility problem with 4.00.06 for the SSH method. git-svn-id: http://root.cern.ch/svn/root/trunk@9366 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 18:49:31 UTC
efe8ae6 add number of protections to avoid passing 0 to strlen. Add new methods: IsAlpha(), IsAlnum(), IsDigit(), IsHex(). git-svn-id: http://root.cern.ch/svn/root/trunk@9365 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 18:45:20 UTC
c60a5f3 From Maarten: Fix typo in new packetizer. git-svn-id: http://root.cern.ch/svn/root/trunk@9364 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 18:41:05 UTC
df1d8d0 From Olivier: - When a THStack is drawn as a lego plot (option LEGO1), the top of each bin is now drawn with the color of the highest non empty stack element (for that particular bin). If all the stack elements are empty for a given bin, the color of the lowest stack element is used. Previously the top of the bin was always drawn with the color of the highest stack element. The following macro shows the improvement: void legocol() { TCanvas *c1 = new TCanvas; Int_t nbins = 10; TH2F *h1 = new TH2F("h1","h1",nbins,-4,4,nbins,-4,4); h1->SetFillColor(kBlue); TH2F *h2 = new TH2F("h2","h2",nbins,-4,4,nbins,-4,4); h2->SetFillColor(kRed); TH2F *h3 = new TH2F("h3","h3",nbins,-4,4,nbins,-4,4); h3->SetFillColor(kGreen); THStack *hs = new THStack("hs","3 plots"); hs->Add(h1); hs->Add(h2); hs->Add(h3); TRandom r; Int_t i; for (i=0;i<20000;i++) h1->Fill(r.Gaus(),r.Gaus()); for (i=0;i<20000;i++) h2->Fill(r.Gaus(),r.Gaus()); for (i=0;i<20000;i++) h3->Fill(r.Gaus(),r.Gaus()); Int_t bin; bin = h1->GetBin(5,4); h3->SetBinContent(bin,0); h2->SetBinContent(bin,0); bin = h1->GetBin(5,3); h3->SetBinContent(bin,0); bin = h1->GetBin(5,5); h2->SetBinContent(bin,0); hs->Draw("lego1"); } git-svn-id: http://root.cern.ch/svn/root/trunk@9363 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 16:27:26 UTC
06e606a From Andrei Gheata: Minor changes in the element names git-svn-id: http://root.cern.ch/svn/root/trunk@9362 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 15:14:23 UTC
762fdd4 Add comments in TH1::GetRMS git-svn-id: http://root.cern.ch/svn/root/trunk@9361 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 15:10:47 UTC
7aff112 From Axel Naumann: THtml sigsegvs when encountering a class with an unknown base class, trying to build the inheritance diagram. This fixes it. git-svn-id: http://root.cern.ch/svn/root/trunk@9360 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 04:57:29 UTC
c358040 From Philippe: This patches renames TDirectory::GetObjectAny into TDirectory::GetObject. Since this interface has not been 'released' yet, no backward compatibility is provided. git-svn-id: http://root.cern.ch/svn/root/trunk@9359 27541ba8-7e3a-0410-8455-c3a389f83636 01 July 2004, 04:55:05 UTC
08f2ec7 ignore build products. git-svn-id: http://root.cern.ch/svn/root/trunk@9358 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 22:50:52 UTC
23cc184 From Maarten: fix off by one error. git-svn-id: http://root.cern.ch/svn/root/trunk@9357 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 22:47:59 UTC
00da769 Fix to the configure by Axel for finding X11/Xlib.h git-svn-id: http://root.cern.ch/svn/root/trunk@9356 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 19:38:51 UTC
fa14a08 From Philippe: This patch avoids the buffer overrun condition that lead to a segmentation fault. git-svn-id: http://root.cern.ch/svn/root/trunk@9355 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 18:42:41 UTC
28d545e put special thread detection case for win32gcc in configure and not in wingcc_ld.sh to avoid spread of special cases over too many files. git-svn-id: http://root.cern.ch/svn/root/trunk@9354 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 16:52:04 UTC
3679af3 From Ilka: additional code in TAxisEditor as follows: - fDecimal - new check button in the axis editor - DoDecimals(Bool_t on) - slot connected to the decimal part setting of axis labels. git-svn-id: http://root.cern.ch/svn/root/trunk@9353 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 13:04:44 UTC
4e59078 From Philippe: This patch introduces a new conventions to access the user code in a TTreeProxy. As previously the input to the TTreeProxy is a script file (for example h1analysisProxy.C) and an optional cut script file (for example h1analysisProxyCut.C). MakeProxy generate a selector with a Process method containing: htemp->Fill(h1analysisProxy()); or if (h1analysisProxyCut()) htemp->Fill(h1analysisProxy()); The addition is that, optionally, the generated selector will also call method named scriptname_methodname in each of 6 main selector methods if the method scriptname_methodname Concretely, with the script h1analysisProxy.C, The method calls the method (if it exist) Begin -> h1analysisProxy_Begin SlaveBegin -> h1analysisProxy_Begin Notify -> h1analysisProxy_Begin Process -> h1analysisProxy_Begin SlaveTerminate -> h1analysisProxy_Begin Terminate -> h1analysisProxy_Begin This means that now chain->Process("h1analysis.C+"); and chain->Draw("h1analysisProxy.C+","h1analysisProxyCut.C") are equivalent (i.e. should produce the same result in the same amount of time (approx). git-svn-id: http://root.cern.ch/svn/root/trunk@9352 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 12:59:51 UTC
2509de0 From Axel naumann: removes the "ldd not found" error at the startup of root, by calling cygcheck instead. git-svn-id: http://root.cern.ch/svn/root/trunk@9351 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 11:54:04 UTC
8ed52be From Axel Naumann: Philippe fixed a typo in Makefile.win32gcc. The -pthread switch also needs to be removed when linking. Instead of introducing another if clause in configure I filtered it out in wingcc_ld.sh. De we need REENTRANT here as well? configure checks for the X libs, but not for the X headers. At least for cygwin it has happened several times now that people ran into problems with that: configure completes successfully, even though only X11 libs were installed, but no headers. This patch adds a check for X11/Xlib.h, and tells people to install X11-devel if not found. git-svn-id: http://root.cern.ch/svn/root/trunk@9350 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 10:40:08 UTC
a55667e Fix a mismatch between new and delete in TGeotrack::Draw replacing delete opt1; by delete [] opt1; git-svn-id: http://root.cern.ch/svn/root/trunk@9349 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 10:31:59 UTC
1750451 Remove unused icons git-svn-id: http://root.cern.ch/svn/root/trunk@9348 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 10:30:50 UTC
46f96c9 From Bertrand Bellenot: Here are a few mods for RootShower : - Delete all files into RootShower/icons directory and copy the new ones (gnome-like icons). - Add RootShower.rc into RootShower directory (win32 resource script). - Apply the patch on Makefile. This patch add rc compiler command and hides console window when executing RootShower (only for win32). It is also a good example showing how to add resources on a win32 application. git-svn-id: http://root.cern.ch/svn/root/trunk@9347 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 09:57:40 UTC
b4f8fa9 New version from Sergey Linev with enhancements to support STL containers. git-svn-id: http://root.cern.ch/svn/root/trunk@9346 27541ba8-7e3a-0410-8455-c3a389f83636 30 June 2004, 09:34:27 UTC
2f455ac use -D_REENTRANT instead of the -pthread flag on win32gcc. git-svn-id: http://root.cern.ch/svn/root/trunk@9345 27541ba8-7e3a-0410-8455-c3a389f83636 29 June 2004, 22:31:35 UTC
07a17a1 From Axel Naumann: with this patch, classes starting with "ROOT::" are not known to THtml anymore, so no doc for them will be generated. git-svn-id: http://root.cern.ch/svn/root/trunk@9344 27541ba8-7e3a-0410-8455-c3a389f83636 29 June 2004, 21:36:18 UTC
c8263c7 From Philippe: This patch fixes a problem in the protection against empty files in TTreePlayer::MakeProxy git-svn-id: http://root.cern.ch/svn/root/trunk@9343 27541ba8-7e3a-0410-8455-c3a389f83636 29 June 2004, 17:39:02 UTC
736dabd From Philippe: Fix a problem (improper parsing of operator<< <xxx>()) git-svn-id: http://root.cern.ch/svn/root/trunk@9342 27541ba8-7e3a-0410-8455-c3a389f83636 29 June 2004, 16:59:29 UTC
a57a3f6 From Sergey Linev: I slightly modify xml package. I remove non used class TXMLDtdGenerator. I plan to move it's code in TXMLPlayer class later, when all code generation will be done. Do not forget to delete TXMLDtdGenerator.* files from root/xml/inc, root/xml/src and root/include directory. I fix problem for the case, when class inherits from STL class. I also add some comments to new TXMLPlayer class. git-svn-id: http://root.cern.ch/svn/root/trunk@9341 27541ba8-7e3a-0410-8455-c3a389f83636 29 June 2004, 14:45:38 UTC
caf9167 Add more comments in TNtuple::Fill git-svn-id: http://root.cern.ch/svn/root/trunk@9340 27541ba8-7e3a-0410-8455-c3a389f83636 29 June 2004, 06:49:15 UTC
4b47ea6 From Philippe: Support for %1$i in sprintf was not implemented in CINT It is implemented with the attached patch. git-svn-id: http://root.cern.ch/svn/root/trunk@9339 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 20:52:40 UTC
b104547 Correct comments to indicate that this example cannot be run with CINT git-svn-id: http://root.cern.ch/svn/root/trunk@9338 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 17:31:58 UTC
4ca603e From Philippe: One more problem fixed for hp-ux git-svn-id: http://root.cern.ch/svn/root/trunk@9337 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 17:00:36 UTC
5941699 Fix for a compilation error on hp-ux (by Phylippe) git-svn-id: http://root.cern.ch/svn/root/trunk@9336 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 16:42:12 UTC
3d49908 From Philippe: Fix a problem with CR/LF characters at the end of the lines giving a problem with gcc2.95 git-svn-id: http://root.cern.ch/svn/root/trunk@9335 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 16:38:00 UTC
daa2e0e In THistPainter::PaintInit, optimize the computation of the Y range git-svn-id: http://root.cern.ch/svn/root/trunk@9334 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 12:14:57 UTC
4c1c131 Fix a portability problem with a redefinition of a loop index git-svn-id: http://root.cern.ch/svn/root/trunk@9333 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 09:12:06 UTC
e481489 Fix a mismatch between {} (thanks Olivier) git-svn-id: http://root.cern.ch/svn/root/trunk@9332 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 08:59:56 UTC
c3ca38b From Andrei Gheata; Fix for a back incompatibility in TGeoMaterial. few other modifications for setting some material flags and cleaning-up the element table at the end. git-svn-id: http://root.cern.ch/svn/root/trunk@9331 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 08:46:47 UTC
76efd18 From Philippe: Fix a portability problem (gcc2.95) git-svn-id: http://root.cern.ch/svn/root/trunk@9330 27541ba8-7e3a-0410-8455-c3a389f83636 28 June 2004, 05:29:07 UTC
9095cb0 Add a new function: Double_t TCutG::Integral(TH2 *h, Option_t *option) const // Compute the integral of 2-d histogram h for all bins inside the cut // if option "width" is specified, the integral is the sum of // the bin contents multiplied by the bin width in x and in y. git-svn-id: http://root.cern.ch/svn/root/trunk@9329 27541ba8-7e3a-0410-8455-c3a389f83636 26 June 2004, 13:38:57 UTC
4c80bc6 From Kris Gulbrandsen: 1) TUnixSystem::TempFileName uses TUnixSystem::ConcatFileName. ConcatFileName returns a string which is suppose to be deleted. TempFileName just set a TString equal to it and doesn't delete the returned string. 2) TAuthenticate (non-default) constructor makes the variable "sproto" (with StrDup), eventually setting the TString fProtocol equal to it, but never deletes sproto. 3) TAuthenticate::ReadRootAuthrc defines "char* authrc". There are numerous ways to leave this function without deleting authrc or setting authrc to something else without deleting the previous contents. git-svn-id: http://root.cern.ch/svn/root/trunk@9328 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 23:12:51 UTC
9630762 ignore test build products. git-svn-id: http://root.cern.ch/svn/root/trunk@9327 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 22:49:40 UTC
5e25e58 correct multiple inclusion ifdefs, must be of the form ROOT_<filename - .h>. git-svn-id: http://root.cern.ch/svn/root/trunk@9326 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 22:45:41 UTC
6c5de47 explicit instantiation not needed, types are already instantiated in the dictionary. git-svn-id: http://root.cern.ch/svn/root/trunk@9325 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 22:44:18 UTC
0b9c486 Remove unused parameters when calling the constructor of TGeoMaterial, to avoid an ambiguity with the new TGeoMaterial constructor. git-svn-id: http://root.cern.ch/svn/root/trunk@9324 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 19:52:20 UTC
502e118 From Philippe: This introduces the implementation of MakeProxy and Draw of a C++ function which is run in a context where the name of the branches can be used as a C++ variable. In TTree, we added a method MakeProxy and modified the behavior of TTree::Draw (by modifying TTreePlayer::DrawSelect). In TTreePlayer we added TTreePlayer::MakeProxy and TTreePlayer::DrawScript TTreeProxyGenerator is a new class implementing the generation of the skeleton. (TBranchProxyDescriptor and TBranchProxyClassDescriptor are helper class). A priori the tree parsing done by TTreeProxyGenerator could be used to re-implement improved an improve MakeClass/MakeSelector. TBranchProxy is the base class of a new hierarchy of classes implementing the indirect access to the branch of a TTree. The main features are - protection against array out-of-bound - on-demand loading of branches - ability to use the 'branchname' as if it was a data member. For example with Event.root: Double_t somepx = fTracks.fPx[2]; somepx is updated with the current fPx of the 3rd track. TTree::Draw as been updated so that upon seeing tree->Draw("h1analysis.C+","") tree->Draw("h1analysis.C+","h1analysisCut.C") If h1analysis.C (and h1analysisCut.C in the 2nd case) are readable files, the new MakeProxy will be used __instead of__ TTreeFormula. Currently TTreeFormula and 'TBranchProxy' can not be used together. In which case the means of parameters to TTree::Draw are more like: Int_t TTree::Draw(const char *filename, const char *cutfilename, Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0); Both files are expected to be source file which contains at least a free standing function with the signature: x_t filename(); and y_t cutfilename(); x_t and y_t needs to be type that can convert respectively to a double and a bool (because the code does; if(cutfilename()) htemp->Fill(filename()); The 2 free standing function are run in a context such that the branch names are available as locally avaiable variable of the correct (read-only) type. If 'filename' is suffixes with an ACLiC mode, the ACLiC mode is inforced (Note that at this time, interpreted mode is not supported and if no ACLiC mode is specified, a '+' is used by default). The generated script file (currently generatedSel.h but subject to change in a future release) is intentionally __not__ deleted at the end of the processing. Also if the file already exist, it is updated if and only if the new version is different. In particular this means issues twice in a row: tree->Draw("Script.C+"); does __not__ result in a second (useless) compilation. For example to draw px in hsimple.root just have a hsimple.C file: double hsimple() { return px; } and do: new TFile("hsimple.root") tree = ntuple draw(tree,"hsimple.C"); or draw(tree,"hsimple.C+"); I attached a few examples, including a full port of the h1analysis tutorials. To use the h1analysis do: TChain chain("h42"); chain.Add("$H1/dstarmb.root"); // 21330730 bytes 21920 events chain.Add("$H1/dstarp1a.root"); // 71464503 bytes 73243 events chain.Add("$H1/dstarp1b.root"); // 83827959 bytes 85597 events chain.Add("$H1/dstarp2.root"); // 100675234 bytes 103053 events chain.Draw("h1analysis.C+","h1analysisCut.C"); h1analysis_Terminate(); I also have an example working of all the new Event files: new TFile("Event.new.split9.root"); TTree * tree = (TTree*)file->Get("T"); tree->Draw("script.C"); script0.C needs to be used for Event.new.split0.root. Also you can just generate the skeleton by doing: tree->MakeProxy("mysel",scriptfilename,cutfilename,splitLevel); Where the non-split branches, will be made to look as if there were split up to 'splitLevel'. (i.e mean that their data members will be syntactically available as if they were split). git-svn-id: http://root.cern.ch/svn/root/trunk@9323 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 18:42:19 UTC
bc867fc From Maarten: - new class TParameter - new class TDrawFeedback - fixes to the feedback of performance histograms - selection of the packetizer - cleanups Example commands: gROOT->Proof() ... package setup ... TDSet *d = make_tdset(2) gEnv->SetValue("Proof.StatsTrace",1) gEnv->SetValue("Proof.StatsHist",1) TList *fb = new TList fb->SetName("FeedbackList") fb->Add(new TObjString("EventsHist")) fb->Add(new TObjString("CpuTimeHist")) TDrawFeedback *dfb = new TDrawFeedback((TProof*)gProof) gProof->AddInput(fb) d->Process("EventTree_Proc.C","") git-svn-id: http://root.cern.ch/svn/root/trunk@9322 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 17:27:09 UTC
8d30fb8 From Ilka Changes descrived in previous check-in git-svn-id: http://root.cern.ch/svn/root/trunk@9321 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 17:15:23 UTC
188f25e From Ilka: - implemented new method ConnectSignals2Slots() to avoid non pleasant behavior of selected object in the canvas; - improved comments; - TGGroupFrame::DrawBorder() - fix in border drawing to avoid extra space in the bottom of the group frame; -TRootCanvas::ReallyDelete() - missing a call to DeleteEditors() method; TPadEditor class provides GUI for an easy control of pad/canvas attributes. Users can set log scales, ticks and grids along x, y,z; border mode and size, etc. TPaveStatsEditor provides GUI for editing TPaveStats options. git-svn-id: http://root.cern.ch/svn/root/trunk@9320 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 17:13:23 UTC
a77fecb reintroduce LinkDef.h with class TXMLPlayer git-svn-id: http://root.cern.ch/svn/root/trunk@9319 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 16:55:08 UTC
20e89d3 New class from Sergey Linev (described later) git-svn-id: http://root.cern.ch/svn/root/trunk@9318 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 16:53:34 UTC
12d5009 remove pragma for unavailable class TXMLPlayer. git-svn-id: http://root.cern.ch/svn/root/trunk@9317 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 16:50:54 UTC
4de263e From Gerri: - "Added support for Blowfish encryption for passwords and tokens based on OpenSSL, in addition to the existing RSA encoding. The type of key with highest priority is defined via the "RSA.KeyType" variable in .rootrc (default is Blowfish). The server side decides what to use according to its own availability and the client request." git-svn-id: http://root.cern.ch/svn/root/trunk@9316 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 16:49:09 UTC
250a1a6 From Sergey Linev; New version with some optimisation including a pre/post-processing for TObject and TString classes. git-svn-id: http://root.cern.ch/svn/root/trunk@9315 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 16:30:16 UTC
67c2954 change order of include files so TString.h is before the SAPDB includes. The SAPDB includes define min and max and that interferes with std::string which is included in TString.h. git-svn-id: http://root.cern.ch/svn/root/trunk@9314 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 12:53:18 UTC
653cccc From Andrei Gheata: Remove all PaintNext functions. git-svn-id: http://root.cern.ch/svn/root/trunk@9313 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 12:13:44 UTC
982b082 From Andrei Gheata: tutorial geodemo.C modified to take into account the new shapes. git-svn-id: http://root.cern.ch/svn/root/trunk@9312 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 12:00:42 UTC
fef651f From Andrei Gheata: - TGeoShape::PaintNext() removed from all shapes (for the new visualization system to be introduced shortly). The new mechanism is implemented in TGeoPainter::PaintShape (uses gGeoManager as we discussed), but it also affect some shapes (TGeoCompositeShape at least) - New files: TGeoElement.h /.cxx representing a chemical element. This is very helpful for the implementation of TFluka. Materials/mixtures can be now built also based on this new class. An element table is kept always transient in memory. - Mihaela implemented the TGeoParaboloid shape: new files: TGeoParaboloid.h/cxx. git-svn-id: http://root.cern.ch/svn/root/trunk@9311 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 11:59:56 UTC
70bf0dd Forgot classname in constructor! git-svn-id: http://root.cern.ch/svn/root/trunk@9310 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 10:17:04 UTC
4cdd919 Remove a compiler warning for an unused argument git-svn-id: http://root.cern.ch/svn/root/trunk@9309 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 10:10:11 UTC
64b5d4e From Philippe: Add a new function: Bool_t TSystem::IsFileInIncludePath(const char *name) // Return true if 'name' is a file that can be found in the ROOT include // path or the current directory. // If 'name' contains any ACLiC style information (aka trailing +[+][g|O]), // it is first strip of 'name'. git-svn-id: http://root.cern.ch/svn/root/trunk@9308 27541ba8-7e3a-0410-8455-c3a389f83636 25 June 2004, 09:56:26 UTC
45995ca From Philippe: Thist patch adds support for the self referencing of __any__ object being read. git-svn-id: http://root.cern.ch/svn/root/trunk@9307 27541ba8-7e3a-0410-8455-c3a389f83636 24 June 2004, 23:34:53 UTC
dab4167 new version that works on PROOF with the updated TSelector class. git-svn-id: http://root.cern.ch/svn/root/trunk@9306 27541ba8-7e3a-0410-8455-c3a389f83636 24 June 2004, 22:55:37 UTC
971b162 From Matt LeBourgeois: fixes the problem with the drawing of empty bins. The fix was easy because if there is a log scale then there can't be any negative values for z therefore the logic statement was changed to if z==0 and (zmin>0 or Hoption.logz) then continue. git-svn-id: http://root.cern.ch/svn/root/trunk@9305 27541ba8-7e3a-0410-8455-c3a389f83636 24 June 2004, 16:57:13 UTC
ceb5546 forgot to update some example lines to the new prefferred "master" and "worker" directives. git-svn-id: http://root.cern.ch/svn/root/trunk@9304 27541ba8-7e3a-0410-8455-c3a389f83636 24 June 2004, 15:19:59 UTC
8a7cf1b use the new "master" and "worker" directives to describe the PROOF cluster. git-svn-id: http://root.cern.ch/svn/root/trunk@9303 27541ba8-7e3a-0410-8455-c3a389f83636 24 June 2004, 14:54:59 UTC
a27f62d Following changes: - change "node" line to "master" in PROOF config file (of course "node" remains supported too). In addition to "slave" also "worker" is recongnized to describe slave servers. - first look for a "master" line in the config file, if the current node is not a valid master return. Previously slaves were directly created while reading of the file and then the session could still be terminated in case the master line was not correct (after possibly having started many slaves). - in Collect(), mess can be 0 in case the remote server died, this was not protected. git-svn-id: http://root.cern.ch/svn/root/trunk@9302 27541ba8-7e3a-0410-8455-c3a389f83636 24 June 2004, 14:54:26 UTC
0c32d1a Add support for reading version 1 TMatrixD objects. This piece of code was lost in a recent modification. git-svn-id: http://root.cern.ch/svn/root/trunk@9301 27541ba8-7e3a-0410-8455-c3a389f83636 24 June 2004, 09:12:44 UTC
6f15af1 From Philippe: This patch insures that the name of the helper functions (for example ShowMembers for a foreign class) are consistent even when the template parameter is a Long64_t (or ULong64_t). git-svn-id: http://root.cern.ch/svn/root/trunk@9300 27541ba8-7e3a-0410-8455-c3a389f83636 24 June 2004, 06:17:58 UTC
00bcdfb From Valeri Fine: Fixes in some constructors rationalizing the test fCanvasID == -1 This was generating occasional crashes with the old win32 or the new Qt version. git-svn-id: http://root.cern.ch/svn/root/trunk@9299 27541ba8-7e3a-0410-8455-c3a389f83636 23 June 2004, 20:46:33 UTC
c4362ca From Philippe: Currently when parsing a class, the template lookup does not look at the result of using statement done in the global namespace. Also when parsing a class, the template lookup does not at the result of using statement done in the enclosing namespaces (if any) This patch corrects both situations. The patch is against cint 5.15.138. The diffs contains a lot of white spaces changes. git-svn-id: http://root.cern.ch/svn/root/trunk@9298 27541ba8-7e3a-0410-8455-c3a389f83636 23 June 2004, 19:41:03 UTC
8945ab9 From Bertrand Bellenot: Patch solving the problem reported by Ed Oltman on the forum : GUI question: special characters in window name? ( http://root.cern.ch/phpBB2/viewtopic.php?t=843 ) git-svn-id: http://root.cern.ch/svn/root/trunk@9297 27541ba8-7e3a-0410-8455-c3a389f83636 23 June 2004, 19:23:30 UTC
fa732f6 From Eddy Offermann: The data are now stored in a tree as integers (after multiplying by 100.) . Previous version with Float_t had some spurious rounding issues, making the compression not optimal . Current stock.root file is around 164 Kb The portfolio.C has a change in the definition of return (p2/p1 instead of p2-p1) . git-svn-id: http://root.cern.ch/svn/root/trunk@9296 27541ba8-7e3a-0410-8455-c3a389f83636 23 June 2004, 08:57:16 UTC
92f54e7 add script that shows how to make a PROOF package the will build libEvent on PROOF. git-svn-id: http://root.cern.ch/svn/root/trunk@9295 27541ba8-7e3a-0410-8455-c3a389f83636 23 June 2004, 08:32:51 UTC
58d52de improve algorithm to decide to use a local TFile in case specified host and local host are the same in a TFile::Open("root://...."): If the url points to the localhost and the file will be opened in readonly mode and the current user has read access or the specified user is equal to the current user then open local TFile. git-svn-id: http://root.cern.ch/svn/root/trunk@9294 27541ba8-7e3a-0410-8455-c3a389f83636 23 June 2004, 08:31:34 UTC
back to top