/**************************************************************************
* 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");
}