]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/README
Added mechanism for registration/execution of user-commands that are to be run after...
[u/mrichter/AliRoot.git] / EVE / README
CommitLineData
5a5a1232 1EVE - Event Visualization Environment
2=====================================
3
4EVE is composed of:
51. small application kernel;
62. graphics classes with editors and OpenGL renderers;
73. CINT scripts that extract data, fill graphics classes and register
8 them to the application.
9
7c56a308 10The framework is still evolving ... some things might not work as expected.
5a5a1232 11
12
13Usage
14=====
15
161. Initialize ALICE environment.
17
5987168b 182. Spawn 'alieve' executable and invoke the alieve_init.C macro, for example:
5a5a1232 19
20To load first event from current directory:
5987168b 21 # alieve alieve_init.C
5a5a1232 22To load 5th event from directory /data/my-pp-run:
5987168b 23 # alieve 'alieve_init.C("/data/my-pp-run", 5)'
5a5a1232 24Interactively:
5987168b 25 # alieve
5a5a1232 26 root[0] .L alieve_init.C
27 root[1] alieve_init("/somedir")
28
293. Use GUI or CINT command-line to invoke further visualization macros.
71d91e82 30
314. To navigate the events use macros 'event_next.C' and 'event_prev.C'.
32 These are equivalent to the command-line invocations:
33 root[x] Alieve::gEvent->NextEvent()
34or
35 root[x] Alieve::gEvent->PrevEvent()
36The general form to go to event via its number is:
37 root[x] Alieve::gEvent->GotoEvent(<event-number>)
38
5a5a1232 39See files in EVE/alice-macros/. For specific uses these should be
40edited to suit your needs.
41
42
43Directory structure
44===================
45
46EVE is split into two modules: REVE (ROOT part, not dependent on
47AliROOT) and ALIEVE (ALICE specific part). For the time being both
48modules are kept in AliROOT CVS.
49
50Alieve/ and Reve/ -- sources
51
52macros/ -- macros for bootstraping and internal steering
53alice-macros/ -- macros for ALICE visualization
54alica-data/ -- data files used by ALICE macros
915dabe1 55test-macros/ -- macros for tests of specific features; usually one needs
56 to copy and edit them
5a5a1232 57
58bin/, Makefile and make_base.inc are used for stand-alone build of the
59packages.
7c56a308 60
61
62Notes
63=====
64
651. Problems with macro-execution
66--------------------------------
67
68A failed macro-execution can leave CINT in a poorly defined state that
69prevents further execution of macros. For example:
70
71 Exception Reve::Exc_t: Event::Open failed opening ALICE ESDfriend from
72 '/alice-data/coctail_10k/AliESDfriends.root'.
73
74 root [1] Error: Function MUON_geom() is not defined in current scope :0:
75 *** Interpreter error recovered ***
76 Error: G__unloadfile() File "/tmp/MUON_geom.C" not loaded :0:
77
78'gROOT->Reset()' helps in most of the cases.