]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
New file: full alice geometry.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Oct 2006 15:15:26 +0000 (15:15 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Oct 2006 15:15:26 +0000 (15:15 +0000)
EVE/alice-macros/geom_all.C [new file with mode: 0644]

diff --git a/EVE/alice-macros/geom_all.C b/EVE/alice-macros/geom_all.C
new file mode 100644 (file)
index 0000000..7fadde4
--- /dev/null
@@ -0,0 +1,13 @@
+// $Id$
+
+void geom_all()
+{
+  using namespace std;
+
+  gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
+
+  Reve::GeoTopNodeRnrEl* topn_re = new Reve::GeoTopNodeRnrEl
+    (gGeoManager, gGeoManager->GetTopNode());
+  gReve->AddGlobalRenderElement(topn_re);
+  gReve->Redraw3D();
+}