New files: PHOS and RICH geometry.
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_rich.C
CommitLineData
8085068a 1// $Id$
2
3void geom_rich()
4{
5 using namespace std;
6
7 gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
8
9 for(Int_t i=1; i<=7; ++i) {
10 TGeoNode* node = gGeoManager->GetTopVolume()->FindNode(Form("RICH_%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}