MacOSX does not like files that differ only by case
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Apr 2007 13:39:02 +0000 (13:39 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Apr 2007 13:39:02 +0000 (13:39 +0000)
EVE/alice-macros/geom_HMPID_tmp.C [new file with mode: 0644]

diff --git a/EVE/alice-macros/geom_HMPID_tmp.C b/EVE/alice-macros/geom_HMPID_tmp.C
new file mode 100644 (file)
index 0000000..dad3b9d
--- /dev/null
@@ -0,0 +1,18 @@
+// $Id$
+
+void geom_rich()
+{
+  using namespace std;
+
+  gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
+
+  for(Int_t i=1; i<=7; ++i) {
+    TGeoNode* node = gGeoManager->GetTopVolume()->FindNode(Form("HMPID_%d", i));
+
+    Reve::GeoTopNodeRnrEl* re = new Reve::GeoTopNodeRnrEl(gGeoManager, node);
+    re->SetUseNodeTrans(kTRUE);
+    gReve->AddGlobalRenderElement(re);
+  }
+
+  gReve->Redraw3D();
+}