| 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: SmartCollection 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>SmartCollection Class Reference</h1><!-- doxytag: class="SmartCollection" --><!-- doxytag: inherits="PamCutCollection" -->A collection class designed to use <a class="el" href="classCollectionAction.html" title="An abstract class that defines the interface of a generic collection action.">CollectionAction</a> objects. |
| 26 |
<a href="#_details">More...</a> |
| 27 |
<p> |
| 28 |
<code>#include <<a class="el" href="SmartCollection_8h_source.html">SmartCollection.h</a>></code> |
| 29 |
<p> |
| 30 |
<div class="dynheader"> |
| 31 |
Inheritance diagram for SmartCollection:</div> |
| 32 |
<div class="dynsection"> |
| 33 |
|
| 34 |
<p><center><img src="classSmartCollection.png" usemap="#SmartCollection_map" border="0" alt=""></center> |
| 35 |
<map name="SmartCollection_map"> |
| 36 |
<area href="classPamCutCollection.html" alt="PamCutCollection" shape="rect" coords="0,56,116,80"> |
| 37 |
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,116,24"> |
| 38 |
<area href="classVerboseCollection.html" alt="VerboseCollection" shape="rect" coords="0,168,116,192"> |
| 39 |
</map> |
| 40 |
</div> |
| 41 |
|
| 42 |
<p> |
| 43 |
<a href="classSmartCollection-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
| 44 |
<tr><td></td></tr> |
| 45 |
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
| 46 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#597157bb186c4688cd305b62a197009d">SmartCollection</a> (const char *collectionName)</td></tr> |
| 47 |
|
| 48 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#597157bb186c4688cd305b62a197009d"></a><br></td></tr> |
| 49 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#63fdadd219eb42065c6e9adc63558b63">~SmartCollection</a> ()</td></tr> |
| 50 |
|
| 51 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#63fdadd219eb42065c6e9adc63558b63"></a><br></td></tr> |
| 52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#9265adb168bca295f264af65276a002b">AddAction</a> (<a class="el" href="classCollectionAction.html">CollectionAction</a> &action)</td></tr> |
| 53 |
|
| 54 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds an action to the <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a>. <a href="#9265adb168bca295f264af65276a002b"></a><br></td></tr> |
| 55 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCollectionAction.html">CollectionAction</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#acadaf64f683e7932c376e924e7020ea">GetAction</a> (unsigned int iAction)</td></tr> |
| 56 |
|
| 57 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the iAction-th action. <a href="#acadaf64f683e7932c376e924e7020ea"></a><br></td></tr> |
| 58 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#9b5b11a854b9e174218ea516ceffb34c">Setup</a> (PamLevel2 *events)</td></tr> |
| 59 |
|
| 60 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The pre-analysis task definition. <a href="#9b5b11a854b9e174218ea516ceffb34c"></a><br></td></tr> |
| 61 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#8105730615ad127a482a7fb399695977">Finalize</a> ()</td></tr> |
| 62 |
|
| 63 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The post-analysis task definition. <a href="#8105730615ad127a482a7fb399695977"></a><br></td></tr> |
| 64 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#13ce6deb47b60d10225598dd1201cd80">OnGood</a> (PamLevel2 *event)</td></tr> |
| 65 |
|
| 66 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Post-selection tasks. <a href="#13ce6deb47b60d10225598dd1201cd80"></a><br></td></tr> |
| 67 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#99ac049c98461fbe04167f386ca7ed76">OnBad</a> (PamLevel2 *event, int selectionResult)</td></tr> |
| 68 |
|
| 69 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Post-selection tasks. <a href="#99ac049c98461fbe04167f386ca7ed76"></a><br></td></tr> |
| 70 |
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> |
| 71 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::vector< <a class="el" href="classCollectionAction.html">CollectionAction</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#a80a9cf5cab3683a61b47a1145ff8f15">_actions</a></td></tr> |
| 72 |
|
| 73 |
</table> |
| 74 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
| 75 |
A collection class designed to use <a class="el" href="classCollectionAction.html" title="An abstract class that defines the interface of a generic collection action.">CollectionAction</a> objects. |
| 76 |
<p> |
| 77 |
The <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a> class is designed to handle <a class="el" href="classCollectionAction.html" title="An abstract class that defines the interface of a generic collection action.">CollectionAction</a> objects. These defines the procedures to do when an event is selected or discarded. A <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a> handles a vector of these objects, calling <a class="el" href="classCollectionAction.html#801dd664020b71e8a3232e5a584d96a0" title="Routine for selected events.">CollectionAction::OnGood()</a> for each of them when a good event is selected and <a class="el" href="classCollectionAction.html#ef4ee9fd63c0d232e90694e068e6e339" title="Routine for discarded events.">CollectionAction::OnBad()</a> when a bad one is rejected. It will also call the <a class="el" href="classCollectionAction.html#13adbcacf5e088f7979f0644a65372b4" title="The initialization routine.">CollectionAction::Setup()</a> and <a class="el" href="classCollectionAction.html#c32b42fc08bc1be7b003579b633de041" title="The finalization routine.">CollectionAction::Finalize()</a> methods at the beginning and at the end of the analysis, respectively. |
| 78 |
<p>Definition at line <a class="el" href="SmartCollection_8h_source.html#l00026">26</a> of file <a class="el" href="SmartCollection_8h_source.html">SmartCollection.h</a>.</p> |
| 79 |
<hr><h2>Constructor & Destructor Documentation</h2> |
| 80 |
<a class="anchor" name="597157bb186c4688cd305b62a197009d"></a><!-- doxytag: member="SmartCollection::SmartCollection" ref="597157bb186c4688cd305b62a197009d" args="(const char *collectionName)" --> |
| 81 |
<div class="memitem"> |
| 82 |
<div class="memproto"> |
| 83 |
<table class="memname"> |
| 84 |
<tr> |
| 85 |
<td class="memname">SmartCollection::SmartCollection </td> |
| 86 |
<td>(</td> |
| 87 |
<td class="paramtype">const char * </td> |
| 88 |
<td class="paramname"> <em>collectionName</em> </td> |
| 89 |
<td> ) </td> |
| 90 |
<td><code> [inline]</code></td> |
| 91 |
</tr> |
| 92 |
</table> |
| 93 |
</div> |
| 94 |
<div class="memdoc"> |
| 95 |
|
| 96 |
<p> |
| 97 |
Constructor. |
| 98 |
<p> |
| 99 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
| 100 |
<table border="0" cellspacing="2" cellpadding="0"> |
| 101 |
<tr><td valign="top"></td><td valign="top"><em>collectionName</em> </td><td>The collection's name. </td></tr> |
| 102 |
</table> |
| 103 |
</dl> |
| 104 |
|
| 105 |
<p>Definition at line <a class="el" href="SmartCollection_8h_source.html#l00034">34</a> of file <a class="el" href="SmartCollection_8h_source.html">SmartCollection.h</a>.</p> |
| 106 |
|
| 107 |
</div> |
| 108 |
</div><p> |
| 109 |
<a class="anchor" name="63fdadd219eb42065c6e9adc63558b63"></a><!-- doxytag: member="SmartCollection::~SmartCollection" ref="63fdadd219eb42065c6e9adc63558b63" args="()" --> |
| 110 |
<div class="memitem"> |
| 111 |
<div class="memproto"> |
| 112 |
<table class="memname"> |
| 113 |
<tr> |
| 114 |
<td class="memname">SmartCollection::~SmartCollection </td> |
| 115 |
<td>(</td> |
| 116 |
<td class="paramname"> </td> |
| 117 |
<td> ) </td> |
| 118 |
<td><code> [inline]</code></td> |
| 119 |
</tr> |
| 120 |
</table> |
| 121 |
</div> |
| 122 |
<div class="memdoc"> |
| 123 |
|
| 124 |
<p> |
| 125 |
Destructor. |
| 126 |
<p> |
| 127 |
|
| 128 |
<p>Definition at line <a class="el" href="SmartCollection_8h_source.html#l00039">39</a> of file <a class="el" href="SmartCollection_8h_source.html">SmartCollection.h</a>.</p> |
| 129 |
|
| 130 |
</div> |
| 131 |
</div><p> |
| 132 |
<hr><h2>Member Function Documentation</h2> |
| 133 |
<a class="anchor" name="9265adb168bca295f264af65276a002b"></a><!-- doxytag: member="SmartCollection::AddAction" ref="9265adb168bca295f264af65276a002b" args="(CollectionAction &action)" --> |
| 134 |
<div class="memitem"> |
| 135 |
<div class="memproto"> |
| 136 |
<table class="memname"> |
| 137 |
<tr> |
| 138 |
<td class="memname">void SmartCollection::AddAction </td> |
| 139 |
<td>(</td> |
| 140 |
<td class="paramtype"><a class="el" href="classCollectionAction.html">CollectionAction</a> & </td> |
| 141 |
<td class="paramname"> <em>action</em> </td> |
| 142 |
<td> ) </td> |
| 143 |
<td><code> [virtual]</code></td> |
| 144 |
</tr> |
| 145 |
</table> |
| 146 |
</div> |
| 147 |
<div class="memdoc"> |
| 148 |
|
| 149 |
<p> |
| 150 |
Adds an action to the <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a>. |
| 151 |
<p> |
| 152 |
|
| 153 |
<p>Definition at line <a class="el" href="SmartCollection_8cpp_source.html#l00012">12</a> of file <a class="el" href="SmartCollection_8cpp_source.html">SmartCollection.cpp</a>.</p> |
| 154 |
|
| 155 |
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
| 156 |
|
| 157 |
</div> |
| 158 |
</div><p> |
| 159 |
<a class="anchor" name="8105730615ad127a482a7fb399695977"></a><!-- doxytag: member="SmartCollection::Finalize" ref="8105730615ad127a482a7fb399695977" args="()" --> |
| 160 |
<div class="memitem"> |
| 161 |
<div class="memproto"> |
| 162 |
<table class="memname"> |
| 163 |
<tr> |
| 164 |
<td class="memname">void SmartCollection::Finalize </td> |
| 165 |
<td>(</td> |
| 166 |
<td class="paramname"> </td> |
| 167 |
<td> ) </td> |
| 168 |
<td><code> [virtual]</code></td> |
| 169 |
</tr> |
| 170 |
</table> |
| 171 |
</div> |
| 172 |
<div class="memdoc"> |
| 173 |
|
| 174 |
<p> |
| 175 |
The post-analysis task definition. |
| 176 |
<p> |
| 177 |
This override of the <a class="el" href="classSmartCollection.html#8105730615ad127a482a7fb399695977" title="The post-analysis task definition.">Finalize()</a> method calls <a class="el" href="classPamCutCollection.html#15785c75fb13b998422739e741bb5c01" title="The post-analysis task definition.">PamCutCollection::Finalize()</a> and then the <a class="el" href="classSmartCollection.html#8105730615ad127a482a7fb399695977" title="The post-analysis task definition.">Finalize()</a> method of each action contained in the <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a>. |
| 178 |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#15785c75fb13b998422739e741bb5c01">PamCutCollection</a>.</p> |
| 179 |
|
| 180 |
<p>Reimplemented in <a class="el" href="classVerboseCollection.html#3fcdf28d50507d772647d4306a78f3cc">VerboseCollection</a>.</p> |
| 181 |
|
| 182 |
<p>Definition at line <a class="el" href="SmartCollection_8cpp_source.html#l00033">33</a> of file <a class="el" href="SmartCollection_8cpp_source.html">SmartCollection.cpp</a>.</p> |
| 183 |
|
| 184 |
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
| 185 |
|
| 186 |
</div> |
| 187 |
</div><p> |
| 188 |
<a class="anchor" name="acadaf64f683e7932c376e924e7020ea"></a><!-- doxytag: member="SmartCollection::GetAction" ref="acadaf64f683e7932c376e924e7020ea" args="(unsigned int iAction)" --> |
| 189 |
<div class="memitem"> |
| 190 |
<div class="memproto"> |
| 191 |
<table class="memname"> |
| 192 |
<tr> |
| 193 |
<td class="memname"><a class="el" href="classCollectionAction.html">CollectionAction</a> * SmartCollection::GetAction </td> |
| 194 |
<td>(</td> |
| 195 |
<td class="paramtype">unsigned int </td> |
| 196 |
<td class="paramname"> <em>iAction</em> </td> |
| 197 |
<td> ) </td> |
| 198 |
<td></td> |
| 199 |
</tr> |
| 200 |
</table> |
| 201 |
</div> |
| 202 |
<div class="memdoc"> |
| 203 |
|
| 204 |
<p> |
| 205 |
Returns the iAction-th action. |
| 206 |
<p> |
| 207 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
| 208 |
<table border="0" cellspacing="2" cellpadding="0"> |
| 209 |
<tr><td valign="top"></td><td valign="top"><em>iAction</em> </td><td>The index of the desired <a class="el" href="classCollectionAction.html" title="An abstract class that defines the interface of a generic collection action.">CollectionAction</a>, defined as the insertion order (from 0 to #actions-1, see <a class="el" href="classSmartCollection.html#9265adb168bca295f264af65276a002b" title="Adds an action to the SmartCollection.">AddAction()</a>). </td></tr> |
| 210 |
</table> |
| 211 |
</dl> |
| 212 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd>pointer to the iAction-th action; NULL if the specified action cannot be found or if no actions are present. </dd></dl> |
| 213 |
|
| 214 |
<p>Definition at line <a class="el" href="SmartCollection_8cpp_source.html#l00016">16</a> of file <a class="el" href="SmartCollection_8cpp_source.html">SmartCollection.cpp</a>.</p> |
| 215 |
|
| 216 |
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
| 217 |
|
| 218 |
</div> |
| 219 |
</div><p> |
| 220 |
<a class="anchor" name="99ac049c98461fbe04167f386ca7ed76"></a><!-- doxytag: member="SmartCollection::OnBad" ref="99ac049c98461fbe04167f386ca7ed76" args="(PamLevel2 *event, int selectionResult)" --> |
| 221 |
<div class="memitem"> |
| 222 |
<div class="memproto"> |
| 223 |
<table class="memname"> |
| 224 |
<tr> |
| 225 |
<td class="memname">void SmartCollection::OnBad </td> |
| 226 |
<td>(</td> |
| 227 |
<td class="paramtype">PamLevel2 * </td> |
| 228 |
<td class="paramname"> <em>event</em>, </td> |
| 229 |
</tr> |
| 230 |
<tr> |
| 231 |
<td class="paramkey"></td> |
| 232 |
<td></td> |
| 233 |
<td class="paramtype">int </td> |
| 234 |
<td class="paramname"> <em>selectionResult</em></td><td> </td> |
| 235 |
</tr> |
| 236 |
<tr> |
| 237 |
<td></td> |
| 238 |
<td>)</td> |
| 239 |
<td></td><td></td><td><code> [virtual]</code></td> |
| 240 |
</tr> |
| 241 |
</table> |
| 242 |
</div> |
| 243 |
<div class="memdoc"> |
| 244 |
|
| 245 |
<p> |
| 246 |
Post-selection tasks. |
| 247 |
<p> |
| 248 |
This routine is automatically called after a bad event has been rejected by <a class="el" href="classPamCutCollection.html#e7af429a3afef3685cbd5aa076ef96e5" title="Applies the cuts to the current event.">ApplyCut()</a>. It will simply call <a class="el" href="classPamCut.html#cbb3b507d79f20878fac4392ffa57acb" title="Post-selection tasks.">PamCutCollection::OnBad()</a> and then <a class="el" href="classCollectionAction.html#ef4ee9fd63c0d232e90694e068e6e339" title="Routine for discarded events.">CollectionAction::OnBad()</a> for each action in the <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a>.<p> |
| 249 |
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSmartCollection.html#13ce6deb47b60d10225598dd1201cd80" title="Post-selection tasks.">OnGood</a> </dd></dl> |
| 250 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
| 251 |
<table border="0" cellspacing="2" cellpadding="0"> |
| 252 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event which don't satisfy the cut. </td></tr> |
| 253 |
<tr><td valign="top"></td><td valign="top"><em>selectionResult</em> </td><td>The return value of the <a class="el" href="classPamCutCollection.html#85f04cef7b560a37061391dd397813a7" title="The basic selection.">Check()</a> routine. </td></tr> |
| 254 |
</table> |
| 255 |
</dl> |
| 256 |
|
| 257 |
<p>Reimplemented from <a class="el" href="classPamCut.html#cbb3b507d79f20878fac4392ffa57acb">PamCut</a>.</p> |
| 258 |
|
| 259 |
<p>Definition at line <a class="el" href="SmartCollection_8cpp_source.html#l00049">49</a> of file <a class="el" href="SmartCollection_8cpp_source.html">SmartCollection.cpp</a>.</p> |
| 260 |
|
| 261 |
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
| 262 |
|
| 263 |
</div> |
| 264 |
</div><p> |
| 265 |
<a class="anchor" name="13ce6deb47b60d10225598dd1201cd80"></a><!-- doxytag: member="SmartCollection::OnGood" ref="13ce6deb47b60d10225598dd1201cd80" args="(PamLevel2 *event)" --> |
| 266 |
<div class="memitem"> |
| 267 |
<div class="memproto"> |
| 268 |
<table class="memname"> |
| 269 |
<tr> |
| 270 |
<td class="memname">void SmartCollection::OnGood </td> |
| 271 |
<td>(</td> |
| 272 |
<td class="paramtype">PamLevel2 * </td> |
| 273 |
<td class="paramname"> <em>event</em> </td> |
| 274 |
<td> ) </td> |
| 275 |
<td><code> [virtual]</code></td> |
| 276 |
</tr> |
| 277 |
</table> |
| 278 |
</div> |
| 279 |
<div class="memdoc"> |
| 280 |
|
| 281 |
<p> |
| 282 |
Post-selection tasks. |
| 283 |
<p> |
| 284 |
This routine is automatically called after a good event has been selected by <a class="el" href="classPamCutCollection.html#e7af429a3afef3685cbd5aa076ef96e5" title="Applies the cuts to the current event.">ApplyCut()</a>. It will simply call <a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985" title="Post-selection tasks.">PamCutCollection::OnGood()</a> and then <a class="el" href="classCollectionAction.html#801dd664020b71e8a3232e5a584d96a0" title="Routine for selected events.">CollectionAction::OnGood()</a> for each action in the <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a>. <dl compact><dt><b>Parameters:</b></dt><dd> |
| 285 |
<table border="0" cellspacing="2" cellpadding="0"> |
| 286 |
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event which satisfy the cut. </td></tr> |
| 287 |
</table> |
| 288 |
</dl> |
| 289 |
|
| 290 |
<p>Reimplemented from <a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985">PamCut</a>.</p> |
| 291 |
|
| 292 |
<p>Definition at line <a class="el" href="SmartCollection_8cpp_source.html#l00041">41</a> of file <a class="el" href="SmartCollection_8cpp_source.html">SmartCollection.cpp</a>.</p> |
| 293 |
|
| 294 |
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
| 295 |
|
| 296 |
</div> |
| 297 |
</div><p> |
| 298 |
<a class="anchor" name="9b5b11a854b9e174218ea516ceffb34c"></a><!-- doxytag: member="SmartCollection::Setup" ref="9b5b11a854b9e174218ea516ceffb34c" args="(PamLevel2 *events)" --> |
| 299 |
<div class="memitem"> |
| 300 |
<div class="memproto"> |
| 301 |
<table class="memname"> |
| 302 |
<tr> |
| 303 |
<td class="memname">void SmartCollection::Setup </td> |
| 304 |
<td>(</td> |
| 305 |
<td class="paramtype">PamLevel2 * </td> |
| 306 |
<td class="paramname"> <em>events</em> </td> |
| 307 |
<td> ) </td> |
| 308 |
<td><code> [virtual]</code></td> |
| 309 |
</tr> |
| 310 |
</table> |
| 311 |
</div> |
| 312 |
<div class="memdoc"> |
| 313 |
|
| 314 |
<p> |
| 315 |
The pre-analysis task definition. |
| 316 |
<p> |
| 317 |
This override of the <a class="el" href="classSmartCollection.html#9b5b11a854b9e174218ea516ceffb34c" title="The pre-analysis task definition.">Setup()</a> method calls <a class="el" href="classSmartCollection.html#9b5b11a854b9e174218ea516ceffb34c" title="The pre-analysis task definition.">Setup()</a> for the base class <a class="el" href="classPamCutCollection.html" title="A class which applies a set of cuts to Pamela data.">PamCutCollection</a>, and subsequently for each action contained in the <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a>.<p> |
| 318 |
<dl compact><dt><b>Parameters:</b></dt><dd> |
| 319 |
<table border="0" cellspacing="2" cellpadding="0"> |
| 320 |
<tr><td valign="top"></td><td valign="top"><em>events</em> </td><td>The PamLevel2 pointer to the events that will be analyzed. Used only as parameter for <a class="el" href="classCollectionAction.html#13adbcacf5e088f7979f0644a65372b4" title="The initialization routine.">CollectionAction::Setup()</a>. </td></tr> |
| 321 |
</table> |
| 322 |
</dl> |
| 323 |
|
| 324 |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#982821389af5e585688611d733b3a7b0">PamCutCollection</a>.</p> |
| 325 |
|
| 326 |
<p>Definition at line <a class="el" href="SmartCollection_8cpp_source.html#l00025">25</a> of file <a class="el" href="SmartCollection_8cpp_source.html">SmartCollection.cpp</a>.</p> |
| 327 |
|
| 328 |
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
| 329 |
|
| 330 |
</div> |
| 331 |
</div><p> |
| 332 |
<hr><h2>Member Data Documentation</h2> |
| 333 |
<a class="anchor" name="a80a9cf5cab3683a61b47a1145ff8f15"></a><!-- doxytag: member="SmartCollection::_actions" ref="a80a9cf5cab3683a61b47a1145ff8f15" args="" --> |
| 334 |
<div class="memitem"> |
| 335 |
<div class="memproto"> |
| 336 |
<table class="memname"> |
| 337 |
<tr> |
| 338 |
<td class="memname">std::vector<<a class="el" href="classCollectionAction.html">CollectionAction</a>*> <a class="el" href="classSmartCollection.html#a80a9cf5cab3683a61b47a1145ff8f15">SmartCollection::_actions</a><code> [private]</code> </td> |
| 339 |
</tr> |
| 340 |
</table> |
| 341 |
</div> |
| 342 |
<div class="memdoc"> |
| 343 |
|
| 344 |
<p> |
| 345 |
|
| 346 |
<p>Definition at line <a class="el" href="SmartCollection_8h_source.html#l00093">93</a> of file <a class="el" href="SmartCollection_8h_source.html">SmartCollection.h</a>.</p> |
| 347 |
|
| 348 |
<p>Referenced by <a class="el" href="SmartCollection_8cpp_source.html#l00012">AddAction()</a>, <a class="el" href="SmartCollection_8cpp_source.html#l00033">Finalize()</a>, <a class="el" href="SmartCollection_8cpp_source.html#l00016">GetAction()</a>, <a class="el" href="SmartCollection_8cpp_source.html#l00049">OnBad()</a>, <a class="el" href="SmartCollection_8cpp_source.html#l00041">OnGood()</a>, and <a class="el" href="SmartCollection_8cpp_source.html#l00025">Setup()</a>.</p> |
| 349 |
|
| 350 |
</div> |
| 351 |
</div><p> |
| 352 |
<hr>The documentation for this class was generated from the following files:<ul> |
| 353 |
<li>Collections/SmartCollection/<a class="el" href="SmartCollection_8h_source.html">SmartCollection.h</a><li>Collections/SmartCollection/<a class="el" href="SmartCollection_8cpp_source.html">SmartCollection.cpp</a></ul> |
| 354 |
</div> |
| 355 |
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:43 2009 for PamCut by |
| 356 |
<a href="http://www.doxygen.org/index.html"> |
| 357 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
| 358 |
</body> |
| 359 |
</html> |