]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/geom_its.C
From Jochen - EveHLT development accumulated since the end of March.
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_its.C
index 47b89e456fd555f19dfe0dbc4cdb565cd9e15cc5..c62a661dca3a5f7df349dabc46b45c1cdfe61d94 100644 (file)
@@ -1,14 +1,19 @@
 // $Id$
+// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
+
+/**************************************************************************
+ * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
+ * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
+ * full copyright notice.                                                 *
+ **************************************************************************/
 
 void geom_its()
 {
-  using namespace std;
+  gGeoManager = gEve->GetDefaultGeometry();
 
-  gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
   TGeoNode* node = gGeoManager->GetTopVolume()->FindNode("ITSV_1");
 
-  Reve::GeoTopNodeRnrEl* its_re = 
-    new Reve::GeoTopNodeRnrEl(gGeoManager, node);
-  gReve->AddGlobalRenderElement(its_re);
-  gReve->Redraw3D();
+  TEveGeoTopNode* its_re = new TEveGeoTopNode(gGeoManager, node);
+  gEve->AddGlobalElement(its_re);
+  gEve->Redraw3D();
 }