Index: AliTPCClusterParam.h - Usage of the 4D lookup table to correct for...
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_zdc.C
CommitLineData
c019f538 1// $Id$
316e5aa3 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 *
7 * full copyright notice. *
8 **************************************************************************/
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>
16#endif
17
316e5aa3 18void geom_zdc()
19{
20 gGeoManager = gEve->GetDefaultGeometry();
21
22 TEveElementList* list = new TEveElementList("ZDC");
23 gEve->AddGlobalElement(list);
24
25 TGeoNode* node;
26 TEveGeoTopNode* re;
27
28 node = gGeoManager->GetTopVolume()->FindNode("ZDCA_1");
29 re = new TEveGeoTopNode(gGeoManager, node);
30 re->UseNodeTrans();
31 gEve->AddGlobalElement(re, list);
32
33 node = gGeoManager->GetTopVolume()->FindNode("ZDCC_1");
34 re = new TEveGeoTopNode(gGeoManager, node);
35 re->UseNodeTrans();
36 gEve->AddGlobalElement(re, list);
37
38 gEve->Redraw3D();
39}