| 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: CaloGeomCut 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>CaloGeomCut Class Reference</h1><!-- doxytag: class="CaloGeomCut" --><!-- doxytag: inherits="PamCut" -->The geometric cut using the calorimeter's track. |
| 26 |
|
|
<a href="#_details">More...</a> |
| 27 |
|
|
<p> |
| 28 |
|
|
<code>#include <<a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a>></code> |
| 29 |
|
|
<p> |
| 30 |
|
|
<div class="dynheader"> |
| 31 |
|
|
Inheritance diagram for CaloGeomCut:</div> |
| 32 |
|
|
<div class="dynsection"> |
| 33 |
|
|
|
| 34 |
|
|
<p><center><img src="classCaloGeomCut.png" usemap="#CaloGeomCut_map" border="0" alt=""></center> |
| 35 |
|
|
<map name="CaloGeomCut_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="classCaloGeomCut-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="classCaloGeomCut.html#2ea81481d3f2a0c58dbdf865b51d91ca">CaloGeomCut</a> (const char *cutName, <a class="el" href="classCaloAxis.html">CaloAxis</a> *xCaloAxis, <a class="el" href="classCaloAxis.html">CaloAxis</a> *yCaloAxis, float xTolCaloTrack=0.7, float yTolCaloTrack=0.7)</td></tr> |
| 45 |
|
|
|
| 46 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#2ea81481d3f2a0c58dbdf865b51d91ca"></a><br></td></tr> |
| 47 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloGeomCut.html#fca3678606b1ca4e9c347c4fd620a97d">~CaloGeomCut</a> ()</td></tr> |
| 48 |
|
|
|
| 49 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#fca3678606b1ca4e9c347c4fd620a97d"></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="classCaloGeomCut.html#ef28e99e442a7ab58fb8250107ac82e9">Check</a> (PamLevel2 *event)</td></tr> |
| 51 |
|
|
|
| 52 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The geometry check using the calorimeter's track. <a href="#ef28e99e442a7ab58fb8250107ac82e9"></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"><a class="el" href="classCaloAxis.html">CaloAxis</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloGeomCut.html#c89e7de16721b709f2669893b2b74d9a">_xCaloAxis</a></td></tr> |
| 55 |
|
|
|
| 56 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCaloAxis.html">CaloAxis</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloGeomCut.html#79c3f56c8aae2949b2c14288d16a9ef1">_yCaloAxis</a></td></tr> |
| 57 |
|
|
|
| 58 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloGeomCut.html#83765f6e8982cb5cff48ea41dc420540">_xTolCaloTrack</a></td></tr> |
| 59 |
|
|
|
| 60 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloGeomCut.html#dbc713c7c193c03c02b481b704a3020d">_yTolCaloTrack</a></td></tr> |
| 61 |
|
|
|
| 62 |
|
|
</table> |
| 63 |
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2> |
| 64 |
|
|
The geometric cut using the calorimeter's track. |
| 65 |
|
|
<p> |
| 66 |
|
|
This cut checks if the track obtained from the calorimeter is inside the fiducial acceptance. The current implementation uses the <a class="el" href="classCaloAxis.html">CaloAxis</a> objects; to save computing time, the class assumes that the track is externally computed for each event and stored in <a class="el" href="classCaloAxis.html">CaloAxis</a> objects; pointers to these objects are passed as arguments to the constructor. The Check method will then ignore the PamLevel2 *event and assume that the current content of the <a class="el" href="classCaloAxis.html">CaloAxis</a> objects are relative to the current event. It is an user's task to ensure that these assumptions are fulfilled every time Check or ApplyCut are called.<p> |
| 67 |
|
|
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 <a class="el" href="classCaloAxis.html">CaloAxis</a> objects). |
| 68 |
|
|
<p>Definition at line <a class="el" href="CaloGeomCut_8h_source.html#l00030">30</a> of file <a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a>.</p> |
| 69 |
|
|
<hr><h2>Constructor & Destructor Documentation</h2> |
| 70 |
|
|
<a class="anchor" name="2ea81481d3f2a0c58dbdf865b51d91ca"></a><!-- doxytag: member="CaloGeomCut::CaloGeomCut" ref="2ea81481d3f2a0c58dbdf865b51d91ca" args="(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis, float xTolCaloTrack=0.7, float yTolCaloTrack=0.7)" --> |
| 71 |
|
|
<div class="memitem"> |
| 72 |
|
|
<div class="memproto"> |
| 73 |
|
|
<table class="memname"> |
| 74 |
|
|
<tr> |
| 75 |
|
|
<td class="memname">CaloGeomCut::CaloGeomCut </td> |
| 76 |
|
|
<td>(</td> |
| 77 |
|
|
<td class="paramtype">const char * </td> |
| 78 |
|
|
<td class="paramname"> <em>cutName</em>, </td> |
| 79 |
|
|
</tr> |
| 80 |
|
|
<tr> |
| 81 |
|
|
<td class="paramkey"></td> |
| 82 |
|
|
<td></td> |
| 83 |
|
|
<td class="paramtype"><a class="el" href="classCaloAxis.html">CaloAxis</a> * </td> |
| 84 |
|
|
<td class="paramname"> <em>xCaloAxis</em>, </td> |
| 85 |
|
|
</tr> |
| 86 |
|
|
<tr> |
| 87 |
|
|
<td class="paramkey"></td> |
| 88 |
|
|
<td></td> |
| 89 |
|
|
<td class="paramtype"><a class="el" href="classCaloAxis.html">CaloAxis</a> * </td> |
| 90 |
|
|
<td class="paramname"> <em>yCaloAxis</em>, </td> |
| 91 |
|
|
</tr> |
| 92 |
|
|
<tr> |
| 93 |
|
|
<td class="paramkey"></td> |
| 94 |
|
|
<td></td> |
| 95 |
|
|
<td class="paramtype">float </td> |
| 96 |
|
|
<td class="paramname"> <em>xTolCaloTrack</em> = <code>0.7</code>, </td> |
| 97 |
|
|
</tr> |
| 98 |
|
|
<tr> |
| 99 |
|
|
<td class="paramkey"></td> |
| 100 |
|
|
<td></td> |
| 101 |
|
|
<td class="paramtype">float </td> |
| 102 |
|
|
<td class="paramname"> <em>yTolCaloTrack</em> = <code>0.7</code></td><td> </td> |
| 103 |
|
|
</tr> |
| 104 |
|
|
<tr> |
| 105 |
|
|
<td></td> |
| 106 |
|
|
<td>)</td> |
| 107 |
|
|
<td></td><td></td><td><code> [inline]</code></td> |
| 108 |
|
|
</tr> |
| 109 |
|
|
</table> |
| 110 |
|
|
</div> |
| 111 |
|
|
<div class="memdoc"> |
| 112 |
|
|
|
| 113 |
|
|
<p> |
| 114 |
|
|
Constructor. |
| 115 |
|
|
<p> |
| 116 |
|
|
The <a class="el" href="classCaloAxis.html">CaloAxis</a> arguments are pointers to objects which contain the calorimeter track information for current event.<p> |
| 117 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
| 118 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
| 119 |
|
|
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The cut's name. </td></tr> |
| 120 |
|
|
<tr><td valign="top"></td><td valign="top"><em>xCaloAxis</em> </td><td>The pointer to the <a class="el" href="classCaloAxis.html">CaloAxis</a> object for X axis. </td></tr> |
| 121 |
|
|
<tr><td valign="top"></td><td valign="top"><em>yCaloAxis</em> </td><td>The pointer to the <a class="el" href="classCaloAxis.html">CaloAxis</a> object for Y axis. </td></tr> |
| 122 |
|
|
<tr><td valign="top"></td><td valign="top"><em>xTolCaloTrack</em> </td><td>The tolerance for X view which defines the fiducial acceptance. </td></tr> |
| 123 |
|
|
<tr><td valign="top"></td><td valign="top"><em>yTolCaloTrack</em> </td><td>The tolerance for Y view which defines the fiducial acceptance. </td></tr> |
| 124 |
|
|
</table> |
| 125 |
|
|
</dl> |
| 126 |
|
|
|
| 127 |
|
|
<p>Definition at line <a class="el" href="CaloGeomCut_8h_source.html#l00044">44</a> of file <a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a>.</p> |
| 128 |
|
|
|
| 129 |
|
|
</div> |
| 130 |
|
|
</div><p> |
| 131 |
|
|
<a class="anchor" name="fca3678606b1ca4e9c347c4fd620a97d"></a><!-- doxytag: member="CaloGeomCut::~CaloGeomCut" ref="fca3678606b1ca4e9c347c4fd620a97d" args="()" --> |
| 132 |
|
|
<div class="memitem"> |
| 133 |
|
|
<div class="memproto"> |
| 134 |
|
|
<table class="memname"> |
| 135 |
|
|
<tr> |
| 136 |
|
|
<td class="memname">CaloGeomCut::~CaloGeomCut </td> |
| 137 |
|
|
<td>(</td> |
| 138 |
|
|
<td class="paramname"> </td> |
| 139 |
|
|
<td> ) </td> |
| 140 |
|
|
<td><code> [inline]</code></td> |
| 141 |
|
|
</tr> |
| 142 |
|
|
</table> |
| 143 |
|
|
</div> |
| 144 |
|
|
<div class="memdoc"> |
| 145 |
|
|
|
| 146 |
|
|
<p> |
| 147 |
|
|
Destructor. |
| 148 |
|
|
<p> |
| 149 |
|
|
|
| 150 |
|
|
<p>Definition at line <a class="el" href="CaloGeomCut_8h_source.html#l00049">49</a> of file <a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a>.</p> |
| 151 |
|
|
|
| 152 |
|
|
</div> |
| 153 |
|
|
</div><p> |
| 154 |
|
|
<hr><h2>Member Function Documentation</h2> |
| 155 |
|
|
<a class="anchor" name="ef28e99e442a7ab58fb8250107ac82e9"></a><!-- doxytag: member="CaloGeomCut::Check" ref="ef28e99e442a7ab58fb8250107ac82e9" args="(PamLevel2 *event)" --> |
| 156 |
|
|
<div class="memitem"> |
| 157 |
|
|
<div class="memproto"> |
| 158 |
|
|
<table class="memname"> |
| 159 |
|
|
<tr> |
| 160 |
|
|
<td class="memname">int CaloGeomCut::Check </td> |
| 161 |
|
|
<td>(</td> |
| 162 |
|
|
<td class="paramtype">PamLevel2 * </td> |
| 163 |
|
|
<td class="paramname"> <em>event</em> </td> |
| 164 |
|
|
<td> ) </td> |
| 165 |
|
|
<td><code> [virtual]</code></td> |
| 166 |
|
|
</tr> |
| 167 |
|
|
</table> |
| 168 |
|
|
</div> |
| 169 |
|
|
<div class="memdoc"> |
| 170 |
|
|
|
| 171 |
|
|
<p> |
| 172 |
|
|
The geometry check using the calorimeter's track. |
| 173 |
|
|
<p> |
| 174 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
| 175 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
| 176 |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
| 177 |
|
|
</table> |
| 178 |
|
|
</dl> |
| 179 |
|
|
<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 charge released in plane 22 is greater than 0 (from <a class="el" href="classCaloAxis.html">CaloAxis</a>) for both X and Y <p> |
| 180 |
|
|
0 otherwise </dd></dl> |
| 181 |
|
|
|
| 182 |
|
|
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
| 183 |
|
|
|
| 184 |
|
|
<p>Definition at line <a class="el" href="CaloGeomCut_8cpp_source.html#l00012">12</a> of file <a class="el" href="CaloGeomCut_8cpp_source.html">CaloGeomCut.cpp</a>.</p> |
| 185 |
|
|
|
| 186 |
|
|
<p>References <a class="el" href="CaloGeomCut_8h_source.html#l00061">_xCaloAxis</a>, <a class="el" href="CaloGeomCut_8h_source.html#l00062">_xTolCaloTrack</a>, <a class="el" href="CaloGeomCut_8h_source.html#l00061">_yCaloAxis</a>, <a class="el" href="CaloGeomCut_8h_source.html#l00062">_yTolCaloTrack</a>, <a class="el" href="CommonDefs_8h_source.html#l00015">CUTOK</a>, and <a class="el" href="CaloAxis2_8h_source.html#l00129">CaloAxis::par</a>.</p> |
| 187 |
|
|
|
| 188 |
|
|
</div> |
| 189 |
|
|
</div><p> |
| 190 |
|
|
<hr><h2>Member Data Documentation</h2> |
| 191 |
|
|
<a class="anchor" name="c89e7de16721b709f2669893b2b74d9a"></a><!-- doxytag: member="CaloGeomCut::_xCaloAxis" ref="c89e7de16721b709f2669893b2b74d9a" args="" --> |
| 192 |
|
|
<div class="memitem"> |
| 193 |
|
|
<div class="memproto"> |
| 194 |
|
|
<table class="memname"> |
| 195 |
|
|
<tr> |
| 196 |
|
|
<td class="memname"><a class="el" href="classCaloAxis.html">CaloAxis</a>* <a class="el" href="classCaloGeomCut.html#c89e7de16721b709f2669893b2b74d9a">CaloGeomCut::_xCaloAxis</a><code> [private]</code> </td> |
| 197 |
|
|
</tr> |
| 198 |
|
|
</table> |
| 199 |
|
|
</div> |
| 200 |
|
|
<div class="memdoc"> |
| 201 |
|
|
|
| 202 |
|
|
<p> |
| 203 |
|
|
|
| 204 |
|
|
<p>Definition at line <a class="el" href="CaloGeomCut_8h_source.html#l00061">61</a> of file <a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a>.</p> |
| 205 |
|
|
|
| 206 |
|
|
<p>Referenced by <a class="el" href="CaloGeomCut_8cpp_source.html#l00012">Check()</a>.</p> |
| 207 |
|
|
|
| 208 |
|
|
</div> |
| 209 |
|
|
</div><p> |
| 210 |
|
|
<a class="anchor" name="83765f6e8982cb5cff48ea41dc420540"></a><!-- doxytag: member="CaloGeomCut::_xTolCaloTrack" ref="83765f6e8982cb5cff48ea41dc420540" args="" --> |
| 211 |
|
|
<div class="memitem"> |
| 212 |
|
|
<div class="memproto"> |
| 213 |
|
|
<table class="memname"> |
| 214 |
|
|
<tr> |
| 215 |
|
|
<td class="memname">float <a class="el" href="classCaloGeomCut.html#83765f6e8982cb5cff48ea41dc420540">CaloGeomCut::_xTolCaloTrack</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="CaloGeomCut_8h_source.html#l00062">62</a> of file <a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a>.</p> |
| 224 |
|
|
|
| 225 |
|
|
<p>Referenced by <a class="el" href="CaloGeomCut_8cpp_source.html#l00012">Check()</a>.</p> |
| 226 |
|
|
|
| 227 |
|
|
</div> |
| 228 |
|
|
</div><p> |
| 229 |
|
|
<a class="anchor" name="79c3f56c8aae2949b2c14288d16a9ef1"></a><!-- doxytag: member="CaloGeomCut::_yCaloAxis" ref="79c3f56c8aae2949b2c14288d16a9ef1" args="" --> |
| 230 |
|
|
<div class="memitem"> |
| 231 |
|
|
<div class="memproto"> |
| 232 |
|
|
<table class="memname"> |
| 233 |
|
|
<tr> |
| 234 |
|
|
<td class="memname"><a class="el" href="classCaloAxis.html">CaloAxis</a> * <a class="el" href="classCaloGeomCut.html#79c3f56c8aae2949b2c14288d16a9ef1">CaloGeomCut::_yCaloAxis</a><code> [private]</code> </td> |
| 235 |
|
|
</tr> |
| 236 |
|
|
</table> |
| 237 |
|
|
</div> |
| 238 |
|
|
<div class="memdoc"> |
| 239 |
|
|
|
| 240 |
|
|
<p> |
| 241 |
|
|
|
| 242 |
|
|
<p>Definition at line <a class="el" href="CaloGeomCut_8h_source.html#l00061">61</a> of file <a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a>.</p> |
| 243 |
|
|
|
| 244 |
|
|
<p>Referenced by <a class="el" href="CaloGeomCut_8cpp_source.html#l00012">Check()</a>.</p> |
| 245 |
|
|
|
| 246 |
|
|
</div> |
| 247 |
|
|
</div><p> |
| 248 |
|
|
<a class="anchor" name="dbc713c7c193c03c02b481b704a3020d"></a><!-- doxytag: member="CaloGeomCut::_yTolCaloTrack" ref="dbc713c7c193c03c02b481b704a3020d" args="" --> |
| 249 |
|
|
<div class="memitem"> |
| 250 |
|
|
<div class="memproto"> |
| 251 |
|
|
<table class="memname"> |
| 252 |
|
|
<tr> |
| 253 |
|
|
<td class="memname">float <a class="el" href="classCaloGeomCut.html#dbc713c7c193c03c02b481b704a3020d">CaloGeomCut::_yTolCaloTrack</a><code> [private]</code> </td> |
| 254 |
|
|
</tr> |
| 255 |
|
|
</table> |
| 256 |
|
|
</div> |
| 257 |
|
|
<div class="memdoc"> |
| 258 |
|
|
|
| 259 |
|
|
<p> |
| 260 |
|
|
|
| 261 |
|
|
<p>Definition at line <a class="el" href="CaloGeomCut_8h_source.html#l00062">62</a> of file <a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a>.</p> |
| 262 |
|
|
|
| 263 |
|
|
<p>Referenced by <a class="el" href="CaloGeomCut_8cpp_source.html#l00012">Check()</a>.</p> |
| 264 |
|
|
|
| 265 |
|
|
</div> |
| 266 |
|
|
</div><p> |
| 267 |
|
|
<hr>The documentation for this class was generated from the following files:<ul> |
| 268 |
|
|
<li>CaloCuts/CaloGeomCut/<a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a><li>CaloCuts/CaloGeomCut/<a class="el" href="CaloGeomCut_8cpp_source.html">CaloGeomCut.cpp</a></ul> |
| 269 |
|
|
</div> |
| 270 |
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:31 2009 for PamCut by |
| 271 |
|
|
<a href="http://www.doxygen.org/index.html"> |
| 272 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
| 273 |
|
|
</body> |
| 274 |
|
|
</html> |