]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/html/AliHLTPHOSRawAnalyzer_8h-source.html
New documenation:wq
[u/mrichter/AliRoot.git] / HLT / PHOS / html / AliHLTPHOSRawAnalyzer_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: AliHLTPHOSRawAnalyzer.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="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="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 <h1>AliHLTPHOSRawAnalyzer.h</h1><a href="AliHLTPHOSRawAnalyzer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="preprocessor">#ifndef ALIHLTPHOSRAWANALYZER_H</span>
9 00002 <span class="preprocessor"></span><span class="preprocessor">#define ALIHLTPHOSRAWANALYZER_H</span>
10 00003 <span class="preprocessor"></span><span class="comment">/* Copyright(c) 1998-2004, ALICE Experiment at CERN, All rights reserved. *</span>
11 00004 <span class="comment"> * See cxx source for full Copyright notice                               */</span>
12 00005 
13 00006 <span class="comment">/* $Id$ */</span>
14 00007 
15 00008 <span class="preprocessor">#include "Rtypes.h"</span>
16 00009 
17 <a name="l00010"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html">00010</a> <span class="keyword">class </span><a class="code" href="classAliHLTPHOSRawAnalyzer.html">AliHLTPHOSRawAnalyzer</a>
18 00011 {
19 00012  <span class="keyword">public</span>:
20 00013   <a class="code" href="classAliHLTPHOSRawAnalyzer.html">AliHLTPHOSRawAnalyzer</a>();
21 00014   <span class="keyword">virtual</span> ~<a class="code" href="classAliHLTPHOSRawAnalyzer.html">AliHLTPHOSRawAnalyzer</a>();
22 00015   <a class="code" href="classAliHLTPHOSRawAnalyzer.html">AliHLTPHOSRawAnalyzer</a>(<span class="keywordtype">double</span> *dataPtr, <span class="keywordtype">double</span> fs);
23 00016   <a class="code" href="classAliHLTPHOSRawAnalyzer.html">AliHLTPHOSRawAnalyzer</a>(<span class="keyword">const</span> <a class="code" href="classAliHLTPHOSRawAnalyzer.html">AliHLTPHOSRawAnalyzer</a> &amp; );
24 <a name="l00017"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzera4">00017</a>   <a class="code" href="classAliHLTPHOSRawAnalyzer.html">AliHLTPHOSRawAnalyzer</a> &amp; operator = (<span class="keyword">const</span> <a class="code" href="classAliHLTPHOSRawAnalyzer.html">AliHLTPHOSRawAnalyzer</a> &amp;)
25 00018     {
26 00019       <span class="keywordflow">return</span> *<span class="keyword">this</span>;
27 00020     }
28 00021 
29 00022   <span class="keywordtype">void</span> BaselineCorrection(<span class="keywordtype">double</span> *dataPtr, <span class="keywordtype">int</span> N);
30 00023   <span class="keywordtype">void</span> BaselineCorrection(<span class="keywordtype">double</span> *dataPtr, <span class="keywordtype">double</span> baselineValue);  
31 00024   <span class="keywordtype">int</span> FindStartIndex(<span class="keywordtype">double</span> treshold);
32 00025   <span class="keywordtype">float</span> GetTiming();
33 00026   <span class="keywordtype">float</span> GetEnergy();
34 00027   <span class="keywordtype">void</span> SetData(<span class="keywordtype">double</span> *data);
35 00028   <span class="keywordtype">void</span> SetSampleFreq(<span class="keywordtype">double</span> freq);
36 00029   <span class="keywordtype">void</span> SetStartIndex(<span class="keywordtype">int</span> startIndex);
37 00030   <span class="keywordtype">void</span> MakeInitialGuess();
38 00031   <span class="keywordtype">void</span> MakeInitialGuess(<span class="keywordtype">int</span> treshold);
39 00032   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetTVector(Double_t *tVector, Int_t size);
40 00033   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetAVector(Double_t *aVector, Int_t size);
41 00034   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Evaluate(<span class="keywordtype">int</span> start = 0, <span class="keywordtype">int</span> lenght = 100) = 0;
42 00035   Double_t GetMaxValue(Double_t *dta, Int_t size);
43 00036 
44 00037  <span class="keyword">protected</span>:
45 <a name="l00038"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp0">00038</a>   Double_t   *fFloatDataPtr;   
46 <a name="l00039"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp1">00039</a>   <span class="keywordtype">double</span>     fSampleFrequency; 
47 <a name="l00040"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp2">00040</a>   <span class="keywordtype">double</span>     fDTofGuess;       
48 <a name="l00041"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp3">00041</a>   <span class="keywordtype">double</span>     fDAmplGuess;      
49 <a name="l00042"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp4">00042</a>   <span class="keywordtype">double</span>     fTau;             
50 <a name="l00043"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp5">00043</a>   <span class="keywordtype">double</span>     fDTof;            
51 <a name="l00044"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp6">00044</a>   <span class="keywordtype">double</span>     fDAmpl;           
52 00045   <span class="comment">//  int        n;</span>
53 <a name="l00046"></a><a class="code" href="classAliHLTPHOSRawAnalyzer.html#AliHLTPHOSRawAnalyzerPeakFinderp7">00046</a>   <span class="keywordtype">int</span>        fStartIndex;
54 00047 };
55 00048 
56 00049 
57 00050 <span class="preprocessor">#endif</span>
58 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Feb 18 22:17:03 2007 for AliHLTPHOS by&nbsp;
59 <a href="http://www.doxygen.org/index.html">
60 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
61 </body>
62 </html>