slsDetectorPackage/slsDetectorSoftware/docs/html/eigerDetector_8h-source.html
bergamaschi 3f148c52a1 some more details fixed
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@4 951219d9-93cf-4727-9268-0efd64621fa3
2009-12-01 14:32:14 +00:00

92 lines
6.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>eigerDetector/eigerDetector.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>eigerDetector/eigerDetector.h</h1><a href="eigerDetector_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
<a name="l00002"></a>00002
<a name="l00003"></a>00003
<a name="l00004"></a>00004 <span class="preprocessor">#ifndef EIGER_DETECTOR_H</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define EIGER_DETECTOR_H</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span>
<a name="l00007"></a>00007 <span class="keyword">using namespace </span>std;
<a name="l00008"></a>00008
<a name="l00009"></a>00009
<a name="l00010"></a>00010
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="slsDetector_8h.html">slsDetector.h</a>"</span>
<a name="l00023"></a>00023
<a name="l00024"></a><a class="code" href="classeigerDetector.html">00024</a> <span class="keyword">class </span><a class="code" href="classeigerDetector.html">eigerDetector</a> : <span class="keyword">public</span> <a class="code" href="classslsDetector.html">slsDetector</a>{
<a name="l00025"></a>00025
<a name="l00026"></a>00026
<a name="l00027"></a>00027
<a name="l00028"></a>00028 <span class="keyword">public</span>:
<a name="l00029"></a>00029
<a name="l00030"></a>00030
<a name="l00031"></a>00031
<a name="l00038"></a>00038 <a class="code" href="classeigerDetector.html#591261cd5af00795657b44ee2681ced3">eigerDetector</a>(<span class="keywordtype">int</span> <span class="keywordtype">id</span>=0);
<a name="l00039"></a>00039 <span class="comment">//slsDetector(string const fname);</span>
<a name="l00041"></a><a class="code" href="classeigerDetector.html#aa968c7588fb7200a8764a08196ac549">00041</a> <span class="comment"></span> <a class="code" href="classeigerDetector.html#aa968c7588fb7200a8764a08196ac549">~eigerDetector</a>(){};
<a name="l00042"></a>00042
<a name="l00043"></a>00043
<a name="l00044"></a>00044
<a name="l00052"></a>00052 <a class="code" href="structsls__detector__module.html">sls_detector_module</a>* <a class="code" href="classeigerDetector.html#f24af0459e8eb45c1bc9c68a870e5094">readTrimFile</a>(string fname, <a class="code" href="structsls__detector__module.html">sls_detector_module</a>* myMod=NULL);
<a name="l00053"></a>00053
<a name="l00062"></a>00062 <span class="keywordtype">int</span> <a class="code" href="classeigerDetector.html#8380366bf7112021c49be8e6f29f18d8">writeTrimFile</a>(string fname, <a class="code" href="structsls__detector__module.html">sls_detector_module</a> mod);
<a name="l00063"></a>00063
<a name="l00071"></a>00071 <span class="keywordtype">int</span> <a class="code" href="classeigerDetector.html#8380366bf7112021c49be8e6f29f18d8">writeTrimFile</a>(string fname, <span class="keywordtype">int</span> imod);
<a name="l00072"></a>00072
<a name="l00073"></a>00073
<a name="l00087"></a>00087 <span class="keywordtype">int</span> <a class="code" href="classeigerDetector.html#5ad2bf5b10d17e8c4ad7ae6e81e647e0">writeDataFile</a>(string fname, <span class="keywordtype">float</span> *data, <span class="keywordtype">float</span> *err=NULL, <span class="keywordtype">float</span> *ang=NULL, <span class="keywordtype">char</span> dataformat=<span class="charliteral">'f'</span>, <span class="keywordtype">int</span> nch=-1);
<a name="l00088"></a>00088
<a name="l00095"></a>00095 <span class="keywordtype">int</span> <a class="code" href="classeigerDetector.html#5ad2bf5b10d17e8c4ad7ae6e81e647e0">writeDataFile</a>(string fname, <span class="keywordtype">int</span> *data);
<a name="l00096"></a>00096
<a name="l00110"></a>00110 <span class="keywordtype">int</span> <a class="code" href="classeigerDetector.html#4d0b7da609b9a0457656bfc8cf0a7997">readDataFile</a>(string fname, <span class="keywordtype">float</span> *data, <span class="keywordtype">float</span> *err=NULL, <span class="keywordtype">float</span> *ang=NULL, <span class="keywordtype">char</span> dataformat=<span class="charliteral">'f'</span>, <span class="keywordtype">int</span> nch=0);
<a name="l00111"></a>00111
<a name="l00118"></a>00118 <span class="keywordtype">int</span> <a class="code" href="classeigerDetector.html#4d0b7da609b9a0457656bfc8cf0a7997">readDataFile</a>(string fname, <span class="keywordtype">int</span> *data);
<a name="l00119"></a>00119
<a name="l00134"></a>00134 <span class="keywordtype">int</span> <a class="code" href="classeigerDetector.html#6b1b4b5328a5d8c423e9a7a8a950028f">readCalibrationFile</a>(string fname, <span class="keywordtype">float</span> &amp;gain, <span class="keywordtype">float</span> &amp;offset);
<a name="l00135"></a>00135
<a name="l00136"></a>00136
<a name="l00144"></a>00144 <span class="keywordtype">int</span> <a class="code" href="classeigerDetector.html#d5fbecfcc46cb151160c6011aa8e33b2">writeCalibrationFile</a>(string fname, <span class="keywordtype">float</span> gain, <span class="keywordtype">float</span> offset);
<a name="l00145"></a>00145
<a name="l00146"></a>00146
<a name="l00147"></a>00147
<a name="l00148"></a>00148
<a name="l00149"></a>00149
<a name="l00150"></a>00150
<a name="l00151"></a>00151
<a name="l00152"></a>00152
<a name="l00158"></a>00158 <span class="keywordtype">float</span>* <a class="code" href="classeigerDetector.html#3e0573baf38c37818c7769fb351010b3">decodeData</a>(<span class="keywordtype">int</span> *datain);
<a name="l00159"></a>00159
<a name="l00160"></a>00160
<a name="l00161"></a>00161
<a name="l00162"></a>00162
<a name="l00163"></a>00163
<a name="l00164"></a>00164 <span class="keyword">private</span>:
<a name="l00165"></a>00165
<a name="l00166"></a>00166
<a name="l00167"></a>00167 };
<a name="l00168"></a>00168
<a name="l00169"></a>00169
<a name="l00170"></a>00170 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 1 15:31:44 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>