]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/alice-macros/geom_tpc.C
This commit was generated by cvs2svn to compensate for changes in r13732,
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_tpc.C
1 // $Id$
2
3 void geom_tpc()
4 {
5   using namespace std;
6
7   gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
8   TGeoNode* node = gGeoManager->GetTopVolume()->FindNode("TPC_M_1");
9
10   Reve::GeoTopNodeRnrEl* tpc_re = 
11     new Reve::GeoTopNodeRnrEl(gGeoManager, node);
12   gReve->AddGlobalRenderElement(tpc_re);
13   gReve->DrawRenderElement(tpc_re);
14 }