]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVE/alice-macros/geom_pmd.C
Put black-listed classes out of Alieve namespace.
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_pmd.C
... / ...
CommitLineData
1// $Id$
2
3void geom_pmd()
4{
5 gGeoManager = gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
6
7 for(Int_t i=1; i<=4; ++i) {
8 //PH The line below is replaced waiting for a fix in Root
9 //PH which permits to use variable siza arguments in CINT
10 //PH on some platforms (alphalinuxgcc, solariscc5, etc.)
11 //PH TGeoNode* node = gGeoManager->GetTopVolume()->FindNode(Form("EPM%d_1", i));
12 char form[1000];
13 sprintf(form,"EPM%d_1", i);
14 TGeoNode* node = gGeoManager->GetTopVolume()->FindNode(form);
15
16 TEveGeoTopNode* re = new TEveGeoTopNode(gGeoManager, node);
17 re->UseNodeTrans();
18 gEve->AddGlobalElement(re);
19 }
20
21 gEve->Redraw3D();
22}