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: TofDedxS1Cut Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li> |
13 |
<li><a href="files.html"><span>Files</span></a></li> |
14 |
</ul> |
15 |
</div> |
16 |
<div class="tabs"> |
17 |
<ul> |
18 |
<li><a href="annotated.html"><span>Class List</span></a></li> |
19 |
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
20 |
<li><a href="functions.html"><span>Class Members</span></a></li> |
21 |
</ul> |
22 |
</div> |
23 |
</div> |
24 |
<div class="contents"> |
25 |
<h1>TofDedxS1Cut Class Reference</h1><!-- doxytag: class="TofDedxS1Cut" --><!-- doxytag: inherits="PamCut" -->The TofQual cut. This cut is done for each S1 layer: if there is one and only one hit paddle for the layer, then the dE/dX of the paddle (referred to a specified track) must be less than a fixed threshold. NOTE: 'hit paddle' means that both TDC signals are present AND they are both 'good' (according to TOF definition of 'good' TDC signal). |
26 |
<a href="#_details">More...</a> |
27 |
<p> |
28 |
<code>#include <<a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a>></code> |
29 |
<p> |
30 |
<div class="dynheader"> |
31 |
Inheritance diagram for TofDedxS1Cut:</div> |
32 |
<div class="dynsection"> |
33 |
|
34 |
<p><center><img src="classTofDedxS1Cut.png" usemap="#TofDedxS1Cut_map" border="0" alt=""></center> |
35 |
<map name="TofDedxS1Cut_map"> |
36 |
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,93,24"> |
37 |
</map> |
38 |
</div> |
39 |
|
40 |
<p> |
41 |
<a href="classTofDedxS1Cut-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
42 |
<tr><td></td></tr> |
43 |
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
44 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTofDedxS1Cut.html#3e81f8af88c85178d0b0dbb65f112952">TofDedxS1Cut</a> (const char *cutName, float maxDedxS1, int *trackTof=NULL)</td></tr> |
45 |
|
46 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#3e81f8af88c85178d0b0dbb65f112952"></a><br></td></tr> |
47 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTofDedxS1Cut.html#0824d4588c896fd6ef59bc20e491d65b">~TofDedxS1Cut</a> ()</td></tr> |
48 |
|
49 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#0824d4588c896fd6ef59bc20e491d65b"></a><br></td></tr> |
50 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTofDedxS1Cut.html#28eb66874012caa199a3d78bf99c59ae">Check</a> (PamLevel2 *event)</td></tr> |
51 |
|
52 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The TofDedxS1 check. <a href="#28eb66874012caa199a3d78bf99c59ae"></a><br></td></tr> |
53 |
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> |
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classTofDedxS1Cut.html#c1ca7a7e8ba5656484720c43aefb6eb6">_maxDedxS1</a></td></tr> |
55 |
|
56 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTofDedxS1Cut.html#443130c89d8db06a3f74a2764393de55">_trackTof</a></td></tr> |
57 |
|
58 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTofDedxS1Cut.html#e0d378b2bc9e36f5ec3dac46f1f4a8cf">_nHitPadPair</a> [3]</td></tr> |
59 |
|
60 |
</table> |
61 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
62 |
The TofQual cut. This cut is done for each S1 layer: if there is one and only one hit paddle for the layer, then the dE/dX of the paddle (referred to a specified track) must be less than a fixed threshold. NOTE: 'hit paddle' means that both TDC signals are present AND they are both 'good' (according to TOF definition of 'good' TDC signal). |
63 |
<p> |
64 |
|
65 |
<p>Definition at line <a class="el" href="TofDedxS1Cut_8h_source.html#l00021">21</a> of file <a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a>.</p> |
66 |
<hr><h2>Constructor & Destructor Documentation</h2> |
67 |
<a class="anchor" name="3e81f8af88c85178d0b0dbb65f112952"></a><!-- doxytag: member="TofDedxS1Cut::TofDedxS1Cut" ref="3e81f8af88c85178d0b0dbb65f112952" args="(const char *cutName, float maxDedxS1, int *trackTof=NULL)" --> |
68 |
<div class="memitem"> |
69 |
<div class="memproto"> |
70 |
<table class="memname"> |
71 |
<tr> |
72 |
<td class="memname">TofDedxS1Cut::TofDedxS1Cut </td> |
73 |
<td>(</td> |
74 |
<td class="paramtype">const char * </td> |
75 |
<td class="paramname"> <em>cutName</em>, </td> |
76 |
</tr> |
77 |
<tr> |
78 |
<td class="paramkey"></td> |
79 |
<td></td> |
80 |
<td class="paramtype">float </td> |
81 |
<td class="paramname"> <em>maxDedxS1</em>, </td> |
82 |
</tr> |
83 |
<tr> |
84 |
<td class="paramkey"></td> |
85 |
<td></td> |
86 |
<td class="paramtype">int * </td> |
87 |
<td class="paramname"> <em>trackTof</em> = <code>NULL</code></td><td> </td> |
88 |
</tr> |
89 |
<tr> |
90 |
<td></td> |
91 |
<td>)</td> |
92 |
<td></td><td></td><td><code> [inline]</code></td> |
93 |
</tr> |
94 |
</table> |
95 |
</div> |
96 |
<div class="memdoc"> |
97 |
|
98 |
<p> |
99 |
Constructor. |
100 |
<p> |
101 |
The parameters are: maximum dE/dX for S1 layers and the TOF-index for the track which is necessary to input to derive the dE/dX for S1 layers.<p> |
102 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
103 |
<table border="0" cellspacing="2" cellpadding="0"> |
104 |
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The cut's name. </td></tr> |
105 |
<tr><td valign="top"></td><td valign="top"><em>maxDedxS1</em> </td><td>The maximum dE/dX for each S1 layer, for which the event is accepted </td></tr> |
106 |
<tr><td valign="top"></td><td valign="top"><em>trackTof</em> </td><td>Pointer to the TOF-index indicating the track to be used when evaluating the dE/dX for S1 layers (default value for TOF_index is 0, corresponding to the TOF stand-alone track [no TRK information to build the TOF stand-alone track]). The pointer to the TOF_index for TRK-track as given by <a class="el" href="classTrkPhSinCut.html" title="The single physical track cut. Only events with a single physical track (selected...">TrkPhSinCut</a> can be used. </td></tr> |
107 |
</table> |
108 |
</dl> |
109 |
|
110 |
<p>Definition at line <a class="el" href="TofDedxS1Cut_8h_source.html#l00033">33</a> of file <a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a>.</p> |
111 |
|
112 |
</div> |
113 |
</div><p> |
114 |
<a class="anchor" name="0824d4588c896fd6ef59bc20e491d65b"></a><!-- doxytag: member="TofDedxS1Cut::~TofDedxS1Cut" ref="0824d4588c896fd6ef59bc20e491d65b" args="()" --> |
115 |
<div class="memitem"> |
116 |
<div class="memproto"> |
117 |
<table class="memname"> |
118 |
<tr> |
119 |
<td class="memname">TofDedxS1Cut::~TofDedxS1Cut </td> |
120 |
<td>(</td> |
121 |
<td class="paramname"> </td> |
122 |
<td> ) </td> |
123 |
<td><code> [inline]</code></td> |
124 |
</tr> |
125 |
</table> |
126 |
</div> |
127 |
<div class="memdoc"> |
128 |
|
129 |
<p> |
130 |
Destructor. |
131 |
<p> |
132 |
|
133 |
<p>Definition at line <a class="el" href="TofDedxS1Cut_8h_source.html#l00037">37</a> of file <a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a>.</p> |
134 |
|
135 |
</div> |
136 |
</div><p> |
137 |
<hr><h2>Member Function Documentation</h2> |
138 |
<a class="anchor" name="28eb66874012caa199a3d78bf99c59ae"></a><!-- doxytag: member="TofDedxS1Cut::Check" ref="28eb66874012caa199a3d78bf99c59ae" args="(PamLevel2 *event)" --> |
139 |
<div class="memitem"> |
140 |
<div class="memproto"> |
141 |
<table class="memname"> |
142 |
<tr> |
143 |
<td class="memname">int TofDedxS1Cut::Check </td> |
144 |
<td>(</td> |
145 |
<td class="paramtype">PamLevel2 * </td> |
146 |
<td class="paramname"> <em>event</em> </td> |
147 |
<td> ) </td> |
148 |
<td><code> [virtual]</code></td> |
149 |
</tr> |
150 |
</table> |
151 |
</div> |
152 |
<div class="memdoc"> |
153 |
|
154 |
<p> |
155 |
The TofDedxS1 check. |
156 |
<p> |
157 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
158 |
<table border="0" cellspacing="2" cellpadding="0"> |
159 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
160 |
</table> |
161 |
</dl> |
162 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="CommonDefs_8h.html#c857f4b76ae431837cbf61fd74863b6c" title="The implementations of PamCut::Check() must return this value if the event satisfy...">CUTOK</a> if for each layer of S1 with one and only one hit paddle, the paddle dE/dX is less than a fixed threshold <p> |
163 |
0 otherwise </dd></dl> |
164 |
|
165 |
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
166 |
|
167 |
<p>Definition at line <a class="el" href="TofDedxS1Cut_8cpp_source.html#l00012">12</a> of file <a class="el" href="TofDedxS1Cut_8cpp_source.html">TofDedxS1Cut.cpp</a>.</p> |
168 |
|
169 |
<p>References <a class="el" href="TofDedxS1Cut_8h_source.html#l00050">_maxDedxS1</a>, <a class="el" href="TofDedxS1Cut_8h_source.html#l00051">_trackTof</a>, <a class="el" href="CommonDefs_8h_source.html#l00015">CUTOK</a>, and <a class="el" href="CommonDefs_8h_source.html#l00035">TOFNPADLAYER</a>.</p> |
170 |
|
171 |
</div> |
172 |
</div><p> |
173 |
<hr><h2>Member Data Documentation</h2> |
174 |
<a class="anchor" name="c1ca7a7e8ba5656484720c43aefb6eb6"></a><!-- doxytag: member="TofDedxS1Cut::_maxDedxS1" ref="c1ca7a7e8ba5656484720c43aefb6eb6" args="" --> |
175 |
<div class="memitem"> |
176 |
<div class="memproto"> |
177 |
<table class="memname"> |
178 |
<tr> |
179 |
<td class="memname">float <a class="el" href="classTofDedxS1Cut.html#c1ca7a7e8ba5656484720c43aefb6eb6">TofDedxS1Cut::_maxDedxS1</a><code> [private]</code> </td> |
180 |
</tr> |
181 |
</table> |
182 |
</div> |
183 |
<div class="memdoc"> |
184 |
|
185 |
<p> |
186 |
|
187 |
<p>Definition at line <a class="el" href="TofDedxS1Cut_8h_source.html#l00050">50</a> of file <a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a>.</p> |
188 |
|
189 |
<p>Referenced by <a class="el" href="TofDedxS1Cut_8cpp_source.html#l00012">Check()</a>.</p> |
190 |
|
191 |
</div> |
192 |
</div><p> |
193 |
<a class="anchor" name="e0d378b2bc9e36f5ec3dac46f1f4a8cf"></a><!-- doxytag: member="TofDedxS1Cut::_nHitPadPair" ref="e0d378b2bc9e36f5ec3dac46f1f4a8cf" args="[3]" --> |
194 |
<div class="memitem"> |
195 |
<div class="memproto"> |
196 |
<table class="memname"> |
197 |
<tr> |
198 |
<td class="memname">int <a class="el" href="classTofDedxS1Cut.html#e0d378b2bc9e36f5ec3dac46f1f4a8cf">TofDedxS1Cut::_nHitPadPair</a>[3]<code> [private]</code> </td> |
199 |
</tr> |
200 |
</table> |
201 |
</div> |
202 |
<div class="memdoc"> |
203 |
|
204 |
<p> |
205 |
|
206 |
<p>Definition at line <a class="el" href="TofDedxS1Cut_8h_source.html#l00052">52</a> of file <a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a>.</p> |
207 |
|
208 |
</div> |
209 |
</div><p> |
210 |
<a class="anchor" name="443130c89d8db06a3f74a2764393de55"></a><!-- doxytag: member="TofDedxS1Cut::_trackTof" ref="443130c89d8db06a3f74a2764393de55" args="" --> |
211 |
<div class="memitem"> |
212 |
<div class="memproto"> |
213 |
<table class="memname"> |
214 |
<tr> |
215 |
<td class="memname">int* <a class="el" href="classTofDedxS1Cut.html#443130c89d8db06a3f74a2764393de55">TofDedxS1Cut::_trackTof</a><code> [private]</code> </td> |
216 |
</tr> |
217 |
</table> |
218 |
</div> |
219 |
<div class="memdoc"> |
220 |
|
221 |
<p> |
222 |
|
223 |
<p>Definition at line <a class="el" href="TofDedxS1Cut_8h_source.html#l00051">51</a> of file <a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a>.</p> |
224 |
|
225 |
<p>Referenced by <a class="el" href="TofDedxS1Cut_8cpp_source.html#l00012">Check()</a>.</p> |
226 |
|
227 |
</div> |
228 |
</div><p> |
229 |
<hr>The documentation for this class was generated from the following files:<ul> |
230 |
<li>TofCuts/TofDedxS1Cut/<a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a><li>TofCuts/TofDedxS1Cut/<a class="el" href="TofDedxS1Cut_8cpp_source.html">TofDedxS1Cut.cpp</a></ul> |
231 |
</div> |
232 |
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:45 2009 for PamCut by |
233 |
<a href="http://www.doxygen.org/index.html"> |
234 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
235 |
</body> |
236 |
</html> |