In muon-related macros in EVE:
[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
10void geom_t0()
11{
81515106 12 gGeoManager = gEve->GetDefaultGeometry();
41f8d66e 13
84aff7a4 14 TEveElementList* list = new TEveElementList("T0");
15 gEve->AddGlobalElement(list);
41f8d66e 16
17 TGeoNode* node;
84aff7a4 18 TEveGeoTopNode* re;
41f8d66e 19
20 node = gGeoManager->GetTopVolume()->FindNode("0STR_1");
84aff7a4 21 re = new TEveGeoTopNode(gGeoManager, node);
9a5c8f9c 22 re->UseNodeTrans();
84aff7a4 23 gEve->AddGlobalElement(re, list);
41f8d66e 24
25 node = gGeoManager->GetTopVolume()->FindNode("0STL_1");
84aff7a4 26 re = new TEveGeoTopNode(gGeoManager, node);
9a5c8f9c 27 re->UseNodeTrans();
84aff7a4 28 gEve->AddGlobalElement(re, list);
41f8d66e 29
84aff7a4 30 gEve->Redraw3D();
41f8d66e 31}