]>
Commit | Line | Data |
---|---|---|
6ab63b4a | 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"> | |
8562a9e6 | 3 | <title>AliHLTPHOS: AliHLTPHOSPulseGenerator.h Source File</title> |
6ab63b4a | 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 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>AliHLTPHOSPulseGenerator.h</h1><a href="AliHLTPHOSPulseGenerator_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="preprocessor">#ifndef ALIHLTPHOSPULSEGENERATOR_H</span> | |
9 | 00002 <span class="preprocessor"></span><span class="preprocessor">#define ALIHLTPHOSPULSEGENERATOR_H</span> | |
10 | 00003 <span class="preprocessor"></span><span class="comment">/* Copyright(c) 2006, 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">//#include <TObject.h></span> | |
14 | 00007 <span class="preprocessor">#include <Rtypes.h></span> | |
15 | 00008 | |
16 | <a name="l00009"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html">00009</a> <span class="keyword">class </span><a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a> | |
17 | 00010 { | |
18 | 00011 <span class="keyword">public</span>: | |
19 | 00012 <a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a>(); | |
20 | 00013 <span class="keyword">virtual</span> ~<a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a>(); | |
21 | 00014 <a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a>(<span class="keywordtype">double</span> a, <span class="keywordtype">double</span> t0, <span class="keyword">const</span> <span class="keywordtype">int</span> N, <span class="keyword">const</span> <span class="keywordtype">double</span> t, <span class="keyword">const</span> <span class="keywordtype">double</span> f); | |
22 | 00015 <a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a>(<span class="keyword">const</span> <a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a> & ); | |
8562a9e6 | 23 | <a name="l00016"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratora4">00016</a> <a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a> & operator = (<span class="keyword">const</span> <a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a>) |
6ab63b4a | 24 | 00017 { |
25 | 00018 <span class="keywordflow">return</span> *<span class="keyword">this</span>; | |
26 | 00019 } | |
27 | 00020 <span class="keywordtype">void</span> AddBaseline(<span class="keywordtype">double</span> baselineLevel, <span class="keywordtype">double</span> *samples); | |
28 | 00021 <span class="keywordtype">void</span> AddNoise(<span class="keywordtype">double</span> *dataPtr, <span class="keywordtype">double</span> *sigma); | |
29 | 00022 <span class="keywordtype">void</span> AddNoise(<span class="keywordtype">double</span> *dataPtr, <span class="keywordtype">double</span> *sigma, <span class="keywordtype">double</span> cutoff); | |
30 | 00023 <span class="keywordtype">double</span> *AddPretriggerSamples(<span class="keywordtype">double</span> baslineLevel, <span class="keywordtype">double</span> *samples); | |
31 | 00024 <span class="keywordtype">double</span> *GetPulse(); | |
32 | 00025 <span class="keywordtype">double</span> *GetPulse(<span class="keywordtype">double</span> a, <span class="keywordtype">double</span> t0); | |
33 | 00026 <span class="keywordtype">void</span> Quantisize(<span class="keywordtype">double</span> *dataPtr); | |
34 | 00027 <span class="keywordtype">void</span> SetAmplitude(<span class="keywordtype">double</span> a); | |
35 | 00028 <span class="keywordtype">void</span> SetDT(<span class="keywordtype">double</span> fs); | |
36 | 00029 <span class="keywordtype">void</span> SetTZero(<span class="keywordtype">double</span> t0); | |
37 | 00030 | |
38 | 00031 <span class="keyword">private</span>: | |
39 | 00032 <span class="keywordtype">void</span> MakePulse(<span class="keywordtype">double</span> *dtaPtr); | |
40 | 00033 <span class="keywordtype">void</span> MakePulse(<span class="keywordtype">double</span> *dtaPtr, <span class="keywordtype">double</span> ampl); | |
8562a9e6 | 41 | <a name="l00034"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratorr0">00034</a> <span class="keywordtype">double</span> fAmplitude; |
42 | <a name="l00035"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratorr1">00035</a> <span class="keywordtype">int</span> fNSamples; | |
43 | <a name="l00036"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratorr2">00036</a> <span class="keywordtype">double</span> fTau; | |
44 | <a name="l00037"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratorr3">00037</a> <span class="keywordtype">double</span> fSampleFreq; | |
45 | <a name="l00038"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratorr4">00038</a> <span class="keywordtype">double</span> fTZero; | |
46 | <a name="l00039"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratorr5">00039</a> <span class="keywordtype">double</span> *fDataPtr; <span class="comment">//[1000]</span> | |
47 | <a name="l00040"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratorr6">00040</a> <span class="keywordtype">double</span> fDT; | |
48 | <a name="l00041"></a><a class="code" href="classAliHLTPHOSPulseGenerator.html#AliHLTPHOSPulseGeneratorr7">00041</a> <span class="keywordtype">double</span> *fEvent; <span class="comment">//[1000]</span> | |
6ab63b4a | 49 | 00042 |
50 | 00043 ClassDef(<a class="code" href="classAliHLTPHOSPulseGenerator.html">AliHLTPHOSPulseGenerator</a>,1) | |
51 | 00044 | |
52 | 00045 }; | |
53 | 00046 | |
54 | 00047 <span class="preprocessor">#endif</span> | |
55 | 00048 <span class="preprocessor"></span> | |
8562a9e6 | 56 | </pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Jan 17 21:56:43 2007 for AliHLTPHOS by |
6ab63b4a | 57 | <a href="http://www.doxygen.org/index.html"> |
58 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address> | |
59 | </body> | |
60 | </html> |