Logo ROOT  
Reference Guide
Geometry tutorials

Various ROOT geometry package examples.

Files

file  assembly.C
 Geometry detector assembly example.
 
file  building.C
 Drawing a building where Dept.
 
file  cheongwadae.C
 Drawing the Cheongwadae building which is the Presidential Residence of the Republic of Korea, using ROOT geometry class.
 
file  csgdemo.C
 Combinatorial Solid Geometry example.
 
file  geodemo.C
 GUI to draw the geometry shapes.
 
file  geomAlice.C
 Script drawing a detector geometry (here ALICE).
 
file  geomAlice_itsv.C
 Script drawing a detector geometry (here ITSV from Alice).
 
file  geomAtlas.C
 Script drawing a detector geometry (here ATLAS).
 
file  geomBrahms.C
 Script drawing a detector geometry (here BRAHMS).
 
file  geomD0.C
 Script drawing a detector geometry (here D0).
 
file  geometry.C
 Example of the old geometry package (now obsolete)
 
file  lego.C
 Drawing a figure, made of lego block, using ROOT geometry class.
 
file  mp3player.C
 Drawing a mp3 type music player, using ROOT geometry class.
 
file  na49.C
 This file has been generated automatically via the root utility toroot from an interactive version of GEANT (see ROOT class TGeometry header for an example of use) This shows an example of the old geometry package (now obsolete)
 
file  na49geomfile.C
 Before executing this macro, the file makegeometry.C must have been executed.
 
file  na49view.C
 This macro generates with 2 views of the NA49 detector using the old obsolete geometry package.
 
file  parallel_world.C
 Misaligning geometry generate in many cases overlaps, due to the idealization of the design and the fact that in real life movements of the geometry volumes have constraints and are correlated.
 
file  RadioNuclides.C
 Macro that demonstrates usage of radioactive elements/materials/mixtures with TGeo package.
 
file  robot.C
 Drawing a famous Korean robot, TaekwonV, using ROOT geometry class.
 
file  rootgeom.C
 Definition of a simple geometry (the 4 ROOT characters)
 
file  runplugin.C
 Creates and runs a simple iterator plugin connected to TGeoPainter iterator.
 
file  shapes.C
 The old geometry shapes (see script geodemo.C)
 
file  shapesAnim.C
 Macro illustrating how to animate a geometry picture using a Timer.
 
file  south_gate.C
 Drawing a famous Korean gate, the South gate, called Namdeamoon in Korean, using ROOT geometry class.
 
file  station1.C
 Drawing a space station, using ROOT geometry class.
 
file  station2.C
 Drawing a space station (version 2), using ROOT geometry class.
 
file  tank.C
 Drawing a fine tank, using ROOT geometry class.
 
file  testoptical.C
 Tests importing/exporting optical surfaces from GDML.
 
file  webdemo.C
 Web-based GUI to draw the geometry shapes.
 
file  xtruDraw.C
 Draw a "representative" TXTRU shape.
 
file  xtruSamples.C
 Draw a sample of TXTRU shapes some convex, concave (and possibly malformed)