]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/macros/alieve_create_vsd.C
From Pawel Debski:
[u/mrichter/AliRoot.git] / EVE / macros / alieve_create_vsd.C
index 97b13e165bb9b124ec0f2443a266c11003c177a3..80fe412c5560f49c2332d27f4a1d348f27530585 100644 (file)
@@ -4,26 +4,16 @@
 /**************************************************************************
  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
- * full copyright notice.                                                 * 
+ * full copyright notice.                                                 *
  **************************************************************************/
+
 void alieve_create_vsd()
 {
-  // Invoke as: aliroot alieve_create_vsd.C
-
-  gSystem->Load("libPhysics");
-  gSystem->Load("libEG");
-  gSystem->Load("libTreePlayer");
-  gSystem->Load("libGed");
-  gSystem->Load("libRGL");
-
-  gSystem->Load("libReve");
-  gSystem->Load("libAlieve");
-
-  DisablePODTObjectStreamers();
+  // Invoke from a running alieve, current event will be dumped.
 
-  TGeoManager::Import("geometry.root");
+  TEveVSD::DisableTObjectStreamersForVSDStruct();
 
   AliEveVSDCreator vc;
   vc.SetDebugLevel(2);
-  vc.CreateVSD(".", 0, "AliVSD.root");
+  vc.CreateVSD("AliVSD.root");
 }