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">
6 <!-- Generated by Doxygen 1.3.9.1 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main 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 Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
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>
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>
17 00020 <span class="preprocessor">#include "<a class="code" href="AliHLTLogging_8h.html">AliHLTLogging.h</a>"</span>
18 00021 <span class="preprocessor">#include <TList.h></span>
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;
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>&);
34 00050 <a class="code" href="classAliHLTSystem.html">AliHLTSystem</a>& <a class="code" href="classAliHLTSystem.html#a2">operator=</a>(<span class="keyword">const</span> <a class="code" href="classAliHLTSystem.html">AliHLTSystem</a>&);
35 00052 <span class="keyword">virtual</span> <a class="code" href="classAliHLTSystem.html#a3">~AliHLTSystem</a>();
37 <a name="l00057"></a><a class="code" href="classAliHLTSystem.html#o0">00057</a> <a class="code" href="classAliHLTComponentHandler.html">AliHLTComponentHandler</a>* fpComponentHandler;
39 <a name="l00062"></a><a class="code" href="classAliHLTSystem.html#o1">00062</a> <a class="code" href="classAliHLTConfigurationHandler.html">AliHLTConfigurationHandler</a>* fpConfigurationHandler;
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);
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);
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);
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);
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);
51 00108 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a9">CleanTaskList</a>();
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);
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>);
57 00129 <span class="keywordtype">void</span> <a class="code" href="classAliHLTSystem.html#a12">PrintTaskList</a>();
59 00140 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a13">Run</a>(Int_t iNofEvents=1);
61 00148 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a14">InitTasks</a>();
63 00156 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a15">InitBenchmarking</a>(TObjArray* pStopwatches);
65 00164 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a16">StartTasks</a>();
67 00171 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a17">ProcessTasks</a>(Int_t eventNo);
69 00179 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a18">StopTasks</a>();
71 00187 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a19">DeinitTasks</a>();
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 );
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);
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);
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);
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);
84 00253 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a24">Configure</a>(AliRunLoader* runloader=NULL);
86 00262 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a25">Reset</a>(<span class="keywordtype">int</span> bForce=0);
88 00270 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a26">LoadConfigurations</a>(AliRunLoader* runloader=NULL);
90 00276 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a27">BuildTaskListsFromTopConfigurations</a>(AliRunLoader* runloader=NULL);
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
102 00293 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a28">CheckStatus</a>(<span class="keywordtype">int</span> flag);
104 00299 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#a29">GetStatusFlags</a>();
106 00301 <span class="keyword">protected</span>:
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);
111 00312 <span class="keywordtype">int</span> <a class="code" href="classAliHLTSystem.html#d1">ClearStatusFlags</a>(<span class="keywordtype">int</span> flags);
113 00314 <span class="comment">/* TList fConfList; */</span>
114 00315 <span class="comment">/* int fbListChanged; */</span>
116 <a name="l00318"></a><a class="code" href="classAliHLTSystem.html#r0">00318</a> TList fTaskList; <span class="comment">// see above</span>
118 00321 <span class="keyword">static</span> <span class="keywordtype">int</span> fgNofInstances; <span class="comment">// see above</span>
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>
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);
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
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>