Removing obsolete macros which used the AliTPCtracker
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_t0.C
CommitLineData
41f8d66e 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 **************************************************************************/
41f8d66e 9
ba978640 10#if !defined(__CINT__) || defined(__MAKECINT__)
11#include <TGeoManager.h>
12#include <TGeoNode.h>
13#include <TEveManager.h>
14#include <TEveElement.h>
15#include <TEveGeoNode.h>
290113e6 16
17#include <AliEveEventManager.h>
ba978640 18#endif
19
41f8d66e 20void geom_t0()
21{
290113e6 22 AliEveEventManager::AssertGeometry();
41f8d66e 23
84aff7a4 24 TEveElementList* list = new TEveElementList("T0");
25 gEve->AddGlobalElement(list);
41f8d66e 26
27 TGeoNode* node;
84aff7a4 28 TEveGeoTopNode* re;
41f8d66e 29
30 node = gGeoManager->GetTopVolume()->FindNode("0STR_1");
84aff7a4 31 re = new TEveGeoTopNode(gGeoManager, node);
9a5c8f9c 32 re->UseNodeTrans();
84aff7a4 33 gEve->AddGlobalElement(re, list);
41f8d66e 34
35 node = gGeoManager->GetTopVolume()->FindNode("0STL_1");
84aff7a4 36 re = new TEveGeoTopNode(gGeoManager, node);
9a5c8f9c 37 re->UseNodeTrans();
84aff7a4 38 gEve->AddGlobalElement(re, list);
41f8d66e 39
84aff7a4 40 gEve->Redraw3D();
41f8d66e 41}