]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/alice-macros/geom_gentle.C
Merge changes from branches/dev/EVE. This branch was following development in ROOT...
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_gentle.C
CommitLineData
aa26cc37 1// $Id$
d810d0de 2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
aa26cc37 9
84aff7a4 10TEveGeoShape* geom_gentle()
aa26cc37 11{
12 TFile f("$REVESYS/alice-data/gentle_geo.root");
84aff7a4 13 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
a15e6d7d 14 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
15 gEve->AddGlobalElement(gsre);
aa26cc37 16 f.Close();
32e219c2 17
18 return gsre;
aa26cc37 19}