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: AliHLTPHOSRawAnalyzerLMS Class Reference</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="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="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
8 <h1>AliHLTPHOSRawAnalyzerLMS Class Reference</h1><code>#include <<a class="el" href="AliHLTPHOSRawAnalyzerLMS_8h-source.html">AliHLTPHOSRawAnalyzerLMS.h</a>></code>
10 <p>Inheritance diagram for AliHLTPHOSRawAnalyzerLMS:
11 <p><center><img src="classAliHLTPHOSRawAnalyzerLMS.png" usemap="#AliHLTPHOSRawAnalyzerLMS_map" border="0" alt=""></center>
12 <map name="AliHLTPHOSRawAnalyzerLMS_map">
13 <area href="classAliHLTPHOSRawAnalyzer.html" alt="AliHLTPHOSRawAnalyzer" shape="rect" coords="0,0,186,24">
15 <a href="classAliHLTPHOSRawAnalyzerLMS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
17 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
18 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSa0">AliHLTPHOSRawAnalyzerLMS</a> ()</td></tr>
20 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSa1">AliHLTPHOSRawAnalyzerLMS</a> (double *dataPtr, double fs)</td></tr>
22 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSa2">AliHLTPHOSRawAnalyzerLMS</a> (const <a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html">AliHLTPHOSRawAnalyzerLMS</a> &)</td></tr>
24 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html">AliHLTPHOSRawAnalyzerLMS</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSa3">operator=</a> (const <a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html">AliHLTPHOSRawAnalyzerLMS</a>)</td></tr>
26 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSa4">~AliHLTPHOSRawAnalyzerLMS</a> ()</td></tr>
28 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSa5">Evaluate</a> (int start=0, int lenght=100)</td></tr>
30 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera7">BaselineCorrection</a> (double *dataPtr, int N)</td></tr>
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera8">BaselineCorrection</a> (double *dataPtr, double baselineValue)</td></tr>
34 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera9">FindStartIndex</a> (double treshold)</td></tr>
36 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera10">GetTiming</a> ()</td></tr>
38 <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera11">GetEnergy</a> ()</td></tr>
40 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera12">SetData</a> (double *data)</td></tr>
42 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera13">SetSampleFreq</a> (double freq)</td></tr>
44 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera14">MakeInitialGuess</a> ()</td></tr>
46 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFindera15">MakeInitialGuess</a> (int treshold)</td></tr>
48 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
49 <tr><td class="memItemLeft" nowrap align="right" valign="top">double * </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp0">fFloatDataPtr</a></td></tr>
51 <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp1">fSampleFrequency</a></td></tr>
53 <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp2">fDTofGuess</a></td></tr>
55 <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp3">fDAmplGuess</a></td></tr>
57 <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp4">fTau</a></td></tr>
59 <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp5">fDTof</a></td></tr>
61 <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp6">fDAmpl</a></td></tr>
63 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp7">n</a></td></tr>
65 <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
66 <tr><td class="memItemLeft" nowrap align="right" valign="top">double ** </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSr0">kfMCovarPtrPtr</a></td></tr>
68 <tr><td class="memItemLeft" nowrap align="right" valign="top">double ** </td><td class="memItemRight" valign="bottom"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSr1">fPCovarPtrPtr</a></td></tr>
71 <hr><h2>Constructor & Destructor Documentation</h2>
72 <a class="anchor" name="AliHLTPHOSRawAnalyzerLMSa0" doxytag="AliHLTPHOSRawAnalyzerLMS::AliHLTPHOSRawAnalyzerLMS"></a><p>
73 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
76 <table cellpadding="0" cellspacing="0" border="0">
78 <td class="md" nowrap valign="top">AliHLTPHOSRawAnalyzerLMS::AliHLTPHOSRawAnalyzerLMS </td>
79 <td class="md" valign="top">( </td>
80 <td class="mdname1" valign="top" nowrap> </td>
81 <td class="md" valign="top"> ) </td>
82 <td class="md" nowrap></td>
88 <table cellspacing="5" cellpadding="0" border="0">
96 The AliHLTPHOSPeakfinder class is the class for extracting the basic signal parameters "timing" and "energy" from the PHOS raw data. Physical data will for a given readout channel be a sequense of ADC digitized 10 bit integer values, however for performance reasons all values used in calculation is of type double.
98 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html#l00038">38</a> of file <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html">AliHLTPHOSRawAnalyzerLMS.cxx</a>.<div class="fragment"><pre class="fragment">00038 :<a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzera0">AliHLTPHOSRawAnalyzer</a>(), <a class="code" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSr0">kfMCovarPtrPtr</a>(0), <a class="code" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSr1">fPCovarPtrPtr</a>(0)
100 00040 cout <<<span class="stringliteral">"You cannot invoke the Fitter without arguments"</span><<endl;;
107 <a class="anchor" name="AliHLTPHOSRawAnalyzerLMSa1" doxytag="AliHLTPHOSRawAnalyzerLMS::AliHLTPHOSRawAnalyzerLMS"></a><p>
108 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
111 <table cellpadding="0" cellspacing="0" border="0">
113 <td class="md" nowrap valign="top">AliHLTPHOSRawAnalyzerLMS::AliHLTPHOSRawAnalyzerLMS </td>
114 <td class="md" valign="top">( </td>
115 <td class="md" nowrap valign="top">double * </td>
116 <td class="mdname" nowrap> <em>dtaPtr</em>, </td>
119 <td class="md" nowrap align="right"></td>
121 <td class="md" nowrap>double </td>
122 <td class="mdname" nowrap> <em>fs</em></td>
126 <td class="md">) </td>
127 <td class="md" colspan="2"></td>
133 <table cellspacing="5" cellpadding="0" border="0">
141 Main constructor <dl compact><dt><b>Parameters:</b></dt><dd>
142 <table border="0" cellspacing="2" cellpadding="0">
143 <tr><td valign="top"></td><td valign="top"><em>dataPtr</em> </td><td>Data array for wich a subarray will be taken to perform the fit </td></tr>
144 <tr><td valign="top"></td><td valign="top"><em>fs</em> </td><td>the sampling frequency in entities of MHz. Needed in order to calculate physical time </td></tr>
149 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html#l00049">49</a> of file <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html">AliHLTPHOSRawAnalyzerLMS.cxx</a>.<div class="fragment"><pre class="fragment">00049 :<a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzera0">AliHLTPHOSRawAnalyzer</a>(),<a class="code" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSr0">kfMCovarPtrPtr</a>(0), <a class="code" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSr1">fPCovarPtrPtr</a>(0)
151 00051 <a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp0">fFloatDataPtr</a> = dtaPtr;
152 00052 <a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp1">fSampleFrequency</a> = fs;
153 00053 } <span class="comment">//end AliHLTPHOSRawAnalyzerLMS </span>
159 <a class="anchor" name="AliHLTPHOSRawAnalyzerLMSa2" doxytag="AliHLTPHOSRawAnalyzerLMS::AliHLTPHOSRawAnalyzerLMS"></a><p>
160 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
163 <table cellpadding="0" cellspacing="0" border="0">
165 <td class="md" nowrap valign="top">AliHLTPHOSRawAnalyzerLMS::AliHLTPHOSRawAnalyzerLMS </td>
166 <td class="md" valign="top">( </td>
167 <td class="md" nowrap valign="top">const <a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html">AliHLTPHOSRawAnalyzerLMS</a> & </td>
168 <td class="mdname1" valign="top" nowrap> </td>
169 <td class="md" valign="top"> ) </td>
170 <td class="md" nowrap></td>
176 <table cellspacing="5" cellpadding="0" border="0">
187 <a class="anchor" name="AliHLTPHOSRawAnalyzerLMSa4" doxytag="AliHLTPHOSRawAnalyzerLMS::~AliHLTPHOSRawAnalyzerLMS"></a><p>
188 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
191 <table cellpadding="0" cellspacing="0" border="0">
193 <td class="md" nowrap valign="top">AliHLTPHOSRawAnalyzerLMS::~<a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html">AliHLTPHOSRawAnalyzerLMS</a> </td>
194 <td class="md" valign="top">( </td>
195 <td class="mdname1" valign="top" nowrap> </td>
196 <td class="md" valign="top"> ) </td>
197 <td class="md" nowrap><code> [virtual]</code></td>
203 <table cellspacing="5" cellpadding="0" border="0">
213 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html#l00056">56</a> of file <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html">AliHLTPHOSRawAnalyzerLMS.cxx</a>.<div class="fragment"><pre class="fragment">00057 {
215 00059 } <span class="comment">//end AliHLTPHOSRawAnalyzerLMS</span>
221 <hr><h2>Member Function Documentation</h2>
222 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera8" doxytag="AliHLTPHOSRawAnalyzerLMS::BaselineCorrection"></a><p>
223 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
226 <table cellpadding="0" cellspacing="0" border="0">
228 <td class="md" nowrap valign="top">void AliHLTPHOSRawAnalyzer::BaselineCorrection </td>
229 <td class="md" valign="top">( </td>
230 <td class="md" nowrap valign="top">double * </td>
231 <td class="mdname" nowrap> <em>dataPtr</em>, </td>
234 <td class="md" nowrap align="right"></td>
236 <td class="md" nowrap>double </td>
237 <td class="mdname" nowrap> <em>baselineValue</em></td>
241 <td class="md">) </td>
242 <td class="md" colspan="2"><code> [inherited]</code></td>
248 <table cellspacing="5" cellpadding="0" border="0">
256 Shifts the basline with the amount given by baselineValue If pretrigger samples are not present then the basline correction will be incorrect. <dl compact><dt><b>Parameters:</b></dt><dd>
257 <table border="0" cellspacing="2" cellpadding="0">
258 <tr><td valign="top"></td><td valign="top"><em>dataPtr</em> </td><td>array for wich to correct the basline </td></tr>
259 <tr><td valign="top"></td><td valign="top"><em>BaslineValue</em> </td><td>the basline value to subtract.. </td></tr>
264 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00060">60</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.
266 References <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00032">AliHLTPHOSRawAnalyzer::fFloatDataPtr</a>.<div class="fragment"><pre class="fragment">00061 {
267 00062 <a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp0">fFloatDataPtr</a> = dataPtr;
268 00063 printf(<span class="stringliteral">"\nbaselineValue = %f\n"</span>, baselineValue);
269 00064 cout << <span class="stringliteral">"Baseline correction not yet implemeted"</span> << endl;
270 00065 } <span class="comment">//end BaslineCorrection</span>
276 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera7" doxytag="AliHLTPHOSRawAnalyzerLMS::BaselineCorrection"></a><p>
277 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
280 <table cellpadding="0" cellspacing="0" border="0">
282 <td class="md" nowrap valign="top">void AliHLTPHOSRawAnalyzer::BaselineCorrection </td>
283 <td class="md" valign="top">( </td>
284 <td class="md" nowrap valign="top">double * </td>
285 <td class="mdname" nowrap> <em>dataPtr</em>, </td>
288 <td class="md" nowrap align="right"></td>
290 <td class="md" nowrap>int </td>
291 <td class="mdname" nowrap> <em>N</em></td>
295 <td class="md">) </td>
296 <td class="md" colspan="2"><code> [inherited]</code></td>
302 <table cellspacing="5" cellpadding="0" border="0">
310 Attemps to level the basline to zero. The baseline will be calculated from the pretrigger samples and subtracted from the data array. If pretrigger samples are not present then the basline correction will be incorrect. <dl compact><dt><b>Parameters:</b></dt><dd>
311 <table border="0" cellspacing="2" cellpadding="0">
312 <tr><td valign="top"></td><td valign="top"><em>dataPtr</em> </td><td>array for wich to correct the basline </td></tr>
313 <tr><td valign="top"></td><td valign="top"><em>N</em> </td><td>the number of pretrigger samples used to calculate the baseline. </td></tr>
318 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00045">45</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.
320 References <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00032">AliHLTPHOSRawAnalyzer::fFloatDataPtr</a>, and <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00039">AliHLTPHOSRawAnalyzer::n</a>.<div class="fragment"><pre class="fragment">00046 {
321 00047 <a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp0">fFloatDataPtr</a> = dataPtr;
322 00048 <a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp7">n</a>=N;
323 00049 cout << <span class="stringliteral">"Baseline correction not yet implemeted"</span> << endl;
324 00050 } <span class="comment">//end BaselineCorrection</span>
330 <a class="anchor" name="AliHLTPHOSRawAnalyzerLMSa5" doxytag="AliHLTPHOSRawAnalyzerLMS::Evaluate"></a><p>
331 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
334 <table cellpadding="0" cellspacing="0" border="0">
336 <td class="md" nowrap valign="top">void AliHLTPHOSRawAnalyzerLMS::Evaluate </td>
337 <td class="md" valign="top">( </td>
338 <td class="md" nowrap valign="top">int </td>
339 <td class="mdname" nowrap> <em>start</em> = <code>0</code>, </td>
342 <td class="md" nowrap align="right"></td>
344 <td class="md" nowrap>int </td>
345 <td class="mdname" nowrap> <em>length</em> = <code>100</code></td>
349 <td class="md">) </td>
350 <td class="md" colspan="2"><code> [virtual]</code></td>
356 <table cellspacing="5" cellpadding="0" border="0">
364 Extraction of timing and energy using the Peakfinde Algorithm. The. The parameters "start" and "length" defines a sub array of the data array that will be used for the the fit. If start+length must not exeed the total length of the Data array. "start" must be chosen as close as possible to t0. The baseline must also be subtracted. The length of "tVector" and "aVector" mus be equal to length. "index + length" must not exeed the length of the data array set in the constructor. <dl compact><dt><b>Parameters:</b></dt><dd>
365 <table border="0" cellspacing="2" cellpadding="0">
366 <tr><td valign="top"></td><td valign="top"><em>start</em> </td><td>the start index of the subarray of the data array. </td></tr>
367 <tr><td valign="top"></td><td valign="top"><em>length</em> </td><td>the number of samples to use starting from index </td></tr>
372 Implements <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzera14">AliHLTPHOSRawAnalyzer</a>.
374 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html#l00074">74</a> of file <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html">AliHLTPHOSRawAnalyzerLMS.cxx</a>.<div class="fragment"><pre class="fragment">00075 {
375 00076 <span class="comment">/*</span>
376 00077 <span class="comment"></span>
377 00078 <span class="comment"> */</span>
379 00080 <span class="comment">//thats all </span>
380 00081 } <span class="comment">//end FitLMS</span>
386 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera9" doxytag="AliHLTPHOSRawAnalyzerLMS::FindStartIndex"></a><p>
387 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
390 <table cellpadding="0" cellspacing="0" border="0">
392 <td class="md" nowrap valign="top">int AliHLTPHOSRawAnalyzer::FindStartIndex </td>
393 <td class="md" valign="top">( </td>
394 <td class="md" nowrap valign="top">double </td>
395 <td class="mdname1" valign="top" nowrap> <em>treshold</em> </td>
396 <td class="md" valign="top"> ) </td>
397 <td class="md" nowrap><code> [inherited]</code></td>
403 <table cellspacing="5" cellpadding="0" border="0">
413 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00109">109</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.<div class="fragment"><pre class="fragment">00110 {
414 00111 printf(<span class="stringliteral">"\ntreshold = %f \n"</span>, treshold);
415 00112 cout << <span class="stringliteral">"Find Start index not yet implemented"</span> << endl;
416 00113 <span class="keywordflow">return</span> 0;
417 00114 } <span class="comment">//end FindStartIndex</span>
423 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera11" doxytag="AliHLTPHOSRawAnalyzerLMS::GetEnergy"></a><p>
424 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
427 <table cellpadding="0" cellspacing="0" border="0">
429 <td class="md" nowrap valign="top">float AliHLTPHOSRawAnalyzer::GetEnergy </td>
430 <td class="md" valign="top">( </td>
431 <td class="mdname1" valign="top" nowrap> </td>
432 <td class="md" valign="top"> ) </td>
433 <td class="md" nowrap><code> [inherited]</code></td>
439 <table cellspacing="5" cellpadding="0" border="0">
447 Gives the time in entities of ADC channels (quantization levels). Absolute enrgy is found by multiplying with offline calibration constants.
449 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00084">84</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.<div class="fragment"><pre class="fragment">00085 {
450 00086 <span class="keywordflow">return</span> fDAmpl;
451 00087 } <span class="comment">//end GetEnergy</span>
457 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera10" doxytag="AliHLTPHOSRawAnalyzerLMS::GetTiming"></a><p>
458 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
461 <table cellpadding="0" cellspacing="0" border="0">
463 <td class="md" nowrap valign="top">float AliHLTPHOSRawAnalyzer::GetTiming </td>
464 <td class="md" valign="top">( </td>
465 <td class="mdname1" valign="top" nowrap> </td>
466 <td class="md" valign="top"> ) </td>
467 <td class="md" nowrap><code> [inherited]</code></td>
473 <table cellspacing="5" cellpadding="0" border="0">
481 Gives the timing in entities of sample indexes Physical time is found by multiplying with the sampling intervall (Ts).
483 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00073">73</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.<div class="fragment"><pre class="fragment">00074 {
484 00075 <span class="keywordflow">return</span> fDTof;
485 00076 } <span class="comment">//end GetTiming</span>
491 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera15" doxytag="AliHLTPHOSRawAnalyzerLMS::MakeInitialGuess"></a><p>
492 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
495 <table cellpadding="0" cellspacing="0" border="0">
497 <td class="md" nowrap valign="top">void AliHLTPHOSRawAnalyzer::MakeInitialGuess </td>
498 <td class="md" valign="top">( </td>
499 <td class="md" nowrap valign="top">int </td>
500 <td class="mdname1" valign="top" nowrap> <em>treshold</em> </td>
501 <td class="md" valign="top"> ) </td>
502 <td class="md" nowrap><code> [inherited]</code></td>
508 <table cellspacing="5" cellpadding="0" border="0">
516 This function applies only to the Chi and Least mean square fit. An initial guess is made based on the average of the first 5 samples and the first value exeeding threshold + this value. <dl compact><dt><b>Parameters:</b></dt><dd>
517 <table border="0" cellspacing="2" cellpadding="0">
518 <tr><td valign="top"></td><td valign="top"><em>treshold</em> </td><td>The index of the first value above treshold is ntaken to be the first value. </td></tr>
523 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00134">134</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.<div class="fragment"><pre class="fragment">00135 {
524 00136 printf(<span class="stringliteral">"\ntreshold = %d\n"</span>, treshold);
525 00137 cout << <span class="stringliteral">"Make initial guess not yet implemeted"</span> << endl;
532 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera14" doxytag="AliHLTPHOSRawAnalyzerLMS::MakeInitialGuess"></a><p>
533 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
536 <table cellpadding="0" cellspacing="0" border="0">
538 <td class="md" nowrap valign="top">void AliHLTPHOSRawAnalyzer::MakeInitialGuess </td>
539 <td class="md" valign="top">( </td>
540 <td class="mdname1" valign="top" nowrap> </td>
541 <td class="md" valign="top"> ) </td>
542 <td class="md" nowrap><code> [inherited]</code></td>
548 <table cellspacing="5" cellpadding="0" border="0">
556 This function applies only to the Chi and Least mean square fit. An initial guess is made based on the average of the first 5 samples and the first value exeeding this value.
558 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00122">122</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.<div class="fragment"><pre class="fragment">00123 {
559 00124 cout << <span class="stringliteral">"Make initial guess not yet implemeted"</span> << endl;
566 <a class="anchor" name="AliHLTPHOSRawAnalyzerLMSa3" doxytag="AliHLTPHOSRawAnalyzerLMS::operator="></a><p>
567 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
570 <table cellpadding="0" cellspacing="0" border="0">
572 <td class="md" nowrap valign="top"><a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html">AliHLTPHOSRawAnalyzerLMS</a>& AliHLTPHOSRawAnalyzerLMS::operator= </td>
573 <td class="md" valign="top">( </td>
574 <td class="md" nowrap valign="top">const </td>
575 <td class="mdname1" valign="top" nowrap> <em>AliHLTPHOSRawAnalyzerLMS</em> </td>
576 <td class="md" valign="top"> ) </td>
577 <td class="md" nowrap><code> [inline]</code></td>
583 <table cellspacing="5" cellpadding="0" border="0">
593 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8h-source.html#l00017">17</a> of file <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8h-source.html">AliHLTPHOSRawAnalyzerLMS.h</a>.<div class="fragment"><pre class="fragment">00018 {
594 00019 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
601 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera12" doxytag="AliHLTPHOSRawAnalyzerLMS::SetData"></a><p>
602 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
605 <table cellpadding="0" cellspacing="0" border="0">
607 <td class="md" nowrap valign="top">void AliHLTPHOSRawAnalyzer::SetData </td>
608 <td class="md" valign="top">( </td>
609 <td class="md" nowrap valign="top">double * </td>
610 <td class="mdname1" valign="top" nowrap> <em>data</em> </td>
611 <td class="md" valign="top"> ) </td>
612 <td class="md" nowrap><code> [inherited]</code></td>
618 <table cellspacing="5" cellpadding="0" border="0">
626 Set data array. Overrides data data array set in the constructor.
628 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00094">94</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.
630 References <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00032">AliHLTPHOSRawAnalyzer::fFloatDataPtr</a>.<div class="fragment"><pre class="fragment">00095 {
631 00096 <span class="comment">// double *dta;</span>
632 00097 <span class="comment">// dta = data;</span>
633 00098 <a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp0">fFloatDataPtr</a> = data;
634 00099 <span class="comment">// cout << "Set data not yet implemented" << endl;</span>
641 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFindera13" doxytag="AliHLTPHOSRawAnalyzerLMS::SetSampleFreq"></a><p>
642 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
645 <table cellpadding="0" cellspacing="0" border="0">
647 <td class="md" nowrap valign="top">void AliHLTPHOSRawAnalyzer::SetSampleFreq </td>
648 <td class="md" valign="top">( </td>
649 <td class="md" nowrap valign="top">double </td>
650 <td class="mdname1" valign="top" nowrap> <em>freq</em> </td>
651 <td class="md" valign="top"> ) </td>
652 <td class="md" nowrap><code> [inherited]</code></td>
658 <table cellspacing="5" cellpadding="0" border="0">
668 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00103">103</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html">AliHLTPHOSRawAnalyzer.cxx</a>.<div class="fragment"><pre class="fragment">00104 {
676 <hr><h2>Member Data Documentation</h2>
677 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFinderp6" doxytag="AliHLTPHOSRawAnalyzerLMS::fDAmpl"></a><p>
678 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
681 <table cellpadding="0" cellspacing="0" border="0">
683 <td class="md" nowrap valign="top">double <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp6">AliHLTPHOSRawAnalyzer::fDAmpl</a><code> [protected, inherited]</code> </td>
689 <table cellspacing="5" cellpadding="0" border="0">
697 Amplitude in entities of ADC levels
699 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00038">38</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html">AliHLTPHOSRawAnalyzer.h</a>. </td>
702 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFinderp3" doxytag="AliHLTPHOSRawAnalyzerLMS::fDAmplGuess"></a><p>
703 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
706 <table cellpadding="0" cellspacing="0" border="0">
708 <td class="md" nowrap valign="top">double <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp3">AliHLTPHOSRawAnalyzer::fDAmplGuess</a><code> [protected, inherited]</code> </td>
714 <table cellspacing="5" cellpadding="0" border="0">
722 Initial guess for amplitude
724 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00035">35</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html">AliHLTPHOSRawAnalyzer.h</a>. </td>
727 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFinderp5" doxytag="AliHLTPHOSRawAnalyzerLMS::fDTof"></a><p>
728 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
731 <table cellpadding="0" cellspacing="0" border="0">
733 <td class="md" nowrap valign="top">double <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp5">AliHLTPHOSRawAnalyzer::fDTof</a><code> [protected, inherited]</code> </td>
739 <table cellspacing="5" cellpadding="0" border="0">
747 Time of flight in entities of sample intervals
749 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00037">37</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html">AliHLTPHOSRawAnalyzer.h</a>. </td>
752 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFinderp2" doxytag="AliHLTPHOSRawAnalyzerLMS::fDTofGuess"></a><p>
753 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
756 <table cellpadding="0" cellspacing="0" border="0">
758 <td class="md" nowrap valign="top">double <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp2">AliHLTPHOSRawAnalyzer::fDTofGuess</a><code> [protected, inherited]</code> </td>
764 <table cellspacing="5" cellpadding="0" border="0">
774 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00034">34</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html">AliHLTPHOSRawAnalyzer.h</a>. </td>
777 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFinderp0" doxytag="AliHLTPHOSRawAnalyzerLMS::fFloatDataPtr"></a><p>
778 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
781 <table cellpadding="0" cellspacing="0" border="0">
783 <td class="md" nowrap valign="top">double* <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp0">AliHLTPHOSRawAnalyzer::fFloatDataPtr</a><code> [protected, inherited]</code> </td>
789 <table cellspacing="5" cellpadding="0" border="0">
797 Float representation of data that should be fitted
799 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00032">32</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html">AliHLTPHOSRawAnalyzer.h</a>.
801 Referenced by <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00029">AliHLTPHOSRawAnalyzer::AliHLTPHOSRawAnalyzer()</a>, <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00045">AliHLTPHOSRawAnalyzer::BaselineCorrection()</a>, and <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00094">AliHLTPHOSRawAnalyzer::SetData()</a>. </td>
804 <a class="anchor" name="AliHLTPHOSRawAnalyzerLMSr1" doxytag="AliHLTPHOSRawAnalyzerLMS::fPCovarPtrPtr"></a><p>
805 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
808 <table cellpadding="0" cellspacing="0" border="0">
810 <td class="md" nowrap valign="top">double** <a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSr1">AliHLTPHOSRawAnalyzerLMS::fPCovarPtrPtr</a><code> [private]</code> </td>
816 <table cellspacing="5" cellpadding="0" border="0">
824 Covariance matrix of the estimated parameters
826 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8h-source.html#l00026">26</a> of file <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8h-source.html">AliHLTPHOSRawAnalyzerLMS.h</a>. </td>
829 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFinderp1" doxytag="AliHLTPHOSRawAnalyzerLMS::fSampleFrequency"></a><p>
830 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
833 <table cellpadding="0" cellspacing="0" border="0">
835 <td class="md" nowrap valign="top">double <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp1">AliHLTPHOSRawAnalyzer::fSampleFrequency</a><code> [protected, inherited]</code> </td>
841 <table cellspacing="5" cellpadding="0" border="0">
849 The ADC sample frequency in MHz used under data taking
851 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00033">33</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html">AliHLTPHOSRawAnalyzer.h</a>.
853 Referenced by <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00029">AliHLTPHOSRawAnalyzer::AliHLTPHOSRawAnalyzer()</a>. </td>
856 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFinderp4" doxytag="AliHLTPHOSRawAnalyzerLMS::fTau"></a><p>
857 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
860 <table cellpadding="0" cellspacing="0" border="0">
862 <td class="md" nowrap valign="top">double <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp4">AliHLTPHOSRawAnalyzer::fTau</a><code> [protected, inherited]</code> </td>
868 <table cellspacing="5" cellpadding="0" border="0">
876 The risetime in micro seconds
878 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00036">36</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html">AliHLTPHOSRawAnalyzer.h</a>. </td>
881 <a class="anchor" name="AliHLTPHOSRawAnalyzerLMSr0" doxytag="AliHLTPHOSRawAnalyzerLMS::kfMCovarPtrPtr"></a><p>
882 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
885 <table cellpadding="0" cellspacing="0" border="0">
887 <td class="md" nowrap valign="top">double** <a class="el" href="classAliHLTPHOSRawAnalyzerLMS.html#AliHLTPHOSRawAnalyzerLMSr0">AliHLTPHOSRawAnalyzerLMS::kfMCovarPtrPtr</a><code> [private]</code> </td>
893 <table cellspacing="5" cellpadding="0" border="0">
901 Covariance matrix of the measurements
903 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8h-source.html#l00025">25</a> of file <a class="el" href="AliHLTPHOSRawAnalyzerLMS_8h-source.html">AliHLTPHOSRawAnalyzerLMS.h</a>. </td>
906 <a class="anchor" name="AliHLTPHOSRawAnalyzerPeakFinderp7" doxytag="AliHLTPHOSRawAnalyzerLMS::n"></a><p>
907 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
910 <table cellpadding="0" cellspacing="0" border="0">
912 <td class="md" nowrap valign="top">int <a class="el" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp7">AliHLTPHOSRawAnalyzer::n</a><code> [protected, inherited]</code> </td>
918 <table cellspacing="5" cellpadding="0" border="0">
928 Definition at line <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html#l00039">39</a> of file <a class="el" href="AliHLTPHOSRawAnalyzer_8h-source.html">AliHLTPHOSRawAnalyzer.h</a>.
930 Referenced by <a class="el" href="AliHLTPHOSRawAnalyzer_8cxx-source.html#l00045">AliHLTPHOSRawAnalyzer::BaselineCorrection()</a>. </td>
933 <hr>The documentation for this class was generated from the following files:<ul>
934 <li><a class="el" href="AliHLTPHOSRawAnalyzerLMS_8h-source.html">AliHLTPHOSRawAnalyzerLMS.h</a><li><a class="el" href="AliHLTPHOSRawAnalyzerLMS_8cxx-source.html">AliHLTPHOSRawAnalyzerLMS.cxx</a></ul>
935 <hr size="1"><address style="align: right;"><small>Generated on Wed Jan 17 21:56:44 2007 for AliHLTPHOS by
936 <a href="http://www.doxygen.org/index.html">
937 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>