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 #if !defined(__CINT__) || defined(__MAKECINT__)
11 #include <TGeoManager.h>
13 #include <TEveManager.h>
14 #include <TEveElement.h>
15 #include <TEveGeoNode.h>
20 static const TEveException kEH("geom_vzero() ");
22 gGeoManager = gEve->GetDefaultGeometry();
24 TEveElementList* list = new TEveElementList("VZero");
25 gEve->AddGlobalElement(list);
30 TGeoNode* mnode = gGeoManager->GetTopVolume()->FindNode("VZERO_1");
32 Error(kEH, "mother node not found.");
36 node = mnode->GetVolume()->FindNode("V0RI_1");
37 printf("opofoih %p\n", node);
39 Error(kEH, "V0R not found.");
42 re = new TEveGeoTopNode(gGeoManager, node);
44 gEve->AddGlobalElement(re, list);
46 node = mnode->GetVolume()->FindNode("V0LE_1");
48 Error(kEH, "V0L not found.");
51 re = new TEveGeoTopNode(gGeoManager, node);
53 gEve->AddGlobalElement(re, list);