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, CaloAxis *xCaloAxis, CaloAxis *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"><a class="anchor" name="fca3678606b1ca4e9c347c4fd620a97d"></a><!-- doxytag: member="CaloGeomCut::~CaloGeomCut" ref="fca3678606b1ca4e9c347c4fd620a97d" args="()" --> |
48 |
</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloGeomCut.html#fca3678606b1ca4e9c347c4fd620a97d">~CaloGeomCut</a> ()</td></tr> |
49 |
|
50 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
51 |
<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> |
52 |
|
53 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The geometry check using the calorimeter's track. <a href="#ef28e99e442a7ab58fb8250107ac82e9"></a><br></td></tr> |
54 |
</table> |
55 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
56 |
The geometric cut using the calorimeter's track. |
57 |
<p> |
58 |
This cut checks if the track obtained from the calorimeter is inside the fiducial acceptance. The current implementation uses the CaloAxis objects; to save computing time, the class assumes that the track is externally computed for each event and stored in CaloAxis 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 CaloAxis 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> |
59 |
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> |
60 |
<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)" --> |
61 |
<div class="memitem"> |
62 |
<div class="memproto"> |
63 |
<table class="memname"> |
64 |
<tr> |
65 |
<td class="memname">CaloGeomCut::CaloGeomCut </td> |
66 |
<td>(</td> |
67 |
<td class="paramtype">const char * </td> |
68 |
<td class="paramname"> <em>cutName</em>, </td> |
69 |
</tr> |
70 |
<tr> |
71 |
<td class="paramkey"></td> |
72 |
<td></td> |
73 |
<td class="paramtype">CaloAxis * </td> |
74 |
<td class="paramname"> <em>xCaloAxis</em>, </td> |
75 |
</tr> |
76 |
<tr> |
77 |
<td class="paramkey"></td> |
78 |
<td></td> |
79 |
<td class="paramtype">CaloAxis * </td> |
80 |
<td class="paramname"> <em>yCaloAxis</em>, </td> |
81 |
</tr> |
82 |
<tr> |
83 |
<td class="paramkey"></td> |
84 |
<td></td> |
85 |
<td class="paramtype">float </td> |
86 |
<td class="paramname"> <em>xTolCaloTrack</em> = <code>0.7</code>, </td> |
87 |
</tr> |
88 |
<tr> |
89 |
<td class="paramkey"></td> |
90 |
<td></td> |
91 |
<td class="paramtype">float </td> |
92 |
<td class="paramname"> <em>yTolCaloTrack</em> = <code>0.7</code></td><td> </td> |
93 |
</tr> |
94 |
<tr> |
95 |
<td></td> |
96 |
<td>)</td> |
97 |
<td></td><td></td><td><code> [inline]</code></td> |
98 |
</tr> |
99 |
</table> |
100 |
</div> |
101 |
<div class="memdoc"> |
102 |
|
103 |
<p> |
104 |
Constructor. |
105 |
<p> |
106 |
The CaloAxis arguments are pointers to objects which contain the calorimeter track information for current event.<p> |
107 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
108 |
<table border="0" cellspacing="2" cellpadding="0"> |
109 |
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The cut's name. </td></tr> |
110 |
<tr><td valign="top"></td><td valign="top"><em>xCaloAxis</em> </td><td>The pointer to the CaloAxis object for X axis. </td></tr> |
111 |
<tr><td valign="top"></td><td valign="top"><em>yCaloAxis</em> </td><td>The pointer to the CaloAxis object for Y axis. </td></tr> |
112 |
<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> |
113 |
<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> |
114 |
</table> |
115 |
</dl> |
116 |
|
117 |
</div> |
118 |
</div><p> |
119 |
<hr><h2>Member Function Documentation</h2> |
120 |
<a class="anchor" name="ef28e99e442a7ab58fb8250107ac82e9"></a><!-- doxytag: member="CaloGeomCut::Check" ref="ef28e99e442a7ab58fb8250107ac82e9" args="(PamLevel2 *event)" --> |
121 |
<div class="memitem"> |
122 |
<div class="memproto"> |
123 |
<table class="memname"> |
124 |
<tr> |
125 |
<td class="memname">int CaloGeomCut::Check </td> |
126 |
<td>(</td> |
127 |
<td class="paramtype">PamLevel2 * </td> |
128 |
<td class="paramname"> <em>event</em> </td> |
129 |
<td> ) </td> |
130 |
<td><code> [virtual]</code></td> |
131 |
</tr> |
132 |
</table> |
133 |
</div> |
134 |
<div class="memdoc"> |
135 |
|
136 |
<p> |
137 |
The geometry check using the calorimeter's track. |
138 |
<p> |
139 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
140 |
<table border="0" cellspacing="2" cellpadding="0"> |
141 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
142 |
</table> |
143 |
</dl> |
144 |
<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 CaloAxis) for both X and Y <p> |
145 |
0 otherwise </dd></dl> |
146 |
|
147 |
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
148 |
|
149 |
</div> |
150 |
</div><p> |
151 |
<hr>The documentation for this class was generated from the following files:<ul> |
152 |
<li>CaloCuts/CaloGeomCut/<a class="el" href="CaloGeomCut_8h_source.html">CaloGeomCut.h</a><li>CaloCuts/CaloGeomCut/<a class="el" href="CaloGeomCut_8cpp.html">CaloGeomCut.cpp</a></ul> |
153 |
</div> |
154 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:00 2009 for PamCut by |
155 |
<a href="http://www.doxygen.org/index.html"> |
156 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
157 |
</body> |
158 |
</html> |