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: CaloNotIntCut 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>CaloNotIntCut Class Reference</h1><!-- doxytag: class="CaloNotIntCut" --><!-- doxytag: inherits="PamCut" -->The non-interacting track cut. This check discards all the events who interacts in the calorimeter. It is possible to choose the track to use for the check. To improve computation speed, Check does NOT computes the track for the event; the track information is supposed to lie in some external object, whose address has to be passed to the constructor. The user is then demanded to fill this external object with the proper track information for the current event before calling Check or ApplyCut. Currently, only the check with the calorimeter track is implemented. |
26 |
<a href="#_details">More...</a> |
27 |
<p> |
28 |
<code>#include <<a class="el" href="CaloNotIntCut_8h_source.html">CaloNotIntCut.h</a>></code> |
29 |
<p> |
30 |
<div class="dynheader"> |
31 |
Inheritance diagram for CaloNotIntCut:</div> |
32 |
<div class="dynsection"> |
33 |
|
34 |
<p><center><img src="classCaloNotIntCut.png" usemap="#CaloNotIntCut_map" border="0" alt=""></center> |
35 |
<map name="CaloNotIntCut_map"> |
36 |
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,89,24"> |
37 |
</map> |
38 |
</div> |
39 |
|
40 |
<p> |
41 |
<a href="classCaloNotIntCut-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="classCaloNotIntCut.html#9ea488ce3469e0be3938b68b24f49df8">CaloNotIntCut</a> (const char *cutName, TrkTrack *trkTrack, float qRatioMin=0.8)</td></tr> |
45 |
|
46 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor for tracker track. Use this constructor if you want to use the tracker track to perform the non-interaction check. <a href="#9ea488ce3469e0be3938b68b24f49df8"></a><br></td></tr> |
47 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNotIntCut.html#73c1ff477c355987d9e0ac071b88b2af">CaloNotIntCut</a> (const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float qRatioMin=0.8)</td></tr> |
48 |
|
49 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor for calorimeter track. Use this constructor if you want to use the calorimeter track to perform the non-interaction check. <a href="#73c1ff477c355987d9e0ac071b88b2af"></a><br></td></tr> |
50 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="12e8cc131ace028f5540ca2093d661ec"></a><!-- doxytag: member="CaloNotIntCut::~CaloNotIntCut" ref="12e8cc131ace028f5540ca2093d661ec" args="()" --> |
51 |
</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNotIntCut.html#12e8cc131ace028f5540ca2093d661ec">~CaloNotIntCut</a> ()</td></tr> |
52 |
|
53 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloNotIntCut.html#b2b6fd2f100cc967156633edf18a346a">Check</a> (PamLevel2 *event)</td></tr> |
55 |
|
56 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The non-interacting track check. <a href="#b2b6fd2f100cc967156633edf18a346a"></a><br></td></tr> |
57 |
</table> |
58 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
59 |
The non-interacting track cut. This check discards all the events who interacts in the calorimeter. It is possible to choose the track to use for the check. To improve computation speed, Check does NOT computes the track for the event; the track information is supposed to lie in some external object, whose address has to be passed to the constructor. The user is then demanded to fill this external object with the proper track information for the current event before calling Check or ApplyCut. Currently, only the check with the calorimeter track is implemented. |
60 |
<p> |
61 |
CUT DEPENDENCIES: <a class="el" href="classCaloTrackCut.html" title="The calorimeter track cut. Checks for the existence of a track in the calorimeter...">CaloTrackCut</a> for the existence of the track (it can also provide the CaloAxis objects). <hr><h2>Constructor & Destructor Documentation</h2> |
62 |
<a class="anchor" name="9ea488ce3469e0be3938b68b24f49df8"></a><!-- doxytag: member="CaloNotIntCut::CaloNotIntCut" ref="9ea488ce3469e0be3938b68b24f49df8" args="(const char *cutName, TrkTrack *trkTrack, float qRatioMin=0.8)" --> |
63 |
<div class="memitem"> |
64 |
<div class="memproto"> |
65 |
<table class="memname"> |
66 |
<tr> |
67 |
<td class="memname">CaloNotIntCut::CaloNotIntCut </td> |
68 |
<td>(</td> |
69 |
<td class="paramtype">const char * </td> |
70 |
<td class="paramname"> <em>cutName</em>, </td> |
71 |
</tr> |
72 |
<tr> |
73 |
<td class="paramkey"></td> |
74 |
<td></td> |
75 |
<td class="paramtype">TrkTrack * </td> |
76 |
<td class="paramname"> <em>trkTrack</em>, </td> |
77 |
</tr> |
78 |
<tr> |
79 |
<td class="paramkey"></td> |
80 |
<td></td> |
81 |
<td class="paramtype">float </td> |
82 |
<td class="paramname"> <em>qRatioMin</em> = <code>0.8</code></td><td> </td> |
83 |
</tr> |
84 |
<tr> |
85 |
<td></td> |
86 |
<td>)</td> |
87 |
<td></td><td></td><td><code> [inline]</code></td> |
88 |
</tr> |
89 |
</table> |
90 |
</div> |
91 |
<div class="memdoc"> |
92 |
|
93 |
<p> |
94 |
Constructor for tracker track. Use this constructor if you want to use the tracker track to perform the non-interaction check. |
95 |
<p> |
96 |
NOTE: <a class="el" href="classCaloNotIntCut.html#b2b6fd2f100cc967156633edf18a346a" title="The non-interacting track check.">Check()</a> for this constructor is not implemented yet.<p> |
97 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
98 |
<table border="0" cellspacing="2" cellpadding="0"> |
99 |
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The name of the cut. </td></tr> |
100 |
<tr><td valign="top"></td><td valign="top"><em>trkTrack</em> </td><td>Pointer to the tracker track object. * </td></tr> |
101 |
<tr><td valign="top"></td><td valign="top"><em>qRatioMin</em> </td><td>The minimum threshold for the ratio between track charge and total charge in CALO. </td></tr> |
102 |
</table> |
103 |
</dl> |
104 |
|
105 |
</div> |
106 |
</div><p> |
107 |
<a class="anchor" name="73c1ff477c355987d9e0ac071b88b2af"></a><!-- doxytag: member="CaloNotIntCut::CaloNotIntCut" ref="73c1ff477c355987d9e0ac071b88b2af" args="(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float qRatioMin=0.8)" --> |
108 |
<div class="memitem"> |
109 |
<div class="memproto"> |
110 |
<table class="memname"> |
111 |
<tr> |
112 |
<td class="memname">CaloNotIntCut::CaloNotIntCut </td> |
113 |
<td>(</td> |
114 |
<td class="paramtype">const char * </td> |
115 |
<td class="paramname"> <em>cutName</em>, </td> |
116 |
</tr> |
117 |
<tr> |
118 |
<td class="paramkey"></td> |
119 |
<td></td> |
120 |
<td class="paramtype">CaloAxis * </td> |
121 |
<td class="paramname"> <em>xCaloAxis</em>, </td> |
122 |
</tr> |
123 |
<tr> |
124 |
<td class="paramkey"></td> |
125 |
<td></td> |
126 |
<td class="paramtype">CaloAxis * </td> |
127 |
<td class="paramname"> <em>yCaloAxis</em>, </td> |
128 |
</tr> |
129 |
<tr> |
130 |
<td class="paramkey"></td> |
131 |
<td></td> |
132 |
<td class="paramtype">float </td> |
133 |
<td class="paramname"> <em>qRatioMin</em> = <code>0.8</code></td><td> </td> |
134 |
</tr> |
135 |
<tr> |
136 |
<td></td> |
137 |
<td>)</td> |
138 |
<td></td><td></td><td><code> [inline]</code></td> |
139 |
</tr> |
140 |
</table> |
141 |
</div> |
142 |
<div class="memdoc"> |
143 |
|
144 |
<p> |
145 |
Constructor for calorimeter track. Use this constructor if you want to use the calorimeter track to perform the non-interaction check. |
146 |
<p> |
147 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
148 |
<table border="0" cellspacing="2" cellpadding="0"> |
149 |
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The name of the cut. </td></tr> |
150 |
<tr><td valign="top"></td><td valign="top"><em>xCaloAxis</em> </td><td>The pointer to the CaloAxis object for X axis </td></tr> |
151 |
<tr><td valign="top"></td><td valign="top"><em>yCaloAxis</em> </td><td>The pointer to the CaloAxis object for Y axis </td></tr> |
152 |
<tr><td valign="top"></td><td valign="top"><em>qRatioMin</em> </td><td>The minimum threshold for the ratio between track charge and total charge in CALO. </td></tr> |
153 |
</table> |
154 |
</dl> |
155 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
156 |
|
157 |
</div> |
158 |
</div><p> |
159 |
<hr><h2>Member Function Documentation</h2> |
160 |
<a class="anchor" name="b2b6fd2f100cc967156633edf18a346a"></a><!-- doxytag: member="CaloNotIntCut::Check" ref="b2b6fd2f100cc967156633edf18a346a" args="(PamLevel2 *event)" --> |
161 |
<div class="memitem"> |
162 |
<div class="memproto"> |
163 |
<table class="memname"> |
164 |
<tr> |
165 |
<td class="memname">int CaloNotIntCut::Check </td> |
166 |
<td>(</td> |
167 |
<td class="paramtype">PamLevel2 * </td> |
168 |
<td class="paramname"> <em>event</em> </td> |
169 |
<td> ) </td> |
170 |
<td><code> [virtual]</code></td> |
171 |
</tr> |
172 |
</table> |
173 |
</div> |
174 |
<div class="memdoc"> |
175 |
|
176 |
<p> |
177 |
The non-interacting track check. |
178 |
<p> |
179 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
180 |
<table border="0" cellspacing="2" cellpadding="0"> |
181 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
182 |
</table> |
183 |
</dl> |
184 |
<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 the ratio between the charge released along the Calo track and the total released charge is greater than qRatioMin. <p> |
185 |
0 otherwise. </dd></dl> |
186 |
|
187 |
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
188 |
|
189 |
</div> |
190 |
</div><p> |
191 |
<hr>The documentation for this class was generated from the following files:<ul> |
192 |
<li>CaloCuts/CaloNotIntCut/<a class="el" href="CaloNotIntCut_8h_source.html">CaloNotIntCut.h</a><li>CaloCuts/CaloNotIntCut/<a class="el" href="CaloNotIntCut_8cpp.html">CaloNotIntCut.cpp</a></ul> |
193 |
</div> |
194 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:00 2009 for PamCut by |
195 |
<a href="http://www.doxygen.org/index.html"> |
196 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
197 |
</body> |
198 |
</html> |