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 **************************************************************************/
14 static const TEveException eH("geom_vzero() ");
16 gGeoManager = gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
18 TEveElementList* list = new TEveElementList("VZero");
19 gEve->AddGlobalElement(list);
24 TGeoNode* mnode = gGeoManager->GetTopVolume()->FindNode("VZERO_1");
26 Error(eH, "mother node not found.");
30 node = mnode->GetVolume()->FindNode("V0RI_1");
31 printf("opofoih %p\n", node);
33 Error(eH, "V0R not found.");
36 re = new TEveGeoTopNode(gGeoManager, node);
38 gEve->AddGlobalElement(re, list);
40 node = mnode->GetVolume()->FindNode("V0LE_1");
42 Error(eH, "V0L not found.");
45 re = new TEveGeoTopNode(gGeoManager, node);
47 gEve->AddGlobalElement(re, list);