]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/html/AliHLTSystem_8h-source.html
799926e574f858c70d299b7baf8ac23d6dce6f5a
[u/mrichter/AliRoot.git] / HLT / PHOS / html / AliHLTSystem_8h-source.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>AliHLTPHOS: /home/perthi/cern/aliroot/AliRoot_head020507/HLT/BASE/AliHLTSystem.h Source File</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.3.9.1 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8 <div class="nav">
9 <a class="el" href="dir_000000.html">BASE</a></div>
10 <h1>AliHLTSystem.h</h1><a href="AliHLTSystem_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">// @(#) $Id$</span>
11 00002 
12 00003 <span class="preprocessor">#ifndef ALIHLTSYSTEM_H</span>
13 00004 <span class="preprocessor"></span><span class="preprocessor">#define ALIHLTSYSTEM_H</span>
14 00005 <span class="preprocessor"></span><span class="comment">/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *</span>
15 00006 <span class="comment"> * See cxx source for full Copyright notice                               */</span>
16 00007 
17 00020 <span class="preprocessor">#include "<a class="code" href="AliHLTLogging_8h.html">AliHLTLogging.h</a>"</span>
18 00021 <span class="preprocessor">#include &lt;TList.h&gt;</span>
19 00022 
20 00023 <span class="keyword">class </span><a class="code" href="classAliHLTComponentHandler.html">AliHLTComponentHandler</a>;
21 00024 <span class="keyword">class </span><a class="code" href="classAliHLTConfiguration.html">AliHLTConfiguration</a>;
22 00025 <span class="keyword">class </span><a class="code" href="classAliHLTConfigurationHandler.html">AliHLTConfigurationHandler</a>;
23 00026 <span class="keyword">class </span><a class="code" href="classAliHLTTask.html">AliHLTTask</a>;
24 00027 <span class="keyword">class </span>AliRunLoader;
25 00028 <span class="keyword">class </span>AliRawReader;
26 00029 <span class="keyword">class </span>AliESD;
27 00030 <span class="keyword">class </span>TObjArray;
28 00031 <span class="keyword">class </span>TStopwatch;
29 00032 
30 <a name="l00043"></a><a class="code" href="classAliHLTSystem.html">00043</a> <span class="keyword">class </span><a class="code" href="classAliHLTSystem.html">AliHLTSystem</a> : <span class="keyword">public</span> <a class="code" href="classAliHLTLogging.html">AliHLTLogging</a> {
31 00044  <span class="keyword">public</span>:
32 00046   <a class="code" href="classAliHLTSystem.html#a0">AliHLTSystem</a>();
33 00048   <a class="code" href="classAliHLTSystem.html#a0">AliHLTSystem</a>(<span class="keyword">const</span> <a class="code" href="classAliHLTSystem.html">AliHLTSystem</a>&amp;);
34 00050   <a class="code" href="classAliHLTSystem.html">AliHLTSystem</a>&amp; <a class="code" href="classAliHLTSystem.html#a2">operator=</a>(<span class="keyword">const</span> <a class="code" href="classAliHLTSystem.html">AliHLTSystem</a>&amp;);
35 00052   <span class="keyword">virtual</span> <a class="code" href="classAliHLTSystem.html#a3">~AliHLTSystem</a>();
36 00053 
37 <a name="l00057"></a><a class="code" href="classAliHLTSystem.html#o0">00057</a>   <a class="code" href="classAliHLTComponentHandler.html">AliHLTComponentHandler</a>* fpComponentHandler;                      
38 00058 
39 <a name="l00062"></a><a class="code" href="classAliHLTSystem.html#o1">00062</a>   <a class="code" href="classAliHLTConfigurationHandler.html">AliHLTConfigurationHandler</a>* fpConfigurationHandler;              
40 00063 
41 00068   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a4">AddConfiguration</a>(<a class="code" href="classAliHLTConfiguration.html">AliHLTConfiguration</a>* pConf);
42 00069 
43 00076   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a5">InsertConfiguration</a>(<a class="code" href="classAliHLTConfiguration.html">AliHLTConfiguration</a>* pConf, <a class="code" href="classAliHLTConfiguration.html">AliHLTConfiguration</a>* pPrec);
44 00077 
45 00082   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a6">DeleteConfiguration</a>(<a class="code" href="classAliHLTConfiguration.html">AliHLTConfiguration</a>* pConf);
46 00083 
47 00095   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a7">BuildTaskList</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* pConf);
48 00096 
49 00103   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a7">BuildTaskList</a>(<a class="code" href="classAliHLTConfiguration.html">AliHLTConfiguration</a>* pConf);
50 00104 
51 00108   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a9">CleanTaskList</a>();
52 00109 
53 00118   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a10">InsertTask</a>(<a class="code" href="classAliHLTTask.html">AliHLTTask</a>* pTask);
54 00119 
55 00124   <a class="code" href="classAliHLTTask.html">AliHLTTask</a>* <a class="code" href="classAliHLTSystem.html#a11">FindTask</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">id</span>);
56 00125 
57 00129   <span class="keywordtype">void</span> <a class="code" href="classAliHLTSystem.html#a12">PrintTaskList</a>();
58 00130 
59 00140   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a13">Run</a>(Int_t iNofEvents=1);
60 00141 
61 00148   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a14">InitTasks</a>();
62 00149 
63 00156   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a15">InitBenchmarking</a>(TObjArray* pStopwatches);
64 00157 
65 00164   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a16">StartTasks</a>();
66 00165 
67 00171   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a17">ProcessTasks</a>(Int_t eventNo);
68 00172 
69 00179   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a18">StopTasks</a>();
70 00180 
71 00187   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a19">DeinitTasks</a>();
72 00188 
73 00193   <span class="keyword">static</span> <span class="keywordtype">void</span>* <a class="code" href="classAliHLTSystem.html#e0">AllocMemory</a>( <span class="keywordtype">void</span>* param, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> size );
74 00194 
75 00212   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a20">Reconstruct</a>(<span class="keywordtype">int</span> nofEvents, AliRunLoader* runLoader, 
76 00213                   AliRawReader* rawReader=NULL);
77 00214 
78 00229   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a21">FillESD</a>(<span class="keywordtype">int</span> eventNo, AliRunLoader* runLoader, AliESD* esd);
79 00230 
80 00236   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a22">LoadComponentLibraries</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* libs);
81 00237 
82 00244   <span class="keywordtype">void</span>* <a class="code" href="classAliHLTSystem.html#a23">FindDynamicSymbol</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* library, <span class="keyword">const</span> <span class="keywordtype">char</span>* symbol);
83 00245 
84 00253   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a24">Configure</a>(AliRunLoader* runloader=NULL);
85 00254 
86 00262   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a25">Reset</a>(<span class="keywordtype">int</span> bForce=0);
87 00263 
88 00270   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a26">LoadConfigurations</a>(AliRunLoader* runloader=NULL);
89 00271 
90 00276   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a27">BuildTaskListsFromTopConfigurations</a>(AliRunLoader* runloader=NULL);
91 00277 
92 <a name="l00278"></a><a class="code" href="classAliHLTSystem.html#w7">00278</a>   <span class="keyword">enum</span> <a class="code" href="classAliHLTSystem.html#w7">AliHLTSystemState_t</a> {
93 00279     <a class="code" href="classAliHLTSystem.html#w7w0">kUninitialized</a>       = 0x0,
94 00280     <a class="code" href="classAliHLTSystem.html#w7w1">kLibrariesLoaded</a>     = 0x1,
95 00281     <a class="code" href="classAliHLTSystem.html#w7w2">kConfigurationLoaded</a> = 0x2,
96 00282     <a class="code" href="classAliHLTSystem.html#w7w3">kTaskListCreated</a>     = 0x4,
97 00283     <a class="code" href="classAliHLTSystem.html#w7w4">kReady</a>               = 0x7,
98 00284     <a class="code" href="classAliHLTSystem.html#w7w5">kRunning</a>             = 0x8,
99 00285     <a class="code" href="classAliHLTSystem.html#w7w6">kError</a>               = 0x1000
100 00286   };
101 00287 
102 00293   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a28">CheckStatus</a>(<span class="keywordtype">int</span> flag);
103 00294 
104 00299   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a29">GetStatusFlags</a>();
105 00300 
106 00301  <span class="keyword">protected</span>:
107 00302  
108 00303  <span class="keyword">private</span>:
109 00307   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#d0">SetStatusFlags</a>(<span class="keywordtype">int</span> flags);
110 00308 
111 00312   <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#d1">ClearStatusFlags</a>(<span class="keywordtype">int</span> flags);
112 00313 
113 00314 <span class="comment">/*   TList fConfList; */</span>
114 00315 <span class="comment">/*   int fbListChanged; */</span>
115 00316 
116 <a name="l00318"></a><a class="code" href="classAliHLTSystem.html#r0">00318</a>   TList fTaskList;                                                 <span class="comment">// see above</span>
117 00319 
118 00321   <span class="keyword">static</span> <span class="keywordtype">int</span> fgNofInstances;                                       <span class="comment">// see above</span>
119 00322 
120 <a name="l00324"></a><a class="code" href="classAliHLTSystem.html#r1">00324</a>   <span class="keywordtype">int</span> fState;                                                      <span class="comment">// see above</span>
121 00325 
122 00326  <span class="keyword">private</span>:
123 00327   <a class="code" href="classAliHLTSystem.html#d2">ClassDef</a>(<a class="code" href="classAliHLTSystem.html">AliHLTSystem</a>, 2);
124 00328 };
125 00329 <span class="preprocessor">#endif</span>
126 00330 <span class="preprocessor"></span>
127 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 4 04:49:52 2007 for AliHLTPHOS by&nbsp;
128 <a href="http://www.doxygen.org/index.html">
129 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
130 </body>
131 </html>