Geometry for MFT (Brigitte)
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_trd_tof.C
CommitLineData
a8600b56 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 **************************************************************************/
a8600b56 9
ba978640 10#if !defined(__CINT__) || defined(__MAKECINT__)
11#include <TGeoManager.h>
12#include <TGeoNode.h>
13#include <TEveManager.h>
14#include <TEveGeoNode.h>
290113e6 15
16#include <AliEveEventManager.h>
ba978640 17#endif
18
a8600b56 19void geom_trd_tof()
20{
290113e6 21 AliEveEventManager::AssertGeometry();
81515106 22
a8600b56 23 TGeoNode* node = gGeoManager->GetTopVolume()->FindNode("B077_1");
24
ba978640 25 if(!node)
26 return;
27
84aff7a4 28 TEveGeoTopNode* its_re = new TEveGeoTopNode(gGeoManager, node);
29 gEve->AddGlobalElement(its_re);
30 gEve->Redraw3D();
a8600b56 31}