]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/alice-macros/geom_phos.C
Add missing file to last entry.
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_phos.C
CommitLineData
8085068a 1// $Id$
2
3void geom_phos()
4{
5 using namespace std;
6
7 gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
8
9 for(Int_t i=1; i<=5; ++i) {
10 TGeoNode* node = gGeoManager->GetTopVolume()->FindNode(Form("PHOS_%d", i));
11
12 Reve::GeoTopNodeRnrEl* re =
13 new Reve::GeoTopNodeRnrEl(gGeoManager, node);
14 re->SetGlobalTrans(new TGeoHMatrix(node->GetMatrix()));
15 gReve->AddGlobalRenderElement(re);
16 gReve->DrawRenderElement(re);
17 }
18}