]> git.uio.no Git - u/mrichter/AliRoot.git/blob - html/AliceHelp.html
Do not save CVS subdirectories
[u/mrichter/AliRoot.git] / html / AliceHelp.html
1 ////////////////////////////////////////////////////
2 //            H O W  to run  G A L I C E          //
3 ////////////////////////////////////////////////////
4
5  To execute the Alice simulation program, type aliroot.
6  This starts gAlice in interactive mode by default.
7  After a few seconds, you get the Root prompt.
8
9  You can start your interactive session by invoking
10  the standard menu
11     Root > .x menu.C
12  or do directly
13     Root > gAlice->Run()
14  or Root > gAlice->RunLego()
15  
16  if you want to divert the long output generated by
17  the gAlice initialisation phase to a file (eg gAlice.log)
18     Root > .x menu.C > gAlice.log
19  or Root > gAlice->Run(); > gAlice.log
20  
21  The initialisation phase of gAlice takes time (30 seconds).
22  By default the macro menu.C invokes AliRun::Init with
23  the configuration file "Config.C".
24  When the initialisation is finished, you get the promt again.
25  You also get a Root control bar menu.
26  Select:
27    - Run  to generate a complete event with the number of tracks
28           and the configuration specified in "Config.C"
29
30    - RunLego  to generate the standard lego plots for radiation
31           and absorption length. By default, the granularity
32           is 60 rays in theta and 60 rays in phi.
33           When this command is finished, you can view the results
34           with  Root > .x lego.C
35           If you do not want to run with the default parameters,do
36           Root > gAlice->RunLego( list of params), see AliRun::RunLego
37
38    - Top/Front/Side view to generate the corresponding cut view of Alice.
39          Note that a cut view takes a long time to execute (30 seconds).
40
41    - Menu Trees  This shows a new menu from which you can draw
42          the geometry tree for most Alice detectors.
43          Double-clicking on an Alice detector generates the SPECs.
44
45    - Menu Pictures  This shows a new menu from which you can draw
46          the major Alice detectors in SHADe mode.
47
48    - Other items allow you to switch ON/OFF various drawing modes.
49
50  See the classes AliRun and TGeant3 for more detailed functionality.
51  A global variable "gAlice" can be used to invoke the AliRun class functions.
52  A global variable "geant" can be used to invoke the TGeant3 class functions.
53
54  Note that several TGeant3 functions are alaso available by clicking
55  with the right mouse button on a canvas.
56
57  When you want to leave gAlice type the command ".q"
58     Root > .q