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: PamCutCollection 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>PamCutCollection Class Reference</h1><!-- doxytag: class="PamCutCollection" --><!-- doxytag: inherits="PamCut" -->A class which applies a set of cuts to Pamela data. |
26 |
<a href="#_details">More...</a> |
27 |
<p> |
28 |
<code>#include <<a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a>></code> |
29 |
<p> |
30 |
<div class="dynheader"> |
31 |
Inheritance diagram for PamCutCollection:</div> |
32 |
<div class="dynsection"> |
33 |
|
34 |
<p><center><img src="classPamCutCollection.png" usemap="#PamCutCollection_map" border="0" alt=""></center> |
35 |
<map name="PamCutCollection_map"> |
36 |
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="77,0,221,24"> |
37 |
<area href="classBlindCutCollection.html" alt="BlindCutCollection" shape="rect" coords="0,112,144,136"> |
38 |
<area href="classSmartCollection.html" alt="SmartCollection" shape="rect" coords="154,112,298,136"> |
39 |
<area href="classSmartBlindCollection.html" alt="SmartBlindCollection" shape="rect" coords="77,168,221,192"> |
40 |
<area href="classVerboseCollection.html" alt="VerboseCollection" shape="rect" coords="231,168,375,192"> |
41 |
<area href="classVerboseBlindCollection.html" alt="VerboseBlindCollection" shape="rect" coords="77,224,221,248"> |
42 |
</map> |
43 |
</div> |
44 |
|
45 |
<p> |
46 |
<a href="classPamCutCollection-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
47 |
<tr><td></td></tr> |
48 |
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
49 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#756d6cc1c69e85a0f76e7674789c5588">PamCutCollection</a> (const char *collectionName)</td></tr> |
50 |
|
51 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#756d6cc1c69e85a0f76e7674789c5588"></a><br></td></tr> |
52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="932711c5f613639091adbcd851107b0c"></a><!-- doxytag: member="PamCutCollection::~PamCutCollection" ref="932711c5f613639091adbcd851107b0c" args="()" --> |
53 |
</td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#932711c5f613639091adbcd851107b0c">~PamCutCollection</a> ()</td></tr> |
54 |
|
55 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
56 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#6dc6a92a7ee9243f567a2a244e1e5685">AddCut</a> (<a class="el" href="classPamCut.html">PamCut</a> &cut)</td></tr> |
57 |
|
58 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a cut to the cut collection This routine adds a cut to the collection. These are stored in a vector in the same order they are inserted (the first cut would be element 0, the second cut element 1 and so on). All the references to a "cut number" or "cut index" will refer to this numbering scheme. <a href="#6dc6a92a7ee9243f567a2a244e1e5685"></a><br></td></tr> |
59 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7">Check</a> (PamLevel2 *event)</td></tr> |
60 |
|
61 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The basic selection. <a href="#85f04cef7b560a37061391dd397813a7"></a><br></td></tr> |
62 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#e7af429a3afef3685cbd5aa076ef96e5">ApplyCut</a> (PamLevel2 *event)</td></tr> |
63 |
|
64 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Applies the cuts to the current event. <a href="#e7af429a3afef3685cbd5aa076ef96e5"></a><br></td></tr> |
65 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPamCut.html">PamCut</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#55e41082749260f5cee2fd53d9fd331b">GetCut</a> (unsigned int iCut)</td></tr> |
66 |
|
67 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the iCut-th cut. <a href="#55e41082749260f5cee2fd53d9fd331b"></a><br></td></tr> |
68 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#231f91b82b18cf326a2912b0b515baca">GetSize</a> ()</td></tr> |
69 |
|
70 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of cuts contained in the collection. <a href="#231f91b82b18cf326a2912b0b515baca"></a><br></td></tr> |
71 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#982821389af5e585688611d733b3a7b0">Setup</a> (PamLevel2 *events)</td></tr> |
72 |
|
73 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The pre-analysis task definition. <a href="#982821389af5e585688611d733b3a7b0"></a><br></td></tr> |
74 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#15785c75fb13b998422739e741bb5c01">Finalize</a> ()</td></tr> |
75 |
|
76 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The post-analysis task definition. <a href="#15785c75fb13b998422739e741bb5c01"></a><br></td></tr> |
77 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPamCutCollection.html">PamCutCollection</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#3fb36e5fb38627f5cbffe6c23cf57d2a">operator=</a> (const <a class="el" href="classPamCutCollection.html">PamCutCollection</a> &rightValue)</td></tr> |
78 |
|
79 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator redefinition. The assignment operator replaces the content of the LHS with that of RHS. The net effect would be that the cuts contained in the LHS are exactly the same that are in the RHS. In particular, this means that any modification to one of the cuts will propagate both to the LHS and RHS collections. Also the cut name will be copied, since the implementation invokes <a class="el" href="classPamCut.html#cff560f2c6a663345c81f95df905956e" title="The assignment operator. This operator defines how to copy a PamCut object into another...">PamCut::operator=</a>. <a href="#3fb36e5fb38627f5cbffe6c23cf57d2a"></a><br></td></tr> |
80 |
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
81 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95f91f4b81f916cb6e120ee4b5bb5403"></a><!-- doxytag: member="PamCutCollection::_cuts" ref="95f91f4b81f916cb6e120ee4b5bb5403" args="" --> |
82 |
std::vector< <a class="el" href="classPamCut.html">PamCut</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPamCutCollection.html#95f91f4b81f916cb6e120ee4b5bb5403">_cuts</a></td></tr> |
83 |
|
84 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">A vector containing pointers to <a class="el" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> objects. <br></td></tr> |
85 |
</table> |
86 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
87 |
A class which applies a set of cuts to Pamela data. |
88 |
<p> |
89 |
This is a multi-cut class, which inherits from <a class="el" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>. Indeed, a multi-cut can be seen as a cut composed by various simpler cuts; hence the interface of <a class="el" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> is also functional for <a class="el" href="classPamCutCollection.html" title="A class which applies a set of cuts to Pamela data.">PamCutCollection</a>. The <a class="el" href="classPamCutCollection.html#e7af429a3afef3685cbd5aa076ef96e5" title="Applies the cuts to the current event.">ApplyCut(PamLevel2 *event)</a> method is overridden so as all the cuts that compose the <a class="el" href="classPamCutCollection.html" title="A class which applies a set of cuts to Pamela data.">PamCutCollection</a> are applied to the events in the same order they are added to the collection. Instead, <a class="el" href="classPamCut.html#047b75499ea4457d60397ee5491adcd4" title="Applies the cut to a range of events.">Process(PamLevel2 *events, ULong_t firstEvent, ULong_t lastEvent)</a> is NOT overridden, since it performs the same task as the one in the base class: it is sufficient to override <a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7" title="The basic selection.">Check(PamLevel2 *event)</a> to replace the single-cut evaluation with a multi-cut evaluation. <hr><h2>Constructor & Destructor Documentation</h2> |
90 |
<a class="anchor" name="756d6cc1c69e85a0f76e7674789c5588"></a><!-- doxytag: member="PamCutCollection::PamCutCollection" ref="756d6cc1c69e85a0f76e7674789c5588" args="(const char *collectionName)" --> |
91 |
<div class="memitem"> |
92 |
<div class="memproto"> |
93 |
<table class="memname"> |
94 |
<tr> |
95 |
<td class="memname">PamCutCollection::PamCutCollection </td> |
96 |
<td>(</td> |
97 |
<td class="paramtype">const char * </td> |
98 |
<td class="paramname"> <em>collectionName</em> </td> |
99 |
<td> ) </td> |
100 |
<td><code> [inline]</code></td> |
101 |
</tr> |
102 |
</table> |
103 |
</div> |
104 |
<div class="memdoc"> |
105 |
|
106 |
<p> |
107 |
Constructor. |
108 |
<p> |
109 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
110 |
<table border="0" cellspacing="2" cellpadding="0"> |
111 |
<tr><td valign="top"></td><td valign="top"><em>collectionName</em> </td><td>The collection's name. </td></tr> |
112 |
</table> |
113 |
</dl> |
114 |
|
115 |
</div> |
116 |
</div><p> |
117 |
<hr><h2>Member Function Documentation</h2> |
118 |
<a class="anchor" name="6dc6a92a7ee9243f567a2a244e1e5685"></a><!-- doxytag: member="PamCutCollection::AddCut" ref="6dc6a92a7ee9243f567a2a244e1e5685" args="(PamCut &cut)" --> |
119 |
<div class="memitem"> |
120 |
<div class="memproto"> |
121 |
<table class="memname"> |
122 |
<tr> |
123 |
<td class="memname">void PamCutCollection::AddCut </td> |
124 |
<td>(</td> |
125 |
<td class="paramtype"><a class="el" href="classPamCut.html">PamCut</a> & </td> |
126 |
<td class="paramname"> <em>cut</em> </td> |
127 |
<td> ) </td> |
128 |
<td></td> |
129 |
</tr> |
130 |
</table> |
131 |
</div> |
132 |
<div class="memdoc"> |
133 |
|
134 |
<p> |
135 |
Adds a cut to the cut collection This routine adds a cut to the collection. These are stored in a vector in the same order they are inserted (the first cut would be element 0, the second cut element 1 and so on). All the references to a "cut number" or "cut index" will refer to this numbering scheme. |
136 |
<p> |
137 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
138 |
<table border="0" cellspacing="2" cellpadding="0"> |
139 |
<tr><td valign="top"></td><td valign="top"><em>cut</em> </td><td>The PamCut-derived object to add to the collection. </td></tr> |
140 |
</table> |
141 |
</dl> |
142 |
|
143 |
</div> |
144 |
</div><p> |
145 |
<a class="anchor" name="e7af429a3afef3685cbd5aa076ef96e5"></a><!-- doxytag: member="PamCutCollection::ApplyCut" ref="e7af429a3afef3685cbd5aa076ef96e5" args="(PamLevel2 *event)" --> |
146 |
<div class="memitem"> |
147 |
<div class="memproto"> |
148 |
<table class="memname"> |
149 |
<tr> |
150 |
<td class="memname">int PamCutCollection::ApplyCut </td> |
151 |
<td>(</td> |
152 |
<td class="paramtype">PamLevel2 * </td> |
153 |
<td class="paramname"> <em>event</em> </td> |
154 |
<td> ) </td> |
155 |
<td><code> [virtual]</code></td> |
156 |
</tr> |
157 |
</table> |
158 |
</div> |
159 |
<div class="memdoc"> |
160 |
|
161 |
<p> |
162 |
Applies the cuts to the current event. |
163 |
<p> |
164 |
This routine works pretty much like the redefinition of <a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7" title="The basic selection.">Check()</a>, calling <a class="el" href="classPamCutCollection.html#e7af429a3afef3685cbd5aa076ef96e5" title="Applies the cuts to the current event.">ApplyCut()</a> (instead of <a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7" title="The basic selection.">Check()</a> )for each cut. If a cut fails, it calls <a class="el" href="classPamCut.html#cbb3b507d79f20878fac4392ffa57acb" title="Post-selection tasks.">OnBad()</a>, passing the index of the failed cut as the selectionResult argument. If all the cuts are successful, it calls <a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985" title="Post-selection tasks.">OnGood()</a>.<p> |
165 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
166 |
<table border="0" cellspacing="2" cellpadding="0"> |
167 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
168 |
</table> |
169 |
</dl> |
170 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>same return values as <a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7" title="The basic selection.">Check()</a>. </dd></dl> |
171 |
|
172 |
<p>Reimplemented from <a class="el" href="classPamCut.html#132a1a7cf365ff28eca38b7dda1acb7f">PamCut</a>.</p> |
173 |
|
174 |
<p>Reimplemented in <a class="el" href="classBlindCutCollection.html#8d387de8cbc54ff0eab8cff220b49c20">BlindCutCollection</a>, <a class="el" href="classSmartBlindCollection.html#1eb231a8a437018bfd966644c7b18ba4">SmartBlindCollection</a>, and <a class="el" href="classSmartCollection.html#98213ec078e9b94ea70c72132757da46">SmartCollection</a>.</p> |
175 |
|
176 |
</div> |
177 |
</div><p> |
178 |
<a class="anchor" name="85f04cef7b560a37061391dd397813a7"></a><!-- doxytag: member="PamCutCollection::Check" ref="85f04cef7b560a37061391dd397813a7" args="(PamLevel2 *event)" --> |
179 |
<div class="memitem"> |
180 |
<div class="memproto"> |
181 |
<table class="memname"> |
182 |
<tr> |
183 |
<td class="memname">int PamCutCollection::Check </td> |
184 |
<td>(</td> |
185 |
<td class="paramtype">PamLevel2 * </td> |
186 |
<td class="paramname"> <em>event</em> </td> |
187 |
<td> ) </td> |
188 |
<td><code> [virtual]</code></td> |
189 |
</tr> |
190 |
</table> |
191 |
</div> |
192 |
<div class="memdoc"> |
193 |
|
194 |
<p> |
195 |
The basic selection. |
196 |
<p> |
197 |
Like in the mother class, this method performs a basic check on the current event: it calls <a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7" title="The basic selection.">Check()</a> for each cut previously added with <a class="el" href="classPamCutCollection.html#6dc6a92a7ee9243f567a2a244e1e5685" title="Adds a cut to the cut collection This routine adds a cut to the collection. These...">AddCut()</a>, exiting if one of them is not satisfied.<p> |
198 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
199 |
<table border="0" cellspacing="2" cellpadding="0"> |
200 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
201 |
</table> |
202 |
</dl> |
203 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the index of the failed cut (range: [0, #cuts-1], see <a class="el" href="classPamCutCollection.html#6dc6a92a7ee9243f567a2a244e1e5685" title="Adds a cut to the cut collection This routine adds a cut to the collection. These...">AddCut()</a>); <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 event satisfies all the cuts. </dd></dl> |
204 |
|
205 |
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
206 |
|
207 |
<p>Reimplemented in <a class="el" href="classBlindCutCollection.html#016ee86612e57a50f03c8469d3ed9d1f">BlindCutCollection</a>.</p> |
208 |
|
209 |
</div> |
210 |
</div><p> |
211 |
<a class="anchor" name="15785c75fb13b998422739e741bb5c01"></a><!-- doxytag: member="PamCutCollection::Finalize" ref="15785c75fb13b998422739e741bb5c01" args="()" --> |
212 |
<div class="memitem"> |
213 |
<div class="memproto"> |
214 |
<table class="memname"> |
215 |
<tr> |
216 |
<td class="memname">void PamCutCollection::Finalize </td> |
217 |
<td>(</td> |
218 |
<td class="paramname"> </td> |
219 |
<td> ) </td> |
220 |
<td><code> [virtual]</code></td> |
221 |
</tr> |
222 |
</table> |
223 |
</div> |
224 |
<div class="memdoc"> |
225 |
|
226 |
<p> |
227 |
The post-analysis task definition. |
228 |
<p> |
229 |
This override of the <a class="el" href="classPamCutCollection.html#15785c75fb13b998422739e741bb5c01" title="The post-analysis task definition.">Finalize()</a> method calls <a class="el" href="classPamCut.html#fd74c1565552cabe4aced316df803737" title="The post-analysis task definition.">PamCut::Finalize()</a> and then the <a class="el" href="classPamCutCollection.html#15785c75fb13b998422739e741bb5c01" title="The post-analysis task definition.">Finalize()</a> method of each cut contained in the collection, in the same order. |
230 |
<p>Reimplemented from <a class="el" href="classPamCut.html#fd74c1565552cabe4aced316df803737">PamCut</a>.</p> |
231 |
|
232 |
<p>Reimplemented in <a class="el" href="classSmartCollection.html#8105730615ad127a482a7fb399695977">SmartCollection</a>, <a class="el" href="classVerboseBlindCollection.html#43d6ea7b5ea35c5dbb342e23584b79ee">VerboseBlindCollection</a>, and <a class="el" href="classVerboseCollection.html#3fcdf28d50507d772647d4306a78f3cc">VerboseCollection</a>.</p> |
233 |
|
234 |
</div> |
235 |
</div><p> |
236 |
<a class="anchor" name="55e41082749260f5cee2fd53d9fd331b"></a><!-- doxytag: member="PamCutCollection::GetCut" ref="55e41082749260f5cee2fd53d9fd331b" args="(unsigned int iCut)" --> |
237 |
<div class="memitem"> |
238 |
<div class="memproto"> |
239 |
<table class="memname"> |
240 |
<tr> |
241 |
<td class="memname"><a class="el" href="classPamCut.html">PamCut</a> * PamCutCollection::GetCut </td> |
242 |
<td>(</td> |
243 |
<td class="paramtype">unsigned int </td> |
244 |
<td class="paramname"> <em>iCut</em> </td> |
245 |
<td> ) </td> |
246 |
<td></td> |
247 |
</tr> |
248 |
</table> |
249 |
</div> |
250 |
<div class="memdoc"> |
251 |
|
252 |
<p> |
253 |
Returns a pointer to the iCut-th cut. |
254 |
<p> |
255 |
The return value of this method is a pointer to a <a class="el" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a> object; hence, to use the specific method of derived cuts it must be cast to the proper cut class.<p> |
256 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
257 |
<table border="0" cellspacing="2" cellpadding="0"> |
258 |
<tr><td valign="top"></td><td valign="top"><em>iCut</em> </td><td>The cut number, defined as the insertion order (from 0 to #cuts-1, see <a class="el" href="classPamCutCollection.html#6dc6a92a7ee9243f567a2a244e1e5685" title="Adds a cut to the cut collection This routine adds a cut to the collection. These...">AddCut()</a>). </td></tr> |
259 |
</table> |
260 |
</dl> |
261 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>pointer to the iCut-th cut; NULL if the specified cut cannot be found or if no cuts are present. </dd></dl> |
262 |
|
263 |
</div> |
264 |
</div><p> |
265 |
<a class="anchor" name="231f91b82b18cf326a2912b0b515baca"></a><!-- doxytag: member="PamCutCollection::GetSize" ref="231f91b82b18cf326a2912b0b515baca" args="()" --> |
266 |
<div class="memitem"> |
267 |
<div class="memproto"> |
268 |
<table class="memname"> |
269 |
<tr> |
270 |
<td class="memname">unsigned int PamCutCollection::GetSize </td> |
271 |
<td>(</td> |
272 |
<td class="paramname"> </td> |
273 |
<td> ) </td> |
274 |
<td></td> |
275 |
</tr> |
276 |
</table> |
277 |
</div> |
278 |
<div class="memdoc"> |
279 |
|
280 |
<p> |
281 |
The number of cuts contained in the collection. |
282 |
<p> |
283 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of cuts </dd></dl> |
284 |
|
285 |
</div> |
286 |
</div><p> |
287 |
<a class="anchor" name="3fb36e5fb38627f5cbffe6c23cf57d2a"></a><!-- doxytag: member="PamCutCollection::operator=" ref="3fb36e5fb38627f5cbffe6c23cf57d2a" args="(const PamCutCollection &rightValue)" --> |
288 |
<div class="memitem"> |
289 |
<div class="memproto"> |
290 |
<table class="memname"> |
291 |
<tr> |
292 |
<td class="memname"><a class="el" href="classPamCutCollection.html">PamCutCollection</a> & PamCutCollection::operator= </td> |
293 |
<td>(</td> |
294 |
<td class="paramtype">const <a class="el" href="classPamCutCollection.html">PamCutCollection</a> & </td> |
295 |
<td class="paramname"> <em>rightValue</em> </td> |
296 |
<td> ) </td> |
297 |
<td></td> |
298 |
</tr> |
299 |
</table> |
300 |
</div> |
301 |
<div class="memdoc"> |
302 |
|
303 |
<p> |
304 |
Assignment operator redefinition. The assignment operator replaces the content of the LHS with that of RHS. The net effect would be that the cuts contained in the LHS are exactly the same that are in the RHS. In particular, this means that any modification to one of the cuts will propagate both to the LHS and RHS collections. Also the cut name will be copied, since the implementation invokes <a class="el" href="classPamCut.html#cff560f2c6a663345c81f95df905956e" title="The assignment operator. This operator defines how to copy a PamCut object into another...">PamCut::operator=</a>. |
305 |
<p> |
306 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
307 |
<table border="0" cellspacing="2" cellpadding="0"> |
308 |
<tr><td valign="top"></td><td valign="top"><em>rightValue</em> </td><td>The RHS. </td></tr> |
309 |
</table> |
310 |
</dl> |
311 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new value for LHS. </dd></dl> |
312 |
|
313 |
</div> |
314 |
</div><p> |
315 |
<a class="anchor" name="982821389af5e585688611d733b3a7b0"></a><!-- doxytag: member="PamCutCollection::Setup" ref="982821389af5e585688611d733b3a7b0" args="(PamLevel2 *events)" --> |
316 |
<div class="memitem"> |
317 |
<div class="memproto"> |
318 |
<table class="memname"> |
319 |
<tr> |
320 |
<td class="memname">void PamCutCollection::Setup </td> |
321 |
<td>(</td> |
322 |
<td class="paramtype">PamLevel2 * </td> |
323 |
<td class="paramname"> <em>events</em> </td> |
324 |
<td> ) </td> |
325 |
<td><code> [virtual]</code></td> |
326 |
</tr> |
327 |
</table> |
328 |
</div> |
329 |
<div class="memdoc"> |
330 |
|
331 |
<p> |
332 |
The pre-analysis task definition. |
333 |
<p> |
334 |
This override of the <a class="el" href="classPamCutCollection.html#982821389af5e585688611d733b3a7b0" title="The pre-analysis task definition.">Setup()</a> method calls <a class="el" href="classPamCutCollection.html#982821389af5e585688611d733b3a7b0" title="The pre-analysis task definition.">Setup()</a> for the base class <a class="el" href="classPamCut.html" title="An abstract class to apply cuts to Pamela data.">PamCut</a>, and subsequently for each cut contained in the collection, in the same order the cuts were added to the collection.<p> |
335 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
336 |
<table border="0" cellspacing="2" cellpadding="0"> |
337 |
<tr><td valign="top"></td><td valign="top"><em>events</em> </td><td>The PamLevel2 pointer to the events that will be analyzed. Unused, but required by the interface. </td></tr> |
338 |
</table> |
339 |
</dl> |
340 |
|
341 |
<p>Reimplemented from <a class="el" href="classPamCut.html#e587828903b809c99f9ab5ba97ae6616">PamCut</a>.</p> |
342 |
|
343 |
<p>Reimplemented in <a class="el" href="classSmartCollection.html#9b5b11a854b9e174218ea516ceffb34c">SmartCollection</a>.</p> |
344 |
|
345 |
</div> |
346 |
</div><p> |
347 |
<hr>The documentation for this class was generated from the following files:<ul> |
348 |
<li>PamCutBase/<a class="el" href="PamCutBase_8h_source.html">PamCutBase.h</a><li>PamCutBase/<a class="el" href="PamCutBase_8cpp.html">PamCutBase.cpp</a></ul> |
349 |
</div> |
350 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:03 2009 for PamCut by |
351 |
<a href="http://www.doxygen.org/index.html"> |
352 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
353 |
</body> |
354 |
</html> |