]> git.uio.no Git - u/mrichter/AliRoot.git/blame - 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
a8600b56 1// $Id$
2
3void geom_pmd()
4{
84aff7a4 5 gGeoManager = gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
a8600b56 6
7 for(Int_t i=1; i<=4; ++i) {
7be1e8cd 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);
a8600b56 15
84aff7a4 16 TEveGeoTopNode* re = new TEveGeoTopNode(gGeoManager, node);
9a5c8f9c 17 re->UseNodeTrans();
84aff7a4 18 gEve->AddGlobalElement(re);
a8600b56 19 }
20
84aff7a4 21 gEve->Redraw3D();
a8600b56 22}