Handle missing rec-point tree in a uniform way: return null pointer to TEvePointSet.
[u/mrichter/AliRoot.git] / EVE / macros / alieve_create_vsd.C
CommitLineData
d810d0de 1// $Id$
2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
5a5a1232 9void alieve_create_vsd()
10{
11 // Invoke as: aliroot alieve_create_vsd.C
12
a8600b56 13 gSystem->Load("libPhysics");
14 gSystem->Load("libEG");
15 gSystem->Load("libTreePlayer");
16 gSystem->Load("libGed");
17 gSystem->Load("libRGL");
5a5a1232 18
a8600b56 19 gSystem->Load("libReve");
20 gSystem->Load("libAlieve");
5a5a1232 21
84aff7a4 22 DisablePODTObjectStreamers();
5a5a1232 23
1379eb9e 24 TGeoManager::Import("geometry.root");
60c485aa 25
d810d0de 26 AliEveVSDCreator vc;
5a5a1232 27 vc.SetDebugLevel(2);
28 vc.CreateVSD(".", 0, "AliVSD.root");
29}