1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
4 <TITLE> Users Guide for AliRoot </TITLE>
5 <!-- Changed by: Yiota Foka, 18-Mar-1999 -->
6 <STYLE TYPE="text/css">
8 H2 { color: red ; font-size: 22pt }
9 H3 { color: blue ; font-size: 20pt }
10 H4 { color: violet; font-size: 18pt }
11 H5 { color: olive ; font-size: 16pt }
12 H6 { color: maroon; font-size: 14pt }
13 TABLE { font-size: 14pt }
16 <!-- Header material -->
17 <body background="../picts/back.gif" text=black>
18 <basefont face="verdana,arial,helvetica,sans-serif">
20 <!-- Header material -->
21 <table border=0 cellpadding=5 cellspacing=0 width="100%">
23 <td align=left width=20%> <img src="../picts/MadHatter.jpg" HEIGHT=130 WIDTH=130>
27 Users Guide for AliRoot
28 <td align=right width=20%> <img src="../picts/Logo.gif">
32 <td colspan=3 align=right><font size="-1">
33 <script language="JavaScript">
34 document.write("Last modified "+ document.lastModified)
41 <BODY TEXT="#000000" BGCOLOR="#FFFFFF"
42 LINK="#0000FF" VLINK="#551A8B" ALINK="#FF0000">
46 <BR> The source code for all AliRoot classes is <A
47 HREF="roothtml/USER_Index.html">documented</A> and the html files are
48 automatically generated by ROOT.
53 <LI><A HREF="#1">How to run</A> AliRoot
54 <LI><A HREF="roothtml/USER_Index.html">AliRoot classes</A>
59 <H2><A NAME="1">1. How to run AliRoot</A></H2>
61 <P>To execute the Alice detector simulation program.
64 <LI>Type: <KBD> $ aliroot </KBD>
66 <BR> this starts AliRoot in interactive mode by default after few seconds
67 the <b>root</b> prompt apears
68 <BR>you can now start a AliRoot
69 interactive session by either creating the standard menu
71 <LI>Type: <KBD> root[0] .x menu.C </KBD>
73 <LI>Type: <KBD> root[1] gAlice->Run() </KBD>
75 <LI>Type: <KBD> root[1] gAlice->RunLego() </KBD>
77 <BR> to divert the long output generated by the AliRoot initialisation phase
78 to an eg. AliRoot.log file
79 <LI>Type: <KBD> root[3] .x menu.C > AliRoot.log </KBD>
81 <LI>Type: <KBD> root[4] gAlice->Run(); > AliRoot.log </KBD>
84 <P>The time for the initialisation phase of AliRoot is typicaly 30 seconds.
86 <P> By default the macro <A HREf="roothtml/examples/menu.C.html">menu.C</A>
87 invokes <A HREF="roothtml/AliRun.html">AliRun::Init</A> with the
88 configuration file <A HREF="roothtml/examples/Config.C.html">Config.C</A>.
90 <P>When the initialisation is finished the <b>root</b> prompt apears
92 <BR>You also get back the Root control bar menu.
94 <P>You can now select options from the bar menu.
98 <BR> to generate an event with the number of tracks and the configuration as specified in <A HREF="roothtml/examples/Config.C.html"> Config.C </A>
101 <BR> to generate the standard lego plots for radiation and absorption length. By default the granularity is 60 rays in theta and 60 rays in phi.
102 <BR>To view the results when this command is finished type:
104 <KBD> root[0] .x <A HREF="roothtml/examples/lego.C.html">lego.C</A> </KBD>
107 <BR> to change the parameters if you do not want to run with the default ones
109 <br><br><KBD> root[3] gAlice->RunLego (your list of parameters) </KBD>
111 <A HREF="roothtml/AliRun.html">AliRun::RunLego </A> for details
114 <LI><B> Top, Front, Side view </B>
115 <BR> to generate the corresponding cut view of Alice detector.
116 <BR> note that it takes a long time to execute a cut view typicaly
117 of the order of about 30 sec.
119 <LI><B> Menu Trees </B>
120 <BR> this shows a new menu from which you can draw the geometry tree for
121 most of Alice detectors.
122 <BR> double-clicking on an Alice detector generates its specifications.
124 <LI><B> Menu Pictures </B>
125 <BR> this shows a new menu from which you can draw the major Alice detectors
128 <LI><B> Other Options </B>
129 <BR> allow to switch ON/OFF various drawing modes.
132 <P>For more details on the functionality see the documentation of
133 <A HREF="roothtml/AliRun.html">AliRun</A> and
134 <A HREF="roothtml/TGeant3.html">TGeant3</A> classes
136 A global varial <var> gAlice </var>
137 can be used to invoke the AliRun class functions.
139 A global varial <var>gMC</var>
140 can be used to invoke the TGeant3 class functions.
142 <P> Note that several TGeant3 functions are also available by clicking with
143 the right button on a canvas while in the AliRoot session.
148 <LI>Type: <KBD> root[3] .q </KBD>
152 <!! ======================================================================>
154 <!! <A NAME="2"><H2></H2>
156 <!======================================================================>
158 <!! <A NAME="3"><H2></H2>
161 <!!======================================================================>
163 <!! <A NAME="4"><H2></H2>
166 <!===========================================================================>
172 <A HREF="mailto:Yiota.Foka@cern.ch">Yiota Foka</A>
175 <A HREF="http://www1.cern.ch/ALICE">
177 <A HREF="http://www1.cern.ch/ALICE/Projects/offline">