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