]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/alice-macros/geom_pmd.C
Removed unneeded widget association.
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_pmd.C
CommitLineData
a8600b56 1// $Id$
2
3void geom_pmd()
4{
5 using namespace std;
6
7 gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
8
9 for(Int_t i=1; i<=4; ++i) {
7be1e8cd 10 //PH The line below is replaced waiting for a fix in Root
11 //PH which permits to use variable siza arguments in CINT
12 //PH on some platforms (alphalinuxgcc, solariscc5, etc.)
13 //PH TGeoNode* node = gGeoManager->GetTopVolume()->FindNode(Form("EPM%d_1", i));
14 char form[1000];
15 sprintf(form,"EPM%d_1", i);
16 TGeoNode* node = gGeoManager->GetTopVolume()->FindNode(form);
a8600b56 17
18 Reve::GeoTopNodeRnrEl* re = new Reve::GeoTopNodeRnrEl(gGeoManager, node);
19 re->SetUseNodeTrans(kTRUE);
20 gReve->AddGlobalRenderElement(re);
21 }
22
23 gReve->Redraw3D();
24}