Re:

From: Christian Holm Christensen <cholm_at_nbi.dk>
Date: Thu, 28 Sep 2006 11:12:02 +0200


Hi Marco,

On Thu, 2006-09-28 at 09:21 +0200, Marco Di Stefano wrote:
> hello
> I'm Marco,I,m a physic degree student.
> I'm searching to reproduce the image found in the root manual on page 329,
> i.e. a grafical section of Alice detector.
> please can you help me??

Download, build, and install AliROOT (see http://aliceinfo.cern.ch/offline/). Then make the geomtry by running

        Root> gAlice->Init();
        

Alternatively, you can get a ROOT file with the geometry in it from one of your colleagues, and import it into ROOT by doing

        Root> TGeoManager::Import("geomtry.root");

You can then display the geometry in a canvas by doing

        Root> gGeoManager->GetTopVolume()->Draw();

To get a rendered, 3D OpenGL view (making sure your graphics card is accelerated and your graphics driver supports it), do

    Root> gPad->GetViewer3D("ogl");

Note, that you probably want to turn off some volumes so that the rendering won't take forever.

Yours,

-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm_at_nbi.dk               Web:    www.nbi.dk/~cholm
 | |
Received on Thu Sep 28 2006 - 11:12:35 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET