]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/alice-macros/geom_gentle.C
made functional track style (almost finished)
[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{
81515106 12 TFile f("$ALICE_ROOT/EVE/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}
5e078eda 20
21TEveGeoShape* geom_gentle_rphi()
22{
23 // The resulting geometry is NOT added into the global scene!
24
25 TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rphi_geo.root");
26 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
27 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
28 f.Close();
29
30 return gsre;
31}
32
33TEveGeoShape* geom_gentle_rhoz()
34{
35 // The resulting geometry is NOT added into the global scene!
36
37 TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rhoz_geo.root");
38 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
39 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
40 f.Close();
41
42 return gsre;
43}