1 |
pam-fi |
1.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/TofTopS1Cut/TofTopS1Cut.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/TofTopS1Cut/TofTopS1Cut.h</h1><a href="TofTopS1Cut_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"> * TofTopS1Cut.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</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 TOFTOPS1CUT_H_</span> |
30 |
|
|
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define TOFTOPS1CUT_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="l00020"></a><a class="code" href="classTofTopS1Cut.html">00020</a> <span class="keyword">class </span><a class="code" href="classTofTopS1Cut.html" title="The TofTopS1 cut. This cut ensures that no more than 2 PMT&#39;s on S1 are hit.">TofTopS1Cut</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="l00021"></a>00021 |
37 |
|
|
<a name="l00022"></a>00022 <span class="keyword">public</span>: |
38 |
|
|
<a name="l00024"></a><a class="code" href="classTofTopS1Cut.html#163dadf6690d746e156dc5fa621a4960">00024</a> <a class="code" href="classTofTopS1Cut.html#163dadf6690d746e156dc5fa621a4960" title="Constructor.">TofTopS1Cut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *cutName): <a class="code" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>(cutName){ |
39 |
|
|
<a name="l00025"></a>00025 } |
40 |
|
|
<a name="l00027"></a><a class="code" href="classTofTopS1Cut.html#0a8acc5fa1cc6d3810f8a8f72569fa8b">00027</a> <a class="code" href="classTofTopS1Cut.html#0a8acc5fa1cc6d3810f8a8f72569fa8b" title="Destructor.">~TofTopS1Cut</a>() { |
41 |
|
|
<a name="l00028"></a>00028 } |
42 |
|
|
<a name="l00029"></a>00029 |
43 |
|
|
<a name="l00036"></a>00036 <span class="keywordtype">int</span> <a class="code" href="classTofTopS1Cut.html#cd65ae025a3b089d8ea8c1809c023aba" title="The TofTopS1 check.">Check</a>(PamLevel2 *event); |
44 |
|
|
<a name="l00037"></a>00037 |
45 |
|
|
<a name="l00038"></a>00038 <span class="keyword">private</span>: |
46 |
|
|
<a name="l00039"></a>00039 |
47 |
|
|
<a name="l00040"></a><a class="code" href="classTofTopS1Cut.html#e9a8ef33fc866b77552615a1f4c7f8d7">00040</a> <span class="keywordtype">int</span> <a class="code" href="classTofTopS1Cut.html#e9a8ef33fc866b77552615a1f4c7f8d7">_nHitPmtPl</a>[2]; <span class="comment">// Number of hit PMT on each layer of S1</span> |
48 |
|
|
<a name="l00041"></a>00041 |
49 |
|
|
<a name="l00042"></a>00042 }; |
50 |
|
|
<a name="l00043"></a>00043 |
51 |
|
|
<a name="l00044"></a>00044 <span class="preprocessor">#endif </span><span class="comment">/* TOFTOPS1CUT_H_ */</span> |
52 |
|
|
</pre></div></div> |
53 |
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:27 2009 for PamCut by |
54 |
|
|
<a href="http://www.doxygen.org/index.html"> |
55 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
56 |
|
|
</body> |
57 |
|
|
</html> |