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: 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 |
pam-fi |
1.2 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0824d4588c896fd6ef59bc20e491d65b"></a><!-- doxytag: member="TofDedxS1Cut::~TofDedxS1Cut" ref="0824d4588c896fd6ef59bc20e491d65b" args="()" --> |
48 |
|
|
</td><td class="memItemRight" valign="bottom"><a class="el" href="classTofDedxS1Cut.html#0824d4588c896fd6ef59bc20e491d65b">~TofDedxS1Cut</a> ()</td></tr> |
49 |
pam-fi |
1.1 |
|
50 |
pam-fi |
1.2 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
51 |
pam-fi |
1.1 |
<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> |
52 |
|
|
|
53 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The TofDedxS1 check. <a href="#28eb66874012caa199a3d78bf99c59ae"></a><br></td></tr> |
54 |
|
|
</table> |
55 |
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2> |
56 |
|
|
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). |
57 |
|
|
<p> |
58 |
|
|
<hr><h2>Constructor & Destructor Documentation</h2> |
59 |
|
|
<a class="anchor" name="3e81f8af88c85178d0b0dbb65f112952"></a><!-- doxytag: member="TofDedxS1Cut::TofDedxS1Cut" ref="3e81f8af88c85178d0b0dbb65f112952" args="(const char *cutName, float maxDedxS1, int *trackTof=NULL)" --> |
60 |
|
|
<div class="memitem"> |
61 |
|
|
<div class="memproto"> |
62 |
|
|
<table class="memname"> |
63 |
|
|
<tr> |
64 |
|
|
<td class="memname">TofDedxS1Cut::TofDedxS1Cut </td> |
65 |
|
|
<td>(</td> |
66 |
|
|
<td class="paramtype">const char * </td> |
67 |
|
|
<td class="paramname"> <em>cutName</em>, </td> |
68 |
|
|
</tr> |
69 |
|
|
<tr> |
70 |
|
|
<td class="paramkey"></td> |
71 |
|
|
<td></td> |
72 |
|
|
<td class="paramtype">float </td> |
73 |
|
|
<td class="paramname"> <em>maxDedxS1</em>, </td> |
74 |
|
|
</tr> |
75 |
|
|
<tr> |
76 |
|
|
<td class="paramkey"></td> |
77 |
|
|
<td></td> |
78 |
|
|
<td class="paramtype">int * </td> |
79 |
|
|
<td class="paramname"> <em>trackTof</em> = <code>NULL</code></td><td> </td> |
80 |
|
|
</tr> |
81 |
|
|
<tr> |
82 |
|
|
<td></td> |
83 |
|
|
<td>)</td> |
84 |
|
|
<td></td><td></td><td><code> [inline]</code></td> |
85 |
|
|
</tr> |
86 |
|
|
</table> |
87 |
|
|
</div> |
88 |
|
|
<div class="memdoc"> |
89 |
|
|
|
90 |
|
|
<p> |
91 |
|
|
Constructor. |
92 |
|
|
<p> |
93 |
|
|
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> |
94 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
95 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
96 |
|
|
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The cut's name. </td></tr> |
97 |
|
|
<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> |
98 |
|
|
<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> |
99 |
|
|
</table> |
100 |
|
|
</dl> |
101 |
|
|
|
102 |
|
|
</div> |
103 |
|
|
</div><p> |
104 |
|
|
<hr><h2>Member Function Documentation</h2> |
105 |
|
|
<a class="anchor" name="28eb66874012caa199a3d78bf99c59ae"></a><!-- doxytag: member="TofDedxS1Cut::Check" ref="28eb66874012caa199a3d78bf99c59ae" args="(PamLevel2 *event)" --> |
106 |
|
|
<div class="memitem"> |
107 |
|
|
<div class="memproto"> |
108 |
|
|
<table class="memname"> |
109 |
|
|
<tr> |
110 |
|
|
<td class="memname">int TofDedxS1Cut::Check </td> |
111 |
|
|
<td>(</td> |
112 |
|
|
<td class="paramtype">PamLevel2 * </td> |
113 |
|
|
<td class="paramname"> <em>event</em> </td> |
114 |
|
|
<td> ) </td> |
115 |
|
|
<td><code> [virtual]</code></td> |
116 |
|
|
</tr> |
117 |
|
|
</table> |
118 |
|
|
</div> |
119 |
|
|
<div class="memdoc"> |
120 |
|
|
|
121 |
|
|
<p> |
122 |
|
|
The TofDedxS1 check. |
123 |
|
|
<p> |
124 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
125 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
126 |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
127 |
|
|
</table> |
128 |
|
|
</dl> |
129 |
|
|
<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> |
130 |
|
|
0 otherwise </dd></dl> |
131 |
|
|
|
132 |
|
|
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
133 |
|
|
|
134 |
|
|
</div> |
135 |
|
|
</div><p> |
136 |
|
|
<hr>The documentation for this class was generated from the following files:<ul> |
137 |
pam-fi |
1.2 |
<li>TofCuts/TofDedxS1Cut/<a class="el" href="TofDedxS1Cut_8h_source.html">TofDedxS1Cut.h</a><li>TofCuts/TofDedxS1Cut/<a class="el" href="TofDedxS1Cut_8cpp.html">TofDedxS1Cut.cpp</a></ul> |
138 |
pam-fi |
1.1 |
</div> |
139 |
pam-fi |
1.2 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:05 2009 for PamCut by |
140 |
pam-fi |
1.1 |
<a href="http://www.doxygen.org/index.html"> |
141 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
142 |
|
|
</body> |
143 |
|
|
</html> |