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>
17 #include <AliEveEventManager.h>
22 static const TEveException kEH("geom_vzero() ");
24 AliEveEventManager::AssertGeometry();
26 TEveElementList* list = new TEveElementList("VZero");
27 gEve->AddGlobalElement(list);
32 TGeoNode* mnode = gGeoManager->GetTopVolume()->FindNode("VZERO_1");
34 Error(kEH, "mother node not found.");
38 node = mnode->GetVolume()->FindNode("V0RI_1");
39 printf("opofoih %p\n", node);
41 Error(kEH, "V0R not found.");
44 re = new TEveGeoTopNode(gGeoManager, node);
46 gEve->AddGlobalElement(re, list);
48 node = mnode->GetVolume()->FindNode("V0LE_1");
50 Error(kEH, "V0L not found.");
53 re = new TEveGeoTopNode(gGeoManager, node);
55 gEve->AddGlobalElement(re, list);