4c80bc6 | Fons Rademakers | 25 June 2004, 23:12:51 UTC | 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 | Fons Rademakers | 25 June 2004, 22:49:40 UTC | 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 | Fons Rademakers | 25 June 2004, 22:45:41 UTC | 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 | Fons Rademakers | 25 June 2004, 22:44:18 UTC | 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 | Rene Brun | 25 June 2004, 19:52:20 UTC | 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 | Rene Brun | 25 June 2004, 18:42:19 UTC | 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 | Fons Rademakers | 25 June 2004, 17:27:09 UTC | 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 | Rene Brun | 25 June 2004, 17:15:23 UTC | 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 | Rene Brun | 25 June 2004, 17:13:23 UTC | 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 | Rene Brun | 25 June 2004, 16:55:08 UTC | 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 | Rene Brun | 25 June 2004, 16:53:34 UTC | 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 | Fons Rademakers | 25 June 2004, 16:50:54 UTC | 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 | Fons Rademakers | 25 June 2004, 16:49:09 UTC | 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 | Rene Brun | 25 June 2004, 16:30:16 UTC | 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 | Fons Rademakers | 25 June 2004, 12:53:18 UTC | 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 | Rene Brun | 25 June 2004, 12:13:44 UTC | 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 | Rene Brun | 25 June 2004, 12:00:42 UTC | 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 | Rene Brun | 25 June 2004, 11:59:56 UTC | 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 | Rene Brun | 25 June 2004, 10:17:04 UTC | 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 | Rene Brun | 25 June 2004, 10:10:11 UTC | 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 | Rene Brun | 25 June 2004, 09:56:26 UTC | 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 | Fons Rademakers | 24 June 2004, 23:34:53 UTC | 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 | Fons Rademakers | 24 June 2004, 22:55:37 UTC | 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 | Fons Rademakers | 24 June 2004, 16:57:13 UTC | 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 | Fons Rademakers | 24 June 2004, 15:19:59 UTC | 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 | Fons Rademakers | 24 June 2004, 14:54:59 UTC | 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 | Fons Rademakers | 24 June 2004, 14:54:26 UTC | 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 | Rene Brun | 24 June 2004, 09:12:44 UTC | 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 | Rene Brun | 24 June 2004, 06:17:58 UTC | 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 | Rene Brun | 23 June 2004, 20:46:33 UTC | 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 | Rene Brun | 23 June 2004, 19:41:03 UTC | 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 | Rene Brun | 23 June 2004, 19:23:30 UTC | 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 | Rene Brun | 23 June 2004, 08:57:16 UTC | 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 | Fons Rademakers | 23 June 2004, 08:32:51 UTC | 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 | Fons Rademakers | 23 June 2004, 08:31:34 UTC | 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 |
e68c2d5 | Rene Brun | 22 June 2004, 22:00:07 UTC | From Philippe: To fix alpha/egcs, the RConfig.h needs to be correct by defining R__PLACEMENTINLINE for that configuration. git-svn-id: http://root.cern.ch/svn/root/trunk@9293 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 22:00:07 UTC |
4fe4179 | Rene Brun | 22 June 2004, 21:55:59 UTC | Fix a failure on windows/VC++, alpha/cxx6 and sgi/CC due to a difference in the library loading order. git-svn-id: http://root.cern.ch/svn/root/trunk@9292 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 21:55:59 UTC |
68293c4 | Rene Brun | 22 June 2004, 19:57:01 UTC | From Eddy Offermann: A new patch for the Streamer functions: - The version of 4 classes has been increased by one : TMatrixFBase,TMatrixDBase,TVectorF and TVectorD . - The kStatus bit meaning has been reversed: 0 : valid 1 : invalid Increasing the class version makes it backward compatible This patch should solve backward compatibility issues after introducing on 27-may-2004 TObject::fBits to store validity state for vectors and matrices (instead of making fNrows =-1) . It was noted by Kris Gulbrandsen . It also fixes a bug when reading (!) a vector with length <= 5 . For the cvs-record a summary of the version history: ======================================================= 3.10/02 4.00/a 4.00/b 4.00/c now TMatrixFBase - 2 2 2 4 TMatrixF - 3 3 3 3 TMatrix 2 3 3 3 3 TMatrixFSym - 1 1 1 1 TMatrixDBase - 2 3 3 4 TMatrixD 2 3 3 3 3 TMatrixDSym - 1 1 1 1 TMatrixDSparse - - 1 1 1 TVector 2 3 3 3 3 TVectorF - 2 2 2 3 TVectorD 2 2 2 2 3 ======================================================= 4.00/a : (Jan 25 2004) introduced new classes/inheritance scheme, TMatrix now inherits from TMatrixF TMatrixF::TMatrixFBase TMatrixFSym::TMatrixFBase TMatrixD::TMatrixDBase TMatrixDSym::TMatrixDBase 4.00/b : (May 12 2004) introduced TMatrixDSparse and added new element fNRowIndex to TMatrixFBase and TMatrixDBase TMatrixDSparse::TMatrixDBase 4.00/c : (May 27 2004) Used the TObject::fBits to store validity state for vectors and matrices git-svn-id: http://root.cern.ch/svn/root/trunk@9291 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 19:57:01 UTC |
3f2fe70 | Rene Brun | 22 June 2004, 18:47:17 UTC | From Philippe: TXmlBuffer.cxx: Update IncrementLevel and DecrementLevel to call their TBuffer counter-part. TStreamerInfo.h: Increase the class version to allow backward compatibility test (STL containers of pointer to a class not inheriting from TObject but with a ClassDef.) TXmlBuffer.cxx TStreamerInfo.cxx formatting updates rootcint.cxx TROOT.cxx Made sure that the version number of a STL continer's TClass is always the same as TStreamerInfo's class version. Fix a backward compatibility problem with STL containers of pointer to a class not inheriting from TObject but with a ClassDef. git-svn-id: http://root.cern.ch/svn/root/trunk@9290 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 18:47:17 UTC |
7c756f4 | Rene Brun | 22 June 2004, 18:11:00 UTC | From Philippe: Disable optimisation in case a class has consecutive data members of type char* git-svn-id: http://root.cern.ch/svn/root/trunk@9289 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 18:11:00 UTC |
45a837d | Rene Brun | 22 June 2004, 18:09:27 UTC | From Philippe TBuffer manages a stack of TStreamerInfo filled by IncrementLevel and DecrementLevel. git-svn-id: http://root.cern.ch/svn/root/trunk@9288 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 18:09:27 UTC |
91bf7fe | Rene Brun | 22 June 2004, 17:30:33 UTC | From Bertrand Bellenot: fix for a problem reported by Ed Oltman with subdirectory names finishing with a backslash git-svn-id: http://root.cern.ch/svn/root/trunk@9287 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 17:30:33 UTC |
ba447a9 | Fons Rademakers | 22 June 2004, 16:27:08 UTC | From Valeriy: - new method TGCompositeFrame::SetCleanup() added. If fCleanup flag is kTRUE Cleanup() method will be called in destructor. We recommend to apply SetCleanup() for every created TGCompositeFrame. That allows to deallocate all subframes recursively when a toplevel frame is deleted. But be aware that layout hints cannot be shared in that case! git-svn-id: http://root.cern.ch/svn/root/trunk@9286 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 16:27:08 UTC |
0c31139 | Rene Brun | 22 June 2004, 16:18:11 UTC | From Valeriy Onuchin: - allow to set draw option via TBrowser for browsing TGraph git-svn-id: http://root.cern.ch/svn/root/trunk@9285 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 16:18:11 UTC |
d740c11 | Fons Rademakers | 22 June 2004, 16:05:25 UTC | From Bertrand: fix focus change in case of tooltips. git-svn-id: http://root.cern.ch/svn/root/trunk@9284 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 16:05:25 UTC |
61bf982 | Rene Brun | 22 June 2004, 15:36:42 UTC | From Valeriy Onuchin: - this patch allows to set draw option while browsing TFiles/TTrees git-svn-id: http://root.cern.ch/svn/root/trunk@9283 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 15:36:42 UTC |
625106b | Fons Rademakers | 22 June 2004, 15:13:31 UTC | fix link procedure of qprandom now Quadp is not anymore in root-config lib list. git-svn-id: http://root.cern.ch/svn/root/trunk@9282 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 15:13:31 UTC |
b542c95 | Fons Rademakers | 22 June 2004, 14:55:34 UTC | use -pthread for linux (was already for freebsd). git-svn-id: http://root.cern.ch/svn/root/trunk@9281 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 14:55:34 UTC |
b738ae8 | Fons Rademakers | 22 June 2004, 14:25:39 UTC | don't ask status from all slaves, including bad ones which, of course, will cause the system to hang. Only ask status of Active slaves. git-svn-id: http://root.cern.ch/svn/root/trunk@9280 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 14:25:39 UTC |
f196fbb | Fons Rademakers | 22 June 2004, 14:23:57 UTC | don't link by default with libQuadp. git-svn-id: http://root.cern.ch/svn/root/trunk@9279 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 14:23:57 UTC |
444570a | Rene Brun | 22 June 2004, 13:50:32 UTC | Exclude ruby from the list of packages in the static version. git-svn-id: http://root.cern.ch/svn/root/trunk@9278 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 13:50:32 UTC |
4345dc7 | Fons Rademakers | 22 June 2004, 11:01:02 UTC | ignore the file globus_gsi_credential.c generated by configure. git-svn-id: http://root.cern.ch/svn/root/trunk@9277 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 11:01:02 UTC |
964a731 | Fons Rademakers | 22 June 2004, 08:39:45 UTC | don't check for fListOfSignals in case of class wide signals, which are in the list slist which is checked to exist. git-svn-id: http://root.cern.ch/svn/root/trunk@9276 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 08:39:45 UTC |
df769a9 | Rene Brun | 22 June 2004, 06:42:11 UTC | Implement function TChain::GetEntryWithIndex. The function in the base class TTree cannot work for TChain. git-svn-id: http://root.cern.ch/svn/root/trunk@9275 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 06:42:11 UTC |
2d68365 | Rene Brun | 22 June 2004, 06:18:57 UTC | Add more comments in the TTree::AddFriend functions. git-svn-id: http://root.cern.ch/svn/root/trunk@9274 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 06:18:57 UTC |
0a50510 | Wouter Verkerke | 22 June 2004, 05:09:51 UTC | o RooHashTable - Add switch to ctor to control hashing: by name or by pointer o RooLinkedList - Hash linked list elements both by name and by pointer git-svn-id: http://root.cern.ch/svn/root/trunk@9273 27541ba8-7e3a-0410-8455-c3a389f83636 | 22 June 2004, 05:09:51 UTC |
85aa693 | Rene Brun | 21 June 2004, 15:53:12 UTC | from Eddy Offermann: This update contains the following changes: 1) Added the classes TMatrixDSub_const and TMatrixDSub: These classes provide a reference to a sub part of a matrix . TMatrixDSub(a,1,3,1,3) = TMatrixDSub_const(b,5,7,8,10) (this copies a (2x2) matrix from b to a) TMatrixDSub(a,1,3,1,3) *=TMatrixDSub_const(b,5,7,8,10) (this multiplies a (2x2) matrix of a by b) 2) SetSub and GetSub have TMatrixD/FBase as one of the arguments, so a TMatrixDSym can fill a TMatrixDSym or TMatrixDSparse matrix . Also the otherway around a TMatrixDSparse can fill any other kind . This transfer between a dens and sparse matrix was orginally not foreseen, now it is ! 3) Functions of type void now return a reference tol "*this", for instance : void ResizeTo(Int_t nrows,Int_t ncols,Int_t nr_nonzeros=-1) became TMatrixDBase &ResizeTo(Int_t nrows,Int_t ncols,Int_t nr_nonzeros=-1) 4) Many assignments in the matrix view classes TMatrixD/FRow, TMatrixD/FColumn, TMatrixD/FDiag and TMatrixD/FFlat were too restrictive for instance void TMatrixDRow::operator=(const TMatrixDRow_const &mr) demanded that the underlying matrices were compatible instead of just the rows ! This has been changed ! 5) Made sure that everywhere, a call to Error goes together with a Invalidate() of the appropriate matrix. 6) Added test for TMatrixDSub in stressLinear.cxx git-svn-id: http://root.cern.ch/svn/root/trunk@9272 27541ba8-7e3a-0410-8455-c3a389f83636 | 21 June 2004, 15:53:12 UTC |
534fce8 | Rene Brun | 21 June 2004, 15:41:07 UTC | From Reiner.Rohlfs: I modified slightly the galaxy_image.C macro to define the margins on all sides. I think now the image looks better. git-svn-id: http://root.cern.ch/svn/root/trunk@9271 27541ba8-7e3a-0410-8455-c3a389f83636 | 21 June 2004, 15:41:07 UTC |
3a1b2b0 | Fons Rademakers | 21 June 2004, 12:42:07 UTC | From Ilka: gui/inc/TGColorDialog.h - correction of signature of ColorSelected() signal gui/src/TGColorDialog.cxx - set the ROOT colors from index 10 to 58 as pallette colors gui/src/TGColorSelect.cxx - setup the first 10 ROOT colors in TG16CColorSelector + complete the rest with other ROOT colors (proposed by Bertrand). git-svn-id: http://root.cern.ch/svn/root/trunk@9270 27541ba8-7e3a-0410-8455-c3a389f83636 | 21 June 2004, 12:42:07 UTC |
4b48805 | Rene Brun | 21 June 2004, 10:47:20 UTC | In TCanvas::SavePrimitive and SaveSource, do not save the editor status. git-svn-id: http://root.cern.ch/svn/root/trunk@9269 27541ba8-7e3a-0410-8455-c3a389f83636 | 21 June 2004, 10:47:20 UTC |
329d5cb | Fons Rademakers | 21 June 2004, 09:49:28 UTC | on linux and fbsd use -pthread option for compiling and linking instead of -D_REENTRANT and -lpthread. git-svn-id: http://root.cern.ch/svn/root/trunk@9268 27541ba8-7e3a-0410-8455-c3a389f83636 | 21 June 2004, 09:49:28 UTC |
98a5846 | Rene Brun | 21 June 2004, 06:05:05 UTC | Add more comments in TSelectorDraw::TakeEstimate and fix a memory leak in case of T.Draw("y:x") git-svn-id: http://root.cern.ch/svn/root/trunk@9267 27541ba8-7e3a-0410-8455-c3a389f83636 | 21 June 2004, 06:05:05 UTC |
d89e6dd | Rene Brun | 20 June 2004, 14:46:47 UTC | Add -lpthread to SYSLIBS. This is required when linking libPyROOT.so and --disable-shared has been specified. git-svn-id: http://root.cern.ch/svn/root/trunk@9266 27541ba8-7e3a-0410-8455-c3a389f83636 | 20 June 2004, 14:46:47 UTC |
75d2f94 | Rene Brun | 19 June 2004, 15:57:22 UTC | Remove function TH1::SmoothMedian and replace it by TMath::MedianSorted git-svn-id: http://root.cern.ch/svn/root/trunk@9265 27541ba8-7e3a-0410-8455-c3a389f83636 | 19 June 2004, 15:57:22 UTC |
0c088d7 | Rene Brun | 19 June 2004, 15:47:19 UTC | Remove the local protected function TGraphAsymmErrors::Betacf and replace it by calls to the new function TMath::BetaCf. git-svn-id: http://root.cern.ch/svn/root/trunk@9264 27541ba8-7e3a-0410-8455-c3a389f83636 | 19 June 2004, 15:47:19 UTC |
6acac55 | Rene Brun | 19 June 2004, 14:02:19 UTC | New tutorial illustrating some of the new functions in TMath. git-svn-id: http://root.cern.ch/svn/root/trunk@9263 27541ba8-7e3a-0410-8455-c3a389f83636 | 19 June 2004, 14:02:19 UTC |
24fa736 | Rene Brun | 19 June 2004, 13:38:56 UTC | Add new functions to TMath: //Mean, Median, RMS static Double_t Mean(Int_t n, const Short_t *a); static Double_t Mean(Int_t n, const Int_t *a); static Double_t Mean(Int_t n, const Float_t *a); static Double_t Mean(Int_t n, const Double_t *a); static Double_t Mean(Int_t n, const Long_t *a); static Double_t Mean(Int_t n, const Long64_t *a); static Short_t Median(Int_t n, const Short_t *a); static Int_t Median(Int_t n, const Int_t *a); static Float_t Median(Int_t n, const Float_t *a); static Double_t Median(Int_t n, const Double_t *a); static Long_t Median(Int_t n, const Long_t *a); static Long64_t Median(Int_t n, const Long64_t *a); static Double_t MedianSorted(Int_t n, Double_t *a); static Double_t RMS(Int_t n, const Short_t *a); static Double_t RMS(Int_t n, const Int_t *a); static Double_t RMS(Int_t n, const Float_t *a); static Double_t RMS(Int_t n, const Double_t *a); static Double_t RMS(Int_t n, const Long_t *a); static Double_t RMS(Int_t n, const Long64_t *a); // Statistics static Double_t Beta(Double_t p, Double_t q); static Double_t BetaCf(Double_t x, Double_t a, Double_t b); static Double_t BetaIncomplete(Double_t x, Double_t a, Double_t b); static Double_t BinomialI(Double_t p, Int_t n, Int_t k); static Double_t FDist(Double_t F, Double_t N, Double_t M); static Double_t FDistI(Double_t F, Double_t N, Double_t M); static Double_t Student(Double_t T, Double_t ndf); static Double_t StudentI(Double_t T, Double_t ndf); git-svn-id: http://root.cern.ch/svn/root/trunk@9262 27541ba8-7e3a-0410-8455-c3a389f83636 | 19 June 2004, 13:38:56 UTC |
fc26761 | Rene Brun | 19 June 2004, 09:18:07 UTC | Reintroduce optimisation in TSelectorDraw::TakeEstimate when drawing a scatter-plot and the output into a user histogram has been requested. In this case, one must DrawCopy the histogram before filling it and before drawing the TGraph. git-svn-id: http://root.cern.ch/svn/root/trunk@9261 27541ba8-7e3a-0410-8455-c3a389f83636 | 19 June 2004, 09:18:07 UTC |
1e08c2b | Rene Brun | 18 June 2004, 22:26:53 UTC | Remove debug print statements git-svn-id: http://root.cern.ch/svn/root/trunk@9260 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 22:26:53 UTC |
c579442 | Rene Brun | 18 June 2004, 22:13:35 UTC | #include "snprintf.h" was also missing in this file git-svn-id: http://root.cern.ch/svn/root/trunk@9259 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 22:13:35 UTC |
0634097 | Rene Brun | 18 June 2004, 22:10:13 UTC | Add missing #include "snprintf.h" The file did not compile on Windows (and may be other systems) git-svn-id: http://root.cern.ch/svn/root/trunk@9258 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 22:10:13 UTC |
12280c9 | Rene Brun | 18 June 2004, 21:46:02 UTC | This new class was forgotten in the previous check-in git-svn-id: http://root.cern.ch/svn/root/trunk@9257 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 21:46:02 UTC |
8eda753 | Rene Brun | 18 June 2004, 21:13:05 UTC | One of the coefficients in TMath::BesselK0 was wrong (7.4e-5 instead of 7.4e-6) git-svn-id: http://root.cern.ch/svn/root/trunk@9256 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 21:13:05 UTC |
72f6f64 | Rene Brun | 18 June 2004, 15:55:00 UTC | From Ilka: - new classes: TGedElement - service class for registering the available attribute editors and the canvas they are related to; TGedFrame - base class of attribute editors TGedNameFrame - in use to show the selected object name TAttFillEditor - attribute editor related to the TAttFill class TAttLineEditor - attribute editor related to the TAttLine class TAttMarkerEditor - attribute editor related to the TAttMarker class TAttTextEditor - attribute editor related to the TAttText class TAxisEditor - attribute editor related to the TAxis class - removed classes: TGedAttFrame TGedAttNameFrame TGedAttFillFrame TGedAttLineFrame TGedAttTextFrame TGedAttMarkerFrame TGedAttAxisFrame TGedAttAxisTitle TGedAttAxisLabel TGedPropertyFrame git-svn-id: http://root.cern.ch/svn/root/trunk@9255 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 15:55:00 UTC |
91a0800 | Rene Brun | 18 June 2004, 15:50:43 UTC | From Ilka: - TGedEditor class is changed completely to allow the freedom of loading any available attribute editor. There is a name convention to follow for this purpose: the name of the attribute editor is the class name + 'Editor', (i.e. the attribute editor of TAxis should be called TAxisEditor) git-svn-id: http://root.cern.ch/svn/root/trunk@9254 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 15:50:43 UTC |
1a85659 | Rene Brun | 18 June 2004, 15:49:37 UTC | From Ilka: - new interface method DeleteEditors() git-svn-id: http://root.cern.ch/svn/root/trunk@9253 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 15:49:37 UTC |
5c66dd1 | Rene Brun | 18 June 2004, 15:48:42 UTC | From Ilka: - call fEditor->DeleteEditors() to clean up all attribute editors connected to the canvas before to delete the real canvas (TCanvas) git-svn-id: http://root.cern.ch/svn/root/trunk@9252 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 15:48:42 UTC |
75e2356 | Rene Brun | 18 June 2004, 15:48:13 UTC | From Ilka: - correction in the argument type of Selected() method - first agrument was changed to TPad in February but it should be TVirtualPad (as by origin) git-svn-id: http://root.cern.ch/svn/root/trunk@9251 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 15:48:13 UTC |
3398866 | Rene Brun | 18 June 2004, 15:47:34 UTC | From Ilka: - added a new data member and its getter: TList *fClassEditors; //list of class editors TList *GetEditorList() git-svn-id: http://root.cern.ch/svn/root/trunk@9250 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 15:47:34 UTC |
7929da6 | Fons Rademakers | 18 June 2004, 13:57:49 UTC | make HandleContainer methods protected and virtual. git-svn-id: http://root.cern.ch/svn/root/trunk@9249 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 13:57:49 UTC |
d57b649 | Fons Rademakers | 18 June 2004, 13:46:52 UTC | when --enable-ruby is selected also force explicitlink option. git-svn-id: http://root.cern.ch/svn/root/trunk@9248 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 13:46:52 UTC |
101403d | Rene Brun | 18 June 2004, 11:55:05 UTC | From Valeriy Onuchin: - http://root.cern.ch/phpBB2/viewtopic.php?p=2911#2911 reported that AddInput(kKeyPressMask | kKeyReleaseMask ...) doesn't work under win32gdk. Here is the fix. git-svn-id: http://root.cern.ch/svn/root/trunk@9247 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 11:55:05 UTC |
7ac1ce9 | Fons Rademakers | 18 June 2004, 11:05:47 UTC | TString::Form(), less agressive in initial space allocation. git-svn-id: http://root.cern.ch/svn/root/trunk@9246 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 11:05:47 UTC |
133c93b | Rene Brun | 18 June 2004, 10:46:58 UTC | Optimize the computation of the range along Y in case of log scales git-svn-id: http://root.cern.ch/svn/root/trunk@9245 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 10:46:58 UTC |
179c1a0 | Rene Brun | 18 June 2004, 10:28:29 UTC | Optimize the computaion of the range in Y in case of log scales. git-svn-id: http://root.cern.ch/svn/root/trunk@9244 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 10:28:29 UTC |
2ad4c59 | Rene Brun | 18 June 2004, 10:20:59 UTC | From Valeriy Onuchin: - these mods allows to have the same key bindings for different frames. git-svn-id: http://root.cern.ch/svn/root/trunk@9243 27541ba8-7e3a-0410-8455-c3a389f83636 | 18 June 2004, 10:20:59 UTC |
b286349 | Wouter Verkerke | 17 June 2004, 22:45:44 UTC | o RooAbsArg - Prevent loop recursion in setOperMode() git-svn-id: http://root.cern.ch/svn/root/trunk@9242 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 22:45:44 UTC |
883972b | Rene Brun | 17 June 2004, 21:12:26 UTC | From Wim Lavrijsen: * Prevent crash when CINT dictionary is missing for a class by creating a dummy python class. If this dummy class is used, a python exception will occur which can be handled as the user sees fit * Remove pre-loading of ROOT libs in ROOT.py as loading is now automatic * Add globals to be exported on "from ROOT import *" git-svn-id: http://root.cern.ch/svn/root/trunk@9241 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 21:12:26 UTC |
4a934f2 | Rene Brun | 17 June 2004, 20:00:05 UTC | Fix a compilation error on alpha/cxx. Never use std::endl (simply endl) git-svn-id: http://root.cern.ch/svn/root/trunk@9240 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 20:00:05 UTC |
a17176f | Rene Brun | 17 June 2004, 19:57:16 UTC | Fix a compilation error on alpha/cxx git-svn-id: http://root.cern.ch/svn/root/trunk@9239 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 19:57:16 UTC |
934f647 | Rene Brun | 17 June 2004, 17:37:10 UTC | From Philippe: In preparation for the new TTreeProxy class, this updates separates the code for the TFormLeafInfo from TTreeFormula.cxx into TFormLeafInfo.h and TFormLeafInfo.cxx git-svn-id: http://root.cern.ch/svn/root/trunk@9238 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 17:37:10 UTC |
7433653 | Rene Brun | 17 June 2004, 17:32:33 UTC | From Philippe: There was a problem for STL container pointer to an object of a class that has a ClassDef but did not inherit from TObject. This patch fixes the problem. git-svn-id: http://root.cern.ch/svn/root/trunk@9237 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 17:32:33 UTC |
ba04276 | Rene Brun | 17 June 2004, 17:31:00 UTC | In TDirectory::WriteTObject and WriteObjectAny, fix a problem when writing an object to a subdirectory and options "OverWrite" or "WriteDelete" are specified. Note that when these functions are called, the current directory "gDirectory" is not necessarily this directory. git-svn-id: http://root.cern.ch/svn/root/trunk@9236 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 17:31:00 UTC |
73172b7 | Rene Brun | 17 June 2004, 15:33:49 UTC | Add function SetNdivisions git-svn-id: http://root.cern.ch/svn/root/trunk@9235 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 15:33:49 UTC |
e396532 | Fons Rademakers | 17 June 2004, 14:47:29 UTC | if defined pass on to CINT WIN32 and GDK_WIN32 flags. This fixes problem of wrong TInterpreter inheritance. git-svn-id: http://root.cern.ch/svn/root/trunk@9234 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 14:47:29 UTC |
a6b10e1 | Fons Rademakers | 17 June 2004, 10:54:50 UTC | use ROOT convention of R__ to make a common entry point ROOT specific. git-svn-id: http://root.cern.ch/svn/root/trunk@9233 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 10:54:50 UTC |
83ebb22 | Fons Rademakers | 17 June 2004, 10:54:05 UTC | From Valeriy: - revert changes in� TGClient::WaitFor method (I appologize) - add check "gROOT->IsLineProcessing() && !gVirtualX->IsCmdThread()" to TWinNTSystem::DispatchOneEvent that prevents deadlock occured when gClient->WaitFor method is called (directly or indirectly) from interpreted code. git-svn-id: http://root.cern.ch/svn/root/trunk@9232 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 10:54:05 UTC |
34d9c21 | Rene Brun | 17 June 2004, 09:51:57 UTC | I checked in by mistake a private version. Now reverting to the good version. git-svn-id: http://root.cern.ch/svn/root/trunk@9231 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 09:51:57 UTC |
0bcd178 | Rene Brun | 17 June 2004, 09:20:19 UTC | From Helmut Gerhard SCHMUECKER Speed improvement in TEventList::Enter git-svn-id: http://root.cern.ch/svn/root/trunk@9230 27541ba8-7e3a-0410-8455-c3a389f83636 | 17 June 2004, 09:20:19 UTC |
1b60b08 | Rene Brun | 16 June 2004, 20:23:52 UTC | Rename function z_errmsg to z_ROOT_errmsg to avoid a conflict on MacOS with other packages also using gzip (geant4 or ROOT freetype) git-svn-id: http://root.cern.ch/svn/root/trunk@9229 27541ba8-7e3a-0410-8455-c3a389f83636 | 16 June 2004, 20:23:52 UTC |