- Jan 20, 2006
-
-
Rene Brun authored
Several changes in the Module.mk to run rootcint with the option gccxml. git-svn-id: http://root.cern.ch/svn/root/trunk@13881 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
`void*obj' might be used uninitialized in this function at line 211 git-svn-id: http://root.cern.ch/svn/root/trunk@13880 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
- include more standard headers by default - change cpp selection name - exclude templated abstract classes (for the time being) - remove -DSYSV from the invocation to gccxml - remove trailing spaces before the semi colon in the Linkdef statements git-svn-id: http://root.cern.ch/svn/root/trunk@13879 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
- fix for checking of first level template parameters (in case of types containing parenthesis and colons e.g. a function pointer with more than one argument) git-svn-id: http://root.cern.ch/svn/root/trunk@13878 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
- Fixing a bug from the CINTEnumBuilder patch - functions returning objects 'by value' and throwing exceptions at the same time. The CINT structure was not properly cleaned and CINT was freeing objects that did not exist git-svn-id: http://root.cern.ch/svn/root/trunk@13877 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
-Fix a problem with a working space array not correctly preset in a loop in the TSpectrum::SearhHighres functions. git-svn-id: http://root.cern.ch/svn/root/trunk@13876 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Minor fix for the ray tracing algorithm. git-svn-id: http://root.cern.ch/svn/root/trunk@13875 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
-fix for the bug in TGeoHMatrix reported at: http://savannah.cern.ch/bugs/?func=detailitem&item_id=14579 -fix for the geometry checker in case of composites: now the checker will report overlaps between composite/non-composite. The only case not reported is composite/composite, where the checker will skip. git-svn-id: http://root.cern.ch/svn/root/trunk@13874 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13873 27541ba8-7e3a-0410-8455-c3a389f83636
-
Ilka Antcheva authored
- fixed SegV when running Spy.C and closing its window via the Window Manager; - re-implemented the old behavior of a TGListBox with SetMultipleSelections(kTRUE): it is possible again to select several items by selecting the first one and moving the mouse while the mouse button is still pressed (thanks to Reiner Rohlfs). git-svn-id: http://root.cern.ch/svn/root/trunk@13872 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
1. Better support of TClonesArray. Now TBufferXML all set bit, that member-wise streaming is not supported. Therefore, objects in TClonesArray are stored in XML file in "normal" form and you can see correctly them in xml. 2. Object conversion to/from XML Some times ago I get a request to convert object directly to XML form without file I/O. I implement four static methods in TBufferXML: static TString ConvertToXML(TObject* obj, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE); static TString ConvertToXML(void* obj, TClass* cl, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE); static TObject* ConvertFromXML(const char* str, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE); static void* ConvertFromXMLAny(const char* str, TClass** cl = 0, Bool_t GenericLayout = kFALSE, Bool_t UseNamespaces = kFALSE); They convert object to/from string with XML nodes. Simplest code is look like: TH1* h = new TH1I("name","title", 1000, 0, 1000); TString s = TBufferXML::ConvertToXML(h); cout << s << endl; TObject* obj = TBufferXML::ConvertFromXML(s); if (obj) obj->Draw(); 3. More information stored in XML file. I now store file creation/modification time, file UUID, file title, key title and creation time. I also put TXMLFile version into file itself to support old format of XML file for case of TClonesArray. 4. Preparation for custom streamers support I already put implementation of methods virtual void ClassBegin(const TClass*, Version_t = -1); virtual void ClassEnd(const TClass*); virtual void ClassMember(const char* name, const char* typeName = 0, Int_t arrsize1 = -1, Int_t arrsize2 = -1); into TBufferXML class to enable support for custom streamers. They work the same way as I did for TBufferSQL2 class, but to enable them, I need declaration of that functions in TBuffer class. For TBuffer these functions does not required any implementation. git-svn-id: http://root.cern.ch/svn/root/trunk@13871 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 19, 2006
-
-
Philippe Canal authored
import of CINT tag v5-16-7 from the CINT CVS. For what else is new see http://root.cern.ch/root/Cint.phtml?relnote. git-svn-id: http://root.cern.ch/svn/root/trunk@13870 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13869 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Fix a lookup problem when a TClonesArray is the top level object. git-svn-id: http://root.cern.ch/svn/root/trunk@13868 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
dictionaries. git-svn-id: http://root.cern.ch/svn/root/trunk@13867 27541ba8-7e3a-0410-8455-c3a389f83636
-
Ilka Antcheva authored
- Add documentation. - Add QT_VERSION 4 CPP flag (no test has been performed against Qt4 yet). - Remove the redundant code. - Add the enforcement of the Qt-ROOT layer for Qt-applications to eliminate the need to adjust ".rootrc" and eventually crash. If user started the Qt-application then Gui.Backend "native" must be treated as "qt". (thanks CMS feedback ) git-svn-id: http://root.cern.ch/svn/root/trunk@13866 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13865 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
- new TGeoNode::CheckOverlaps() allows checking overlaps for a whole geometry branch. - fix in the paint mechanism when raytracing for a problem mentioned by Ivana (when raytracing a volume without having a pad created it did not work) git-svn-id: http://root.cern.ch/svn/root/trunk@13864 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 18, 2006
-
-
Fons Rademakers authored
This fixes a problem appearing when running in stand alone without an instance of TApplication. git-svn-id: http://root.cern.ch/svn/root/trunk@13863 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13862 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Simplify code in the TParticle constructors by using the new function SetPdgCodeCVS: ---------------------------------------------------------------------- git-svn-id: http://root.cern.ch/svn/root/trunk@13861 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Further GL / LOD performance improvements: i) Shape can indicate LOD support by axis. For tubes TGLCylinder only X+ Y supported. Calc LOD hint based on larger projection of Z faces of bounding box, avoiding excessive LOD for long tubes. ii) Only test time limited draws every 50 objects to avoid excessive timing costs. git-svn-id: http://root.cern.ch/svn/root/trunk@13860 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
void SetPdgCode(Int_t pdg); //change the PDG code for this particle //Get a new pointer to a TParticlePDG from TDatabasePDG //Recompute the mass git-svn-id: http://root.cern.ch/svn/root/trunk@13859 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
-New member function Print -cleanup code in TSpectrum2 -optimize call to the Peak search functions in TSpectrum2 git-svn-id: http://root.cern.ch/svn/root/trunk@13858 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
// Example to illustrate the 2-d peak finder (class TSpectrum2). // This script generates a random number of 2-d gaussian peaks // The position of the peaks is found via TSpectrum2 // To execute this example, do // root > .x peaks2.C (generate up to 50 peaks by default) // root > .x peaks2.C(10) (generate up to 10 peaks) // root > .x peaks2.C+(200) (generate up to 200 peaks via ACLIC) // // The script will iterate generating a new histogram having // between 5 and the maximun number of peaks specified. // Double Click on the bottom right corner of the pad to go to a new spectrum // To Quit, select the "quit" item in the canvas "File" menu git-svn-id: http://root.cern.ch/svn/root/trunk@13857 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13856 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
- protection added in DrawBox git-svn-id: http://root.cern.ch/svn/root/trunk@13855 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
- fix memory leak in TASImage::DrawText method git-svn-id: http://root.cern.ch/svn/root/trunk@13854 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
directly the class data members. This prevent to use this method directly. git-svn-id: http://root.cern.ch/svn/root/trunk@13853 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
// // Example to fit two histograms at the same time via TVirtualFitter // // To execute this tutorial, you can do: // // root > .x fit2dHist.C (executing via CINT, slow) // or // root > .x fit2dHist.C+ (executing via ACLIC , fast, with Minuit) // root > .x fit2dHist.C+(2) (executing via ACLIC , fast, with Minuit2) // or using the option to fit independently the 2 histos // root > .x fit2dHist.C+(10) (via ACLIC, fast, independent fits with Minuit) // root > .x fit2dHist.C+(12) (via ACLIC, fast, independent fits with Minuit2) // // Note that you can also execute this script in batch with eg, // root -b -q "fit2dHist.C+(12)" // // or execute interactively from the shell // root fit2dHist.C+ // root "fit2dHist.C+(12)" // // Authors: Lorenzo Moneta, Rene Brun 18/01/2006 git-svn-id: http://root.cern.ch/svn/root/trunk@13852 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
This solution will work for reflex dictionaries generated with the cint parser, not for gccxml generated ones. To also make gccxml dictionaries work we can either remove this fix or try to adapt gccxml to also get macro values (if this is possible) git-svn-id: http://root.cern.ch/svn/root/trunk@13851 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13850 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13849 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 17, 2006
-
-
Rene Brun authored
- Remove the redundant APPLE CPP flag. git-svn-id: http://root.cern.ch/svn/root/trunk@13848 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13847 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
The program can be run with CINT or compiled. See instructions in the source git-svn-id: http://root.cern.ch/svn/root/trunk@13846 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
fix numerous memory leaks. git-svn-id: http://root.cern.ch/svn/root/trunk@13845 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Introduction of an upgraded and simplified version of TSpectrum. New class TSpectrum2 equivalent of TSpectrum for 2-d histograms git-svn-id: http://root.cern.ch/svn/root/trunk@13844 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13843 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Fix in THistpainter::PaintStat2. the NDF in the stats box was not always correct for 2-d functions. git-svn-id: http://root.cern.ch/svn/root/trunk@13842 27541ba8-7e3a-0410-8455-c3a389f83636
-