ROOT
6.08/07
Reference Guide
tutorials
eve
geom_alice_tpc.C File Reference
Tutorials
»
Event display tutorials
Detailed Description
Shows geometry of ALICE TPC.
void
geom_alice_tpc()
{
TEveManager::Create
();
gGeoManager
=
gEve
->
GetGeometry
(
"http://root.cern.ch/files/alice.root"
);
TGeoNode
* node =
gGeoManager
->
GetTopVolume
()->
FindNode
(
"TPC_M_1"
);
TEveGeoTopNode
* tpc =
new
TEveGeoTopNode
(
gGeoManager
, node);
gEve
->
AddGlobalElement
(tpc);
gEve
->
Redraw3D
(
kTRUE
);
}
Author
Matevz Tadel
Definition in file
geom_alice_tpc.C
.