]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/alice-macros/geom_emcal.C
First big commit of the mchview program and its accompanying library,
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_emcal.C
CommitLineData
38fb31ba 1// $Id$
2
3void geom_emcal()
4{
5 using namespace std;
6
7 gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
8 TGeoNode* node = gGeoManager->GetTopVolume()->FindNode("XEN1_1");
9
10 Reve::GeoTopNodeRnrEl* emcal_re =
11 new Reve::GeoTopNodeRnrEl(gGeoManager, node);
12 gReve->AddGlobalRenderElement(emcal_re);
13 gReve->Redraw3D();
14}