1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
3 |
<title>PamCut: TofCuts/TofBetaCut/TofBetaCut.h Source File</title> |
4 |
<link href="tabs.css" rel="stylesheet" type="text/css"> |
5 |
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
6 |
</head><body> |
7 |
<!-- Generated by Doxygen 1.5.9 --> |
8 |
<div class="navigation" id="top"> |
9 |
<div class="tabs"> |
10 |
<ul> |
11 |
<li><a href="index.html"><span>Main Page</span></a></li> |
12 |
<li><a href="annotated.html"><span>Classes</span></a></li> |
13 |
<li class="current"><a href="files.html"><span>Files</span></a></li> |
14 |
</ul> |
15 |
</div> |
16 |
<div class="tabs"> |
17 |
<ul> |
18 |
<li><a href="files.html"><span>File List</span></a></li> |
19 |
<li><a href="globals.html"><span>File Members</span></a></li> |
20 |
</ul> |
21 |
</div> |
22 |
<h1>TofCuts/TofBetaCut/TofBetaCut.h</h1><a href="TofBetaCut_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
23 |
<a name="l00002"></a>00002 <span class="comment"> * TofBetaCut.h</span> |
24 |
<a name="l00003"></a>00003 <span class="comment"> *</span> |
25 |
<a name="l00004"></a>00004 <span class="comment"> * Created on: 13-mar-2009</span> |
26 |
<a name="l00005"></a>00005 <span class="comment"> * Author: Nicola Mori, S. Ricciarini</span> |
27 |
<a name="l00006"></a>00006 <span class="comment"> */</span> |
28 |
<a name="l00007"></a>00007 |
29 |
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef TOFBETACUT_H_</span> |
30 |
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define TOFBETACUT_H_</span> |
31 |
<a name="l00012"></a>00012 <span class="preprocessor"></span> |
32 |
<a name="l00013"></a>00013 <span class="preprocessor">#include "../../PamCutBase/PamCutBase.h"</span> |
33 |
<a name="l00014"></a>00014 |
34 |
<a name="l00015"></a>00015 |
35 |
<a name="l00021"></a><a class="code" href="classTofBetaCut.html">00021</a> <span class="keyword">class </span><a class="code" href="classTofBetaCut.html" title="The TofBeta cut. This cut ensures that beta (referred to a specified track) has been...">TofBetaCut</a>: <span class="keyword">public</span> <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> { |
36 |
<a name="l00022"></a>00022 |
37 |
<a name="l00023"></a>00023 <span class="keyword">public</span>: |
38 |
<a name="l00024"></a>00024 |
39 |
<a name="l00038"></a><a class="code" href="classTofBetaCut.html#f3558a0925e5aad26b67e550ca490e08">00038</a> <a class="code" href="classTofBetaCut.html#f3558a0925e5aad26b67e550ca490e08" title="Constructor. The parameters are: the TOF-index for the track which is necessary to...">TofBetaCut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName, <span class="keywordtype">int</span> *trackTof=NULL, <span class="keywordtype">float</span> resMax=10., <span class="keywordtype">float</span> qualCut=10., <span class="keywordtype">float</span> chi2Cut=20.): |
40 |
<a name="l00039"></a>00039 <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName), _trackTof(trackTof), _resMax(resMax), _qualCut(qualCut), _chi2Cut(chi2Cut) { |
41 |
<a name="l00040"></a>00040 } |
42 |
<a name="l00042"></a><a class="code" href="classTofBetaCut.html#4d602e5ad6f57d9c1c81e37695cafb32">00042</a> <a class="code" href="classTofBetaCut.html#4d602e5ad6f57d9c1c81e37695cafb32" title="Destructor.">~TofBetaCut</a>() { |
43 |
<a name="l00043"></a>00043 } |
44 |
<a name="l00044"></a>00044 |
45 |
<a name="l00051"></a>00051 <span class="keywordtype">int</span> <a class="code" href="classTofBetaCut.html#8be0aa44a411b218f7dcf502b53864ff" title="The TofBeta check.">Check</a>(PamLevel2 *event); |
46 |
<a name="l00052"></a>00052 |
47 |
<a name="l00053"></a><a class="code" href="classTofBetaCut.html#967ed6b17cccf6d5028ae2d97e2e86a7">00053</a> <span class="keywordtype">float</span> <a class="code" href="classTofBetaCut.html#967ed6b17cccf6d5028ae2d97e2e86a7" title="The beta value for the last examined event.">beta</a>; |
48 |
<a name="l00054"></a>00054 |
49 |
<a name="l00055"></a>00055 <span class="keyword">private</span>: |
50 |
<a name="l00056"></a>00056 |
51 |
<a name="l00057"></a>00057 <span class="keywordtype">int</span> *_trackTof; |
52 |
<a name="l00058"></a>00058 |
53 |
<a name="l00059"></a>00059 <span class="keywordtype">float</span> _resMax, _qualCut, _chi2Cut; |
54 |
<a name="l00060"></a>00060 |
55 |
<a name="l00061"></a>00061 }; |
56 |
<a name="l00062"></a>00062 |
57 |
<a name="l00063"></a>00063 <span class="preprocessor">#endif </span><span class="comment">/* TOFBETACUT_H_ */</span> |
58 |
</pre></div></div> |
59 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:58 2009 for PamCut by |
60 |
<a href="http://www.doxygen.org/index.html"> |
61 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
62 |
</body> |
63 |
</html> |