2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 TEveGeoShape* geom_gentle(Bool_t register_as_global=kTRUE)
12 TFile f("$ALICE_ROOT/EVE/alice-data/gentle_geo.root");
13 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
14 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
17 if (register_as_global)
19 gEve->AddGlobalElement(gsre);
25 TEveGeoShape* geom_gentle_rphi()
27 // The resulting geometry is NOT added into the global scene!
29 TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rphi_geo.root");
30 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
31 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
37 TEveGeoShape* geom_gentle_rhoz()
39 // The resulting geometry is NOT added into the global scene!
41 TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rhoz_geo.root");
42 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
43 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);