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: TrkPhSinCut 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>TrkPhSinCut Class Reference</h1><!-- doxytag: class="TrkPhSinCut" --><!-- doxytag: inherits="PamCut" -->The single physical track cut. Only events with a single physical track (selected according to the specified sorting method) survive this selection. |
26 |
|
|
<a href="#_details">More...</a> |
27 |
|
|
<p> |
28 |
|
|
<code>#include <<a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a>></code> |
29 |
|
|
<p> |
30 |
|
|
<div class="dynheader"> |
31 |
|
|
Inheritance diagram for TrkPhSinCut:</div> |
32 |
|
|
<div class="dynsection"> |
33 |
|
|
|
34 |
|
|
<p><center><img src="classTrkPhSinCut.png" usemap="#TrkPhSinCut_map" border="0" alt=""></center> |
35 |
|
|
<map name="TrkPhSinCut_map"> |
36 |
|
|
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,82,24"> |
37 |
|
|
</map> |
38 |
|
|
</div> |
39 |
|
|
|
40 |
|
|
<p> |
41 |
|
|
<a href="classTrkPhSinCut-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="classTrkPhSinCut.html#059ae79141d4e39863874fb92bb1df6d">TrkPhSinCut</a> (const char *cutName, const char *sortingMethod)</td></tr> |
45 |
|
|
|
46 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#059ae79141d4e39863874fb92bb1df6d"></a><br></td></tr> |
47 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTrkPhSinCut.html#6dcbcf5f2b133f0493b2140d1d993907">~TrkPhSinCut</a> ()</td></tr> |
48 |
|
|
|
49 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#6dcbcf5f2b133f0493b2140d1d993907"></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="classTrkPhSinCut.html#c9529432c0c9b8667c5c97ea824a7c93">Check</a> (PamLevel2 *event)</td></tr> |
51 |
|
|
|
52 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The single physical track check. <a href="#c9529432c0c9b8667c5c97ea824a7c93"></a><br></td></tr> |
53 |
|
|
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
54 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classTrkPhSinCut.html#542b80112113dc6e915934cfec1bb6a5">iTrackTof</a></td></tr> |
55 |
|
|
|
56 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">TOF_index for TRK-track for the last good event. <a href="#542b80112113dc6e915934cfec1bb6a5"></a><br></td></tr> |
57 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">TrkTrack * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTrkPhSinCut.html#8e825d1bb1e530204caba55ebe4f3dda">trkTrack</a></td></tr> |
58 |
|
|
|
59 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The TrkTrack for the last good event. <a href="#8e825d1bb1e530204caba55ebe4f3dda"></a><br></td></tr> |
60 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">PamTrack * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTrkPhSinCut.html#f87ab859d5c5958d47ccef09ac7f9f65">pamTrack</a></td></tr> |
61 |
|
|
|
62 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The PamTrack for the last good event. <a href="#f87ab859d5c5958d47ccef09ac7f9f65"></a><br></td></tr> |
63 |
|
|
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> |
64 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTrkPhSinCut.html#8cfbff5ee817a3324c884a2a289b852e">_sortingMethod</a></td></tr> |
65 |
|
|
|
66 |
|
|
</table> |
67 |
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2> |
68 |
|
|
The single physical track cut. Only events with a single physical track (selected according to the specified sorting method) survive this selection. |
69 |
|
|
<p>Definition at line <a class="el" href="TrkPhSinCut_8h_source.html#l00019">19</a> of file <a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a>.</p> |
70 |
|
|
<hr><h2>Constructor & Destructor Documentation</h2> |
71 |
|
|
<a class="anchor" name="059ae79141d4e39863874fb92bb1df6d"></a><!-- doxytag: member="TrkPhSinCut::TrkPhSinCut" ref="059ae79141d4e39863874fb92bb1df6d" args="(const char *cutName, const char *sortingMethod)" --> |
72 |
|
|
<div class="memitem"> |
73 |
|
|
<div class="memproto"> |
74 |
|
|
<table class="memname"> |
75 |
|
|
<tr> |
76 |
|
|
<td class="memname">TrkPhSinCut::TrkPhSinCut </td> |
77 |
|
|
<td>(</td> |
78 |
|
|
<td class="paramtype">const char * </td> |
79 |
|
|
<td class="paramname"> <em>cutName</em>, </td> |
80 |
|
|
</tr> |
81 |
|
|
<tr> |
82 |
|
|
<td class="paramkey"></td> |
83 |
|
|
<td></td> |
84 |
|
|
<td class="paramtype">const char * </td> |
85 |
|
|
<td class="paramname"> <em>sortingMethod</em></td><td> </td> |
86 |
|
|
</tr> |
87 |
|
|
<tr> |
88 |
|
|
<td></td> |
89 |
|
|
<td>)</td> |
90 |
|
|
<td></td><td></td><td><code> [inline]</code></td> |
91 |
|
|
</tr> |
92 |
|
|
</table> |
93 |
|
|
</div> |
94 |
|
|
<div class="memdoc"> |
95 |
|
|
|
96 |
|
|
<p> |
97 |
|
|
Constructor. |
98 |
|
|
<p> |
99 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
100 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
101 |
|
|
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The cut's name. </td></tr> |
102 |
|
|
<tr><td valign="top"></td><td valign="top"><em>sortingMethod</em> </td><td>The sorting method to be used to select the track. </td></tr> |
103 |
|
|
</table> |
104 |
|
|
</dl> |
105 |
|
|
|
106 |
|
|
<p>Definition at line <a class="el" href="TrkPhSinCut_8h_source.html#l00028">28</a> of file <a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a>.</p> |
107 |
|
|
|
108 |
|
|
</div> |
109 |
|
|
</div><p> |
110 |
|
|
<a class="anchor" name="6dcbcf5f2b133f0493b2140d1d993907"></a><!-- doxytag: member="TrkPhSinCut::~TrkPhSinCut" ref="6dcbcf5f2b133f0493b2140d1d993907" args="()" --> |
111 |
|
|
<div class="memitem"> |
112 |
|
|
<div class="memproto"> |
113 |
|
|
<table class="memname"> |
114 |
|
|
<tr> |
115 |
|
|
<td class="memname">TrkPhSinCut::~TrkPhSinCut </td> |
116 |
|
|
<td>(</td> |
117 |
|
|
<td class="paramname"> </td> |
118 |
|
|
<td> ) </td> |
119 |
|
|
<td><code> [inline]</code></td> |
120 |
|
|
</tr> |
121 |
|
|
</table> |
122 |
|
|
</div> |
123 |
|
|
<div class="memdoc"> |
124 |
|
|
|
125 |
|
|
<p> |
126 |
|
|
Destructor. |
127 |
|
|
<p> |
128 |
|
|
|
129 |
|
|
<p>Definition at line <a class="el" href="TrkPhSinCut_8h_source.html#l00032">32</a> of file <a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a>.</p> |
130 |
|
|
|
131 |
|
|
</div> |
132 |
|
|
</div><p> |
133 |
|
|
<hr><h2>Member Function Documentation</h2> |
134 |
|
|
<a class="anchor" name="c9529432c0c9b8667c5c97ea824a7c93"></a><!-- doxytag: member="TrkPhSinCut::Check" ref="c9529432c0c9b8667c5c97ea824a7c93" args="(PamLevel2 *event)" --> |
135 |
|
|
<div class="memitem"> |
136 |
|
|
<div class="memproto"> |
137 |
|
|
<table class="memname"> |
138 |
|
|
<tr> |
139 |
|
|
<td class="memname">int TrkPhSinCut::Check </td> |
140 |
|
|
<td>(</td> |
141 |
|
|
<td class="paramtype">PamLevel2 * </td> |
142 |
|
|
<td class="paramname"> <em>event</em> </td> |
143 |
|
|
<td> ) </td> |
144 |
|
|
<td><code> [virtual]</code></td> |
145 |
|
|
</tr> |
146 |
|
|
</table> |
147 |
|
|
</div> |
148 |
|
|
<div class="memdoc"> |
149 |
|
|
|
150 |
|
|
<p> |
151 |
|
|
The single physical track check. |
152 |
|
|
<p> |
153 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
154 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
155 |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
156 |
|
|
</table> |
157 |
|
|
</dl> |
158 |
|
|
<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 a single physical track has been found in the event <p> |
159 |
|
|
0 if the event has not exactly one physical track or if the track is meaningless (nstep > 100 or chi2 < 0.) </dd></dl> |
160 |
|
|
|
161 |
|
|
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
162 |
|
|
|
163 |
|
|
<p>Definition at line <a class="el" href="TrkPhSinCut_8cpp_source.html#l00012">12</a> of file <a class="el" href="TrkPhSinCut_8cpp_source.html">TrkPhSinCut.cpp</a>.</p> |
164 |
|
|
|
165 |
|
|
<p>References <a class="el" href="TrkPhSinCut_8h_source.html#l00060">_sortingMethod</a>, <a class="el" href="CommonDefs_8h_source.html#l00015">CUTOK</a>, <a class="el" href="TrkPhSinCut_8h_source.html#l00044">iTrackTof</a>, <a class="el" href="TrkPhSinCut_8h_source.html#l00056">pamTrack</a>, and <a class="el" href="TrkPhSinCut_8h_source.html#l00050">trkTrack</a>.</p> |
166 |
|
|
|
167 |
|
|
</div> |
168 |
|
|
</div><p> |
169 |
|
|
<hr><h2>Member Data Documentation</h2> |
170 |
|
|
<a class="anchor" name="8cfbff5ee817a3324c884a2a289b852e"></a><!-- doxytag: member="TrkPhSinCut::_sortingMethod" ref="8cfbff5ee817a3324c884a2a289b852e" args="" --> |
171 |
|
|
<div class="memitem"> |
172 |
|
|
<div class="memproto"> |
173 |
|
|
<table class="memname"> |
174 |
|
|
<tr> |
175 |
|
|
<td class="memname">const char* <a class="el" href="classTrkPhSinCut.html#8cfbff5ee817a3324c884a2a289b852e">TrkPhSinCut::_sortingMethod</a><code> [private]</code> </td> |
176 |
|
|
</tr> |
177 |
|
|
</table> |
178 |
|
|
</div> |
179 |
|
|
<div class="memdoc"> |
180 |
|
|
|
181 |
|
|
<p> |
182 |
|
|
|
183 |
|
|
<p>Definition at line <a class="el" href="TrkPhSinCut_8h_source.html#l00060">60</a> of file <a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a>.</p> |
184 |
|
|
|
185 |
|
|
<p>Referenced by <a class="el" href="TrkPhSinCut_8cpp_source.html#l00012">Check()</a>.</p> |
186 |
|
|
|
187 |
|
|
</div> |
188 |
|
|
</div><p> |
189 |
|
|
<a class="anchor" name="542b80112113dc6e915934cfec1bb6a5"></a><!-- doxytag: member="TrkPhSinCut::iTrackTof" ref="542b80112113dc6e915934cfec1bb6a5" args="" --> |
190 |
|
|
<div class="memitem"> |
191 |
|
|
<div class="memproto"> |
192 |
|
|
<table class="memname"> |
193 |
|
|
<tr> |
194 |
|
|
<td class="memname">int <a class="el" href="classTrkPhSinCut.html#542b80112113dc6e915934cfec1bb6a5">TrkPhSinCut::iTrackTof</a> </td> |
195 |
|
|
</tr> |
196 |
|
|
</table> |
197 |
|
|
</div> |
198 |
|
|
<div class="memdoc"> |
199 |
|
|
|
200 |
|
|
<p> |
201 |
|
|
TOF_index for TRK-track for the last good event. |
202 |
|
|
<p> |
203 |
|
|
|
204 |
|
|
<p>Definition at line <a class="el" href="TrkPhSinCut_8h_source.html#l00044">44</a> of file <a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a>.</p> |
205 |
|
|
|
206 |
|
|
<p>Referenced by <a class="el" href="TrkPhSinCut_8cpp_source.html#l00012">Check()</a>.</p> |
207 |
|
|
|
208 |
|
|
</div> |
209 |
|
|
</div><p> |
210 |
|
|
<a class="anchor" name="f87ab859d5c5958d47ccef09ac7f9f65"></a><!-- doxytag: member="TrkPhSinCut::pamTrack" ref="f87ab859d5c5958d47ccef09ac7f9f65" args="" --> |
211 |
|
|
<div class="memitem"> |
212 |
|
|
<div class="memproto"> |
213 |
|
|
<table class="memname"> |
214 |
|
|
<tr> |
215 |
|
|
<td class="memname">PamTrack* <a class="el" href="classTrkPhSinCut.html#f87ab859d5c5958d47ccef09ac7f9f65">TrkPhSinCut::pamTrack</a> </td> |
216 |
|
|
</tr> |
217 |
|
|
</table> |
218 |
|
|
</div> |
219 |
|
|
<div class="memdoc"> |
220 |
|
|
|
221 |
|
|
<p> |
222 |
|
|
The PamTrack for the last good event. |
223 |
|
|
<p> |
224 |
|
|
When this cut checks an event, it stores its PamTrack (selected according to the specified sortingMethod). This can then be used by successive cuts. |
225 |
|
|
<p>Definition at line <a class="el" href="TrkPhSinCut_8h_source.html#l00056">56</a> of file <a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a>.</p> |
226 |
|
|
|
227 |
|
|
<p>Referenced by <a class="el" href="TrkPhSinCut_8cpp_source.html#l00012">Check()</a>.</p> |
228 |
|
|
|
229 |
|
|
</div> |
230 |
|
|
</div><p> |
231 |
|
|
<a class="anchor" name="8e825d1bb1e530204caba55ebe4f3dda"></a><!-- doxytag: member="TrkPhSinCut::trkTrack" ref="8e825d1bb1e530204caba55ebe4f3dda" args="" --> |
232 |
|
|
<div class="memitem"> |
233 |
|
|
<div class="memproto"> |
234 |
|
|
<table class="memname"> |
235 |
|
|
<tr> |
236 |
|
|
<td class="memname">TrkTrack* <a class="el" href="classTrkPhSinCut.html#8e825d1bb1e530204caba55ebe4f3dda">TrkPhSinCut::trkTrack</a> </td> |
237 |
|
|
</tr> |
238 |
|
|
</table> |
239 |
|
|
</div> |
240 |
|
|
<div class="memdoc"> |
241 |
|
|
|
242 |
|
|
<p> |
243 |
|
|
The TrkTrack for the last good event. |
244 |
|
|
<p> |
245 |
|
|
When this cut checks an event, it stores its TrkTrack (selected according to the specified sortingMethod). This can then be used by successive cuts. |
246 |
|
|
<p>Definition at line <a class="el" href="TrkPhSinCut_8h_source.html#l00050">50</a> of file <a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a>.</p> |
247 |
|
|
|
248 |
|
|
<p>Referenced by <a class="el" href="TrkPhSinCut_8cpp_source.html#l00012">Check()</a>.</p> |
249 |
|
|
|
250 |
|
|
</div> |
251 |
|
|
</div><p> |
252 |
|
|
<hr>The documentation for this class was generated from the following files:<ul> |
253 |
|
|
<li>TrkCuts/TrkPhSinCut/<a class="el" href="TrkPhSinCut_8h_source.html">TrkPhSinCut.h</a><li>TrkCuts/TrkPhSinCut/<a class="el" href="TrkPhSinCut_8cpp_source.html">TrkPhSinCut.cpp</a></ul> |
254 |
|
|
</div> |
255 |
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:53 2009 for PamCut by |
256 |
|
|
<a href="http://www.doxygen.org/index.html"> |
257 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
258 |
|
|
</body> |
259 |
|
|
</html> |