- Nov 24, 2005
-
-
Rene Brun authored
Documentation coming git-svn-id: http://root.cern.ch/svn/root/trunk@13343 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
Fix in TGLabel::DoRedraw() method - disabled labels were drawn with default font in spite of different font structure in use (set in the constructor or by the method TGLabel::SetTextFont). In addition, this patch fixes the reported case on Forum at: http://root.cern.ch/phpBB2/viewtopic.php?t=2742 git-svn-id: http://root.cern.ch/svn/root/trunk@13342 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
on systems where PROOF is not activated. git-svn-id: http://root.cern.ch/svn/root/trunk@13341 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13340 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13339 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Fix so camera/clip not reset after external pad update - issue reported here: http://root.cern.ch/phpBB2/viewtopic.php?t=2779 We now setup only after first full internal scene rebuild of the viewer. git-svn-id: http://root.cern.ch/svn/root/trunk@13338 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
gendict.py: fixed generated code for ROOT coding conventions test: added tests for iterators git-svn-id: http://root.cern.ch/svn/root/trunk@13337 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13336 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
add comments to a few functions. git-svn-id: http://root.cern.ch/svn/root/trunk@13335 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
After previous fix some lines of code were useless. git-svn-id: http://root.cern.ch/svn/root/trunk@13334 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13333 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
class containing a complex sub-object (discovered by Sue Kasahara). git-svn-id: http://root.cern.ch/svn/root/trunk@13332 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Nov 23, 2005
-
-
Fons Rademakers authored
- log level change is now reflected in the session status tab. - removed par files option query from edit tab and edit dialog. - the button in the edit tab is "Apply changes" when not connected and "Submit" when connected. Automatically switch to "Status" tab when user clicks on "Submit". - add total processed data to status tab. git-svn-id: http://root.cern.ch/svn/root/trunk@13331 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
The following example produced a wrong output: { hpx1 = new TH1F("hpx1","hpx1",100,-4,4); hpx2 = new TH1F("hpx2","hpx2",100,-4,4); Float_t px, py; for (Int_t i = 0; i < 25000; i++) { gRandom->Rannor(px,py); hpx1->Fill(px); hpx2->Fill(px); hpx2->Fill(py); } hpx1->SetFillColor(2); hpx1->SetFillStyle(3004); hpx1->Draw("LF2"); hpx2->SetFillColor(1); hpx2->SetFillStyle(3005); hpx2->Draw("LF2 same"); } The black histogram was not completly hatched. git-svn-id: http://root.cern.ch/svn/root/trunk@13330 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13329 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13328 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Fix to the previous fix for win32gcc: -mtune is new for 3.3. So we'll have to wait until nobody is using 3.2 anymore. But then -mtune is really nice, optimizing things to be run on pentium, without requiring a pentium. git-svn-id: http://root.cern.ch/svn/root/trunk@13327 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
- Fixes to enable swithing between supported/non-supported types of plots in gl-hist-painter. git-svn-id: http://root.cern.ch/svn/root/trunk@13326 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13325 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
this patch solves the issue with win32gcc freezing the computer. git-svn-id: http://root.cern.ch/svn/root/trunk@13324 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
a fix in TGeoPgon::ComputeNormal(). Due to mistyping, the normal on planes parallel to Z could be flipped. git-svn-id: http://root.cern.ch/svn/root/trunk@13323 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13322 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
More code convention violation fixes for missed TGLEditor.cxx/h. git-svn-id: http://root.cern.ch/svn/root/trunk@13321 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
In case of log scale on a Y axis with a positive maximum value and a minimum value less or equal to 0, a new minimum is computed as a percentage of the maximum. This rule is fine but may brings back visible some bins which are out of range in linear mode. A new test has been added to prevent that. This problem is visible since revision 1.197. Previously the test modified in that revision was able to filter such wrong cases. git-svn-id: http://root.cern.ch/svn/root/trunk@13320 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
in case of functions drawn in several pads. git-svn-id: http://root.cern.ch/svn/root/trunk@13319 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
ROOT 3.10 or older with object containing C style arrays of basic types. The issue was the handling of the value of fSize for TStreamerBasicType(s). fSize's value and its use was inconsistent until ROOT 4. It now properly always contains the full size of the element. To support older files we need to adjust the value of fSize appropriately. git-svn-id: http://root.cern.ch/svn/root/trunk@13318 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Nov 22, 2005
-
-
Philippe Canal authored
Fix white spaces, add more comment to functions, add CVS tag lines and copyright. It should now work for array of objects and most stl classes. I put limitation for array size. If array with fixed size exceed limit (default 20), array will be converted to raw data, otherwise each element of array will be presented as single column. git-svn-id: http://root.cern.ch/svn/root/trunk@13317 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Second part of general tidy for coding conventions violations - mainly commenting. Code under my name should be clear now. git-svn-id: http://root.cern.ch/svn/root/trunk@13316 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
(when SetMoreLogLabels is true) was not computed the same way as the x-position of the decades labels. Therefore they where not aligned. git-svn-id: http://root.cern.ch/svn/root/trunk@13315 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13314 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Nov 21, 2005
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13313 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Introduce a "transparent" access to SQL data base via standard TFile interface. The main approach that each class (but not each object) has one or two tables with names like $(CLASSNAME)_ver$(VERSION) and $(CLASSNAME)_streamer_ver$(VERSION) For example: TAxis_ver8 or TList_streamer_ver5 Second kind of tables appears, when some of class members can not be converted to normalized form or when class has custom streamer. For instance, for TH1 class two tables are required: TH1_ver4 and TH1_streamer_ver4 Most of memebers are stored in TH1_ver4 table columnwise, and only memeber: Double_t* fBuffer; //[fBufferSize] can not be represented as column while size of array is not known apriory. Therefore, fBuffer will be written as list of values in TH1_streamer_ver4 table. All objects, stored in the DB, will be registered in table "ObjectsTable". In this there are following columns: "key:id" - key identifier to which belong object "obj:id" - object identifier "Class" - object class name "Version" - object class version Data in each "ObjectsTable" row uniqly identify, in which table and which column object is stored. In normal situation all class data should be sorted columnwise. Up to now following member are supported: 1) Basic data types Here is everything clear. Column SQL type will be as much as possible close to the original type of value. 2) Fixed array of basic data types In this case n columns like fArr[0], fArr[1] and so on will be created. If there is multidimensional array, names will be fArr2[1][2][1] and so on 3) Parent class In this case version of parent class is stored and data of parent class will be stored with the same obj:id in corrspondent table. There is a special case, when parent store nothing (this is for instance TQObject). In that case just -1 is written to avoid any extra checks if table exist or not. 4) Object as data member. In that case object is saved in normal way to data base and column will contain id of this object. 5) Pointer on object Same as before. In case if object was already stored, just its id will be placed in the column. For NULL pointer 0 is used. 6) TString Now column with limited width like VARCAHR(255) in MySQL is used. Later this will be improved to support maximum possible strings 7) Anything else. Data will be converted to raw format and saved in _streamer_ table. Each row supplied with obj:id and row:id, where row:id indicates data, corresponding to this particular data member, and column will contain this raw:id See the TSQLFile documentation for more details. example of a session saving data to a SQL data base ===================================================== const char* dbname = "mysql://host.domain:3306/dbname"; const char* username = "username"; const char* userpass = "userpass"; // Clean data base and create primary tables TSQLFile* f = new TSQLFile(dbname, "recreate", username, userpass); // Write with standard I/O functions arr->Write("arr",TObject::kSingleKey); h1->Write("histo"); // Close connection to DB delete f; example of a session read data from SQL data base ===================================================== // Open database again in read-only mode TSQLFile* f = new TSQLFile(dbname, "open", username, userpass); // Show list of keys f->ls(); // Read stored object, again standard ROOT I/O TH1* h1 = (TH1*) f->Get("histo"); if (h1!=0) { h1->SetDirectory(0); h1->Draw(); } TObject* obj = f->Get("arr"); if (obj!=0) obj->Print("*"); // close connection to DB delete f; Known problems and open questions. 1) TTree is not supported by TSQLFile. There is independent development of TTreeSQL, which allows to store trees directly in SQL database 2) TClonesArray is not tested, will be adjusted soon. 3) TDirectory cannot work. Hopefully, will (changes in ROOT basic I/O is required) 4) Streamer infos are not written to file, therefore schema evolution is not yet supported. All eforts are done to enable this feature in the near future git-svn-id: http://root.cern.ch/svn/root/trunk@13312 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Introduce a "transparent" access to SQL data base via standard TFile interface. The main approach that each class (but not each object) has one or two tables with names like $(CLASSNAME)_ver$(VERSION) and $(CLASSNAME)_streamer_ver$(VERSION) For example: TAxis_ver8 or TList_streamer_ver5 Second kind of tables appears, when some of class members can not be converted to normalized form or when class has custom streamer. For instance, for TH1 class two tables are required: TH1_ver4 and TH1_streamer_ver4 Most of memebers are stored in TH1_ver4 table columnwise, and only memeber: Double_t* fBuffer; //[fBufferSize] can not be represented as column while size of array is not known apriory. Therefore, fBuffer will be written as list of values in TH1_streamer_ver4 table. All objects, stored in the DB, will be registered in table "ObjectsTable". In this there are following columns: "key:id" - key identifier to which belong object "obj:id" - object identifier "Class" - object class name "Version" - object class version Data in each "ObjectsTable" row uniqly identify, in which table and which column object is stored. In normal situation all class data should be sorted columnwise. Up to now following member are supported: 1) Basic data types Here is everything clear. Column SQL type will be as much as possible close to the original type of value. 2) Fixed array of basic data types In this case n columns like fArr[0], fArr[1] and so on will be created. If there is multidimensional array, names will be fArr2[1][2][1] and so on 3) Parent class In this case version of parent class is stored and data of parent class will be stored with the same obj:id in corrspondent table. There is a special case, when parent store nothing (this is for instance TQObject). In that case just -1 is written to avoid any extra checks if table exist or not. 4) Object as data member. In that case object is saved in normal way to data base and column will contain id of this object. 5) Pointer on object Same as before. In case if object was already stored, just its id will be placed in the column. For NULL pointer 0 is used. 6) TString Now column with limited width like VARCAHR(255) in MySQL is used. Later this will be improved to support maximum possible strings 7) Anything else. Data will be converted to raw format and saved in _streamer_ table. Each row supplied with obj:id and row:id, where row:id indicates data, corresponding to this particular data member, and column will contain this raw:id See the TSQLFile documentation for more details. example of a session saving data to a SQL data base ===================================================== const char* dbname = "mysql://host.domain:3306/dbname"; const char* username = "username"; const char* userpass = "userpass"; // Clean data base and create primary tables TSQLFile* f = new TSQLFile(dbname, "recreate", username, userpass); // Write with standard I/O functions arr->Write("arr",TObject::kSingleKey); h1->Write("histo"); // Close connection to DB delete f; example of a session read data from SQL data base ===================================================== // Open database again in read-only mode TSQLFile* f = new TSQLFile(dbname, "open", username, userpass); // Show list of keys f->ls(); // Read stored object, again standard ROOT I/O TH1* h1 = (TH1*) f->Get("histo"); if (h1!=0) { h1->SetDirectory(0); h1->Draw(); } TObject* obj = f->Get("arr"); if (obj!=0) obj->Print("*"); // close connection to DB delete f; Known problems and open questions. 1) TTree is not supported by TSQLFile. There is independent development of TTreeSQL, which allows to store trees directly in SQL database 2) TClonesArray is not tested, will be adjusted soon. 3) TDirectory cannot work. Hopefully, will (changes in ROOT basic I/O is required) 4) Streamer infos are not written to file, therefore schema evolution is not yet supported. All eforts are done to enable this feature in the near future git-svn-id: http://root.cern.ch/svn/root/trunk@13311 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13310 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
* added new header file NewDelFunctions.h in Build section * CollectionProxy.h: Fixed problem compiling hash_multimap stuff with git-svn-id: http://root.cern.ch/svn/root/trunk@13309 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
* Fixed new and delete of arrays. Makes use of the extra (artificial) function __getNewDelFunctions() * Fixed free functions in namespaces when loding the dictionary before enabling Cintex git-svn-id: http://root.cern.ch/svn/root/trunk@13308 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13307 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
allow the TH2Editor editor to be activated for empty histograms (check for a histogram name 'htemp', not for the number of entries = 0, as a condition to avoid empry histograms used for ntuple drawings). git-svn-id: http://root.cern.ch/svn/root/trunk@13306 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
Bugfix ScopeBase::ScopeTypeAsString: return also valid values for Enums and Unions git-svn-id: http://root.cern.ch/svn/root/trunk@13305 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13304 27541ba8-7e3a-0410-8455-c3a389f83636
-