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: CaloCrossCut 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>CaloCrossCut Class Reference</h1><!-- doxytag: class="CaloCrossCut" --><!-- doxytag: inherits="PamCut" -->The calorimeter last plane cut. |
26 |
|
|
<a href="#_details">More...</a> |
27 |
|
|
<p> |
28 |
|
|
<code>#include <<a class="el" href="CaloCrossCut_8h_source.html">CaloCrossCut.h</a>></code> |
29 |
|
|
<p> |
30 |
|
|
<div class="dynheader"> |
31 |
|
|
Inheritance diagram for CaloCrossCut:</div> |
32 |
|
|
<div class="dynsection"> |
33 |
|
|
|
34 |
|
|
<p><center><img src="classCaloCrossCut.png" usemap="#CaloCrossCut_map" border="0" alt=""></center> |
35 |
|
|
<map name="CaloCrossCut_map"> |
36 |
|
|
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,90,24"> |
37 |
|
|
</map> |
38 |
|
|
</div> |
39 |
|
|
|
40 |
|
|
<p> |
41 |
|
|
<a href="classCaloCrossCut-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 |
pam-fi |
1.2 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloCrossCut.html#33b00ac9d115f74bd2aa0c6418a61c0d">CaloCrossCut</a> (const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis)</td></tr> |
45 |
pam-fi |
1.1 |
|
46 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#33b00ac9d115f74bd2aa0c6418a61c0d"></a><br></td></tr> |
47 |
pam-fi |
1.2 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30eff9bbcbcee85132b85fccd78159fe"></a><!-- doxytag: member="CaloCrossCut::~CaloCrossCut" ref="30eff9bbcbcee85132b85fccd78159fe" args="()" --> |
48 |
|
|
</td><td class="memItemRight" valign="bottom"><a class="el" href="classCaloCrossCut.html#30eff9bbcbcee85132b85fccd78159fe">~CaloCrossCut</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="classCaloCrossCut.html#c79de9378fe4816ef37291da64d5a4f0">Check</a> (PamLevel2 *event)</td></tr> |
52 |
|
|
|
53 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The calorimeter last plane check. <a href="#c79de9378fe4816ef37291da64d5a4f0"></a><br></td></tr> |
54 |
|
|
</table> |
55 |
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2> |
56 |
|
|
The calorimeter last plane cut. |
57 |
|
|
<p> |
58 |
pam-fi |
1.2 |
Checks if the particle has crossed the last calorimeter plane. 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 |
pam-fi |
1.1 |
<a class="anchor" name="33b00ac9d115f74bd2aa0c6418a61c0d"></a><!-- doxytag: member="CaloCrossCut::CaloCrossCut" ref="33b00ac9d115f74bd2aa0c6418a61c0d" args="(const char *cutName, CaloAxis *xCaloAxis, CaloAxis *yCaloAxis)" --> |
61 |
|
|
<div class="memitem"> |
62 |
|
|
<div class="memproto"> |
63 |
|
|
<table class="memname"> |
64 |
|
|
<tr> |
65 |
|
|
<td class="memname">CaloCrossCut::CaloCrossCut </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 |
pam-fi |
1.2 |
<td class="paramtype">CaloAxis * </td> |
74 |
pam-fi |
1.1 |
<td class="paramname"> <em>xCaloAxis</em>, </td> |
75 |
|
|
</tr> |
76 |
|
|
<tr> |
77 |
|
|
<td class="paramkey"></td> |
78 |
|
|
<td></td> |
79 |
pam-fi |
1.2 |
<td class="paramtype">CaloAxis * </td> |
80 |
pam-fi |
1.1 |
<td class="paramname"> <em>yCaloAxis</em></td><td> </td> |
81 |
|
|
</tr> |
82 |
|
|
<tr> |
83 |
|
|
<td></td> |
84 |
|
|
<td>)</td> |
85 |
|
|
<td></td><td></td><td><code> [inline]</code></td> |
86 |
|
|
</tr> |
87 |
|
|
</table> |
88 |
|
|
</div> |
89 |
|
|
<div class="memdoc"> |
90 |
|
|
|
91 |
|
|
<p> |
92 |
|
|
Constructor. |
93 |
|
|
<p> |
94 |
pam-fi |
1.2 |
The CaloAxis arguments are pointers to objects which contain the calorimeter track information for current event.<p> |
95 |
pam-fi |
1.1 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
96 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
97 |
|
|
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The cut name. </td></tr> |
98 |
pam-fi |
1.2 |
<tr><td valign="top"></td><td valign="top"><em>xCaloAxis</em> </td><td>The pointer to the CaloAxis object for X axis. </td></tr> |
99 |
|
|
<tr><td valign="top"></td><td valign="top"><em>yCaloAxis</em> </td><td>The pointer to the CaloAxis object for Y axis. </td></tr> |
100 |
pam-fi |
1.1 |
</table> |
101 |
|
|
</dl> |
102 |
|
|
|
103 |
|
|
</div> |
104 |
|
|
</div><p> |
105 |
|
|
<hr><h2>Member Function Documentation</h2> |
106 |
|
|
<a class="anchor" name="c79de9378fe4816ef37291da64d5a4f0"></a><!-- doxytag: member="CaloCrossCut::Check" ref="c79de9378fe4816ef37291da64d5a4f0" args="(PamLevel2 *event)" --> |
107 |
|
|
<div class="memitem"> |
108 |
|
|
<div class="memproto"> |
109 |
|
|
<table class="memname"> |
110 |
|
|
<tr> |
111 |
|
|
<td class="memname">int CaloCrossCut::Check </td> |
112 |
|
|
<td>(</td> |
113 |
|
|
<td class="paramtype">PamLevel2 * </td> |
114 |
|
|
<td class="paramname"> <em>event</em> </td> |
115 |
|
|
<td> ) </td> |
116 |
|
|
<td><code> [virtual]</code></td> |
117 |
|
|
</tr> |
118 |
|
|
</table> |
119 |
|
|
</div> |
120 |
|
|
<div class="memdoc"> |
121 |
|
|
|
122 |
|
|
<p> |
123 |
|
|
The calorimeter last plane check. |
124 |
|
|
<p> |
125 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
126 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
127 |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
128 |
|
|
</table> |
129 |
|
|
</dl> |
130 |
pam-fi |
1.2 |
<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> |
131 |
pam-fi |
1.1 |
0 otherwise </dd></dl> |
132 |
|
|
|
133 |
|
|
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
134 |
|
|
|
135 |
|
|
</div> |
136 |
|
|
</div><p> |
137 |
|
|
<hr>The documentation for this class was generated from the following files:<ul> |
138 |
pam-fi |
1.2 |
<li>CaloCuts/CaloCrossCut/<a class="el" href="CaloCrossCut_8h_source.html">CaloCrossCut.h</a><li>CaloCuts/CaloCrossCut/<a class="el" href="CaloCrossCut_8cpp.html">CaloCrossCut.cpp</a></ul> |
139 |
pam-fi |
1.1 |
</div> |
140 |
pam-fi |
1.2 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:59 2009 for PamCut by |
141 |
pam-fi |
1.1 |
<a href="http://www.doxygen.org/index.html"> |
142 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
143 |
|
|
</body> |
144 |
|
|
</html> |