- Jun 13, 2006
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15415 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
handle it correctly yet. git-svn-id: http://root.cern.ch/svn/root/trunk@15414 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15413 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15412 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
Add README, add CVS id lines. git-svn-id: http://root.cern.ch/svn/root/trunk@15411 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15410 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15409 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15408 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15407 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
TGLPadHistpainter/TGLAxisPainter/TGLLegoPainter - new hist-painter infrastructure. First version of TGLLegoPainter, the new class to support different types of legos: gl + lego(1)/lego2 + pol/cyl/sph gl + lego3 TGLUtil : Small auxilary classes. IMPORTANT: this lego painter is still experimantal and works only if it's enabled in system.rootrc. By default, TGLHistPainter is used now. To enable this new system the line: Plugin.TGLHistPainter: * TGLHistPainter RGL "TGLHistPainter(TH1*)" Must be replaced with Plugin.TGLHistPainter: * TGLPadHistPainter RGL "TGLPadHistPainter(TH1*)" in $ROOTSYS/etc/system.rootrc git-svn-id: http://root.cern.ch/svn/root/trunk@15406 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
New package to edit/create detector geometries 1. Using the geombuilder with a geometry from scratch: root[0] new TGeoManager("test", "test geometry builder"); root[1] gGeoManager->Edit(); In this case forcing TGeoManager::Edit() is mandatory because the geometry cannot be yet drawn in the pad. There are few steps to create a valid geometry: - create at least one material from the "Materials" shutter item category. Generally for creating objects, the interface is always in the TGeoManagerEditor in different categories - one should just provide a name and requested params. - create a shape for the top volume within the "Shapes" category. For the moment the shapes that have editors are: Box, Trd1, Trd2, Tube, Tube segment, Cone, Cone segment and Sphere. More to come... - create a medium from one of the existing materials from the "Medium" category. You will notice that some categories as: "Volume" and "Medium" are inactive at the beginning because at that time there is no material yet (for making a medium) and no shape (for making a volume). These categories are dynamically activated once all the required components are defined. - create a volume from the "Volumes" category. You will notice that contrary to the other editors, the volume editor is opened in a tab, not transient - this is because it is more complex. - go back to "General" category and select the newly created volume as the top one (you can do it also from the volume category) This is just to start. To create really some hierarchy, one has to create several other volumes and the matrices to position them. Once this is done, use the volume editor interface to: - add/remove daughters, change shape, edit position of daughters - change visualization settings - divide the volume (only if there are no daughters yet) The TGeoManagerEditor GUI allows: - editing the geometry name/title, setting top volume, closing the geometry, exporting the geometry as .root or .C file - creation of new elements (shapes, volumes, materials, media, matrices) - editing existing elements (they can be browsed from transient dialogs) IMPORTANT: To access the manager editor if this is not in the "Style" tab one can either: - left-click on the top-right corner of the pad if something is drawn - call gGeoManager->Edit() 2. Editing an existing geometry (probably you should start with this first) - Just load the geometry in memory: root[0] .x $ROOTSYS/tutorials/rootgeom.C - draw some volume (if not already) then do View/Editor, then click on the top-right corner to get the manager editor. Clicking a volume will open the volume editor in the Style tab, but here I could not get rid of the TAttFill editor that is useless for volumes. - work with existing TGeoManagerEditor categories as explained at 1. git-svn-id: http://root.cern.ch/svn/root/trunk@15405 27541ba8-7e3a-0410-8455-c3a389f83636
-
Ilka Antcheva authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15404 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15403 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
New method in TGeoPatternFinder to retrieve division axis - modifications in TGeoPainter to load automatically the plugin for geometry editors git-svn-id: http://root.cern.ch/svn/root/trunk@15402 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
- Added protection to not create a TClass instance if the Reflex scope is not fully defined. There was a problem with a scope of a typedef in the STL hashtable. - Fixes the problem of applying CintName() (basically removing std::) to the scope of enums - Fixes the problem of defining by mistake primitives as tagnames when defining typedefs git-svn-id: http://root.cern.ch/svn/root/trunk@15401 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15400 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
o) improved handling of batch, which now allows: >>> import ROOT >>> ROOT.gROOT.SetBatch( 1 ) >>> to work as expected o) allow direct access to overloads with call "disp" on methods git-svn-id: http://root.cern.ch/svn/root/trunk@15399 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 12, 2006
-
-
Rene Brun authored
Add new directory containing all the python scripts necessary to import or export a TGeo geometry from /to a gdml file git-svn-id: http://root.cern.ch/svn/root/trunk@15398 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15397 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
void TTreeFilePrefetch::SetThreshold(Double_t t) // Static function to set fgThreshold // A new basket will not be registered in the cache if // the current (Tree entry < fEntryMin) > 100*fgThreshold // so t is more or less the percentage of baskets read to be considered in the cache // This algorithm eliminates branches where only a few baskets are processed git-svn-id: http://root.cern.ch/svn/root/trunk@15396 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 11, 2006
-
-
Rene Brun authored
1. Mixtures components can now also be other materials/mixtures: TGeoMixture::AddElement(TGeoMaterial *mat, Double_t weight); 2. When elements are added via TGeoMixture::AddElement(TGeoElement *elem,...), the list of elements is kept. 3. Some fixes related to visualization within TGeoPainter git-svn-id: http://root.cern.ch/svn/root/trunk@15395 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 09, 2006
-
-
Ilka Antcheva authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15394 27541ba8-7e3a-0410-8455-c3a389f83636
-
Ilka Antcheva authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15393 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15392 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15391 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15390 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
// When clicking in the browser, the following action is performed // on this macro, depending the content of the variable TMacro.Browse. // TMacro.Browse can be set in the system.rootrc or .rootrc file like // TMacro.Browse : Action // or set via gEnv->SetValue, eg // gEnv->SetValue("TMacro.Browse","Print"); // By default TMacro.Browse="" // -if TMacro.Browse ="" the macro is executed // -if TMacro.Browse ="Print" the macro is printed in stdout // -if TMacro.Browse is of the form "mymacro.C" // the macro void mymacro.C(TMacro *m) is called where m=this macro // An example of macro.C saving the macro into a file and viewing it // with emacs is shown below: // void mymacro(TMacro *m) { // m->SaveSource("xx.log"); // gSystem->Exec("emacs xx.log&"); // } A new option is planned in the very near future: possibility to see the macro in the new ROOT editor currently being implemented by Bertrand. git-svn-id: http://root.cern.ch/svn/root/trunk@15389 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
very old ROOT files (7 years old !) git-svn-id: http://root.cern.ch/svn/root/trunk@15388 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
number of blocks registered is reached. git-svn-id: http://root.cern.ch/svn/root/trunk@15387 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
via mod_root2, there is no other .zip handler. git-svn-id: http://root.cern.ch/svn/root/trunk@15386 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15385 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
ZIP archive files. Also changed the mod_root2.c plugin to be able to return the file size needed for finding the ZIP directory. ROOT zip files published via Apache need to have the extension .rzip since .zip is already handled by another handler. git-svn-id: http://root.cern.ch/svn/root/trunk@15384 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
can be included in if statements without requiring { }. git-svn-id: http://root.cern.ch/svn/root/trunk@15383 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 08, 2006
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15382 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15381 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15380 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15379 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15378 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15377 27541ba8-7e3a-0410-8455-c3a389f83636
-
Stefan Roiser authored
API member functions in Scope: Member LookupMember( const std::string & nam ) const; Type LookupType( const std::string & nam ) const; - Using directives adding the possibility to add/remove/use using directives API member functions in Scope: Scope UsingDirectiveAt( size_t nth ) const; size_t UsingDirectiveSize() const; Scope_Iterator UsingDirective_Begin() const; Scope_Iterator UsingDirective_End() const; Reverse_Scope_Iterator UsingDirective_RBegin() const; Reverse_Scope_Iterator UsingDirective_REnd() const; void AddUsingDirective( const Scope & ud ) const; void RemoveUsingDirective( const Scope & ud ) const; git-svn-id: http://root.cern.ch/svn/root/trunk@15376 27541ba8-7e3a-0410-8455-c3a389f83636
-