33 |
|
|
34 |
<p><center><img src="classSmartCollection.png" usemap="#SmartCollection_map" border="0" alt=""></center> |
<p><center><img src="classSmartCollection.png" usemap="#SmartCollection_map" border="0" alt=""></center> |
35 |
<map name="SmartCollection_map"> |
<map name="SmartCollection_map"> |
36 |
<area href="classPamCutCollection.html" alt="PamCutCollection" shape="rect" coords="0,56,116,80"> |
<area href="classPamCutCollection.html" alt="PamCutCollection" shape="rect" coords="77,56,221,80"> |
37 |
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,116,24"> |
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="77,0,221,24"> |
38 |
<area href="classVerboseCollection.html" alt="VerboseCollection" shape="rect" coords="0,168,116,192"> |
<area href="classSmartBlindCollection.html" alt="SmartBlindCollection" shape="rect" coords="0,168,144,192"> |
39 |
|
<area href="classVerboseCollection.html" alt="VerboseCollection" shape="rect" coords="154,168,298,192"> |
40 |
|
<area href="classVerboseBlindCollection.html" alt="VerboseBlindCollection" shape="rect" coords="0,224,144,248"> |
41 |
</map> |
</map> |
42 |
</div> |
</div> |
43 |
|
|
48 |
<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> |
<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> |
49 |
|
|
50 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#597157bb186c4688cd305b62a197009d"></a><br></td></tr> |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#597157bb186c4688cd305b62a197009d"></a><br></td></tr> |
51 |
<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> |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="63fdadd219eb42065c6e9adc63558b63"></a><!-- doxytag: member="SmartCollection::~SmartCollection" ref="63fdadd219eb42065c6e9adc63558b63" args="()" --> |
52 |
|
</td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#63fdadd219eb42065c6e9adc63558b63">~SmartCollection</a> ()</td></tr> |
53 |
|
|
54 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#63fdadd219eb42065c6e9adc63558b63"></a><br></td></tr> |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
55 |
<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> |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9265adb168bca295f264af65276a002b"></a><!-- doxytag: member="SmartCollection::AddAction" ref="9265adb168bca295f264af65276a002b" args="(CollectionAction &action)" --> |
56 |
|
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> |
57 |
|
|
58 |
<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> |
<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>. <br></td></tr> |
59 |
<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> |
<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> |
60 |
|
|
61 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the iAction-th action. <a href="#acadaf64f683e7932c376e924e7020ea"></a><br></td></tr> |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the iAction-th action. <a href="#acadaf64f683e7932c376e924e7020ea"></a><br></td></tr> |
65 |
<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> |
<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> |
66 |
|
|
67 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The post-analysis task definition. <a href="#8105730615ad127a482a7fb399695977"></a><br></td></tr> |
<tr><td class="mdescLeft"> </td><td class="mdescRight">The post-analysis task definition. <a href="#8105730615ad127a482a7fb399695977"></a><br></td></tr> |
68 |
<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> |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSmartCollection.html#98213ec078e9b94ea70c72132757da46">ApplyCut</a> (PamLevel2 *event)</td></tr> |
69 |
|
|
70 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Post-selection tasks. <a href="#13ce6deb47b60d10225598dd1201cd80"></a><br></td></tr> |
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
71 |
<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> |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a80a9cf5cab3683a61b47a1145ff8f15"></a><!-- doxytag: member="SmartCollection::_actions" ref="a80a9cf5cab3683a61b47a1145ff8f15" args="" --> |
72 |
|
std::vector< <a class="el" href="classCollectionAction.html">CollectionAction</a> * > </td><td class="memItemRight" valign="bottom"><b>_actions</b></td></tr> |
73 |
|
|
74 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Post-selection tasks. <a href="#99ac049c98461fbe04167f386ca7ed76"></a><br></td></tr> |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="732af2b9a16d0c098ce90ed29e15d09f"></a><!-- doxytag: member="SmartCollection::_actionsPositions" ref="732af2b9a16d0c098ce90ed29e15d09f" args="" --> |
75 |
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> |
std::vector< unsigned int > </td><td class="memItemRight" valign="bottom"><b>_actionsPositions</b></td></tr> |
|
<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> |
|
76 |
|
|
77 |
</table> |
</table> |
78 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
79 |
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. |
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. |
80 |
<p> |
<p> |
81 |
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. |
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. It holds a vector of these objects and takes care of calling Setup and Finalize for each of them at the beginning and at the end of the analysis, respectively. Actions can be added to the <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a> by means of the <a class="el" href="classSmartCollection.html#9265adb168bca295f264af65276a002b" title="Adds an action to the SmartCollection.">AddAction()</a> method. If a bunch of cuts have been already added to the collection, the action will be logically placed after the cuts. The <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a> will call <a class="el" href="classCollectionAction.html#077319900b1cde36b6baca9e6699ec5a" title="Routine for selected events.">CollectionAction::OnGood()</a> if the cuts preceding the actions are satisfied, and <a class="el" href="classCollectionAction.html#ef4ee9fd63c0d232e90694e068e6e339" title="Routine for discarded events.">CollectionAction::OnBad()</a> if at least one of them fails. An action will not be sensitive to cuts added to the collection after the action itself. The resulting structure is composed by bunches of cuts intertwined by actions, which are "executed" depending on the result of the bunch of cuts that precedes the action. Note that <a class="el" href="classCollectionAction.html#ef4ee9fd63c0d232e90694e068e6e339" title="Routine for discarded events.">CollectionAction::OnBad()</a> is called only for those actions at the end of the bunch where the first failed cut is: if after these actions there are other bunches of cuts and actions, they will be ignored. For example, in the sequence below:<p> |
82 |
<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> |
| cut1 | cut2 | action1 | action2 | cut3 | cut4 | action3 | ...<p> |
83 |
<hr><h2>Constructor & Destructor Documentation</h2> |
action1 and action2 are executed (eg., OnGood is called for them) if cut1 and cut2 are both satisfied, then cut3 and cut4 are evaluated and if both of them are satisfied then action3 is executed. If, for example, cut 1 or cut2 fail, then OnBad is called for action1 and action2; however, cut3, cut4, action3 and all that follows are ignored. The analysis goes on with the next event. <hr><h2>Constructor & Destructor Documentation</h2> |
84 |
<a class="anchor" name="597157bb186c4688cd305b62a197009d"></a><!-- doxytag: member="SmartCollection::SmartCollection" ref="597157bb186c4688cd305b62a197009d" args="(const char *collectionName)" --> |
<a class="anchor" name="597157bb186c4688cd305b62a197009d"></a><!-- doxytag: member="SmartCollection::SmartCollection" ref="597157bb186c4688cd305b62a197009d" args="(const char *collectionName)" --> |
85 |
<div class="memitem"> |
<div class="memitem"> |
86 |
<div class="memproto"> |
<div class="memproto"> |
106 |
</table> |
</table> |
107 |
</dl> |
</dl> |
108 |
|
|
|
<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> |
|
|
|
|
|
</div> |
|
|
</div><p> |
|
|
<a class="anchor" name="63fdadd219eb42065c6e9adc63558b63"></a><!-- doxytag: member="SmartCollection::~SmartCollection" ref="63fdadd219eb42065c6e9adc63558b63" args="()" --> |
|
|
<div class="memitem"> |
|
|
<div class="memproto"> |
|
|
<table class="memname"> |
|
|
<tr> |
|
|
<td class="memname">SmartCollection::~SmartCollection </td> |
|
|
<td>(</td> |
|
|
<td class="paramname"> </td> |
|
|
<td> ) </td> |
|
|
<td><code> [inline]</code></td> |
|
|
</tr> |
|
|
</table> |
|
|
</div> |
|
|
<div class="memdoc"> |
|
|
|
|
|
<p> |
|
|
Destructor. |
|
|
<p> |
|
|
|
|
|
<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> |
|
|
|
|
109 |
</div> |
</div> |
110 |
</div><p> |
</div><p> |
111 |
<hr><h2>Member Function Documentation</h2> |
<hr><h2>Member Function Documentation</h2> |
112 |
<a class="anchor" name="9265adb168bca295f264af65276a002b"></a><!-- doxytag: member="SmartCollection::AddAction" ref="9265adb168bca295f264af65276a002b" args="(CollectionAction &action)" --> |
<a class="anchor" name="98213ec078e9b94ea70c72132757da46"></a><!-- doxytag: member="SmartCollection::ApplyCut" ref="98213ec078e9b94ea70c72132757da46" args="(PamLevel2 *event)" --> |
113 |
<div class="memitem"> |
<div class="memitem"> |
114 |
<div class="memproto"> |
<div class="memproto"> |
115 |
<table class="memname"> |
<table class="memname"> |
116 |
<tr> |
<tr> |
117 |
<td class="memname">void SmartCollection::AddAction </td> |
<td class="memname">int SmartCollection::ApplyCut </td> |
118 |
<td>(</td> |
<td>(</td> |
119 |
<td class="paramtype"><a class="el" href="classCollectionAction.html">CollectionAction</a> & </td> |
<td class="paramtype">PamLevel2 * </td> |
120 |
<td class="paramname"> <em>action</em> </td> |
<td class="paramname"> <em>event</em> </td> |
121 |
<td> ) </td> |
<td> ) </td> |
122 |
<td><code> [virtual]</code></td> |
<td><code> [virtual]</code></td> |
123 |
</tr> |
</tr> |
126 |
<div class="memdoc"> |
<div class="memdoc"> |
127 |
|
|
128 |
<p> |
<p> |
129 |
Adds an action to the <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a>. |
Applies the cuts and executes the actions.<p> |
130 |
<p> |
When cuts are applied, a <a class="el" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a> will also execute the actions at the end of the bunches of cuts.<p> |
131 |
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
132 |
|
<table border="0" cellspacing="2" cellpadding="0"> |
133 |
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
134 |
|
</table> |
135 |
|
</dl> |
136 |
|
|
137 |
<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> |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#e7af429a3afef3685cbd5aa076ef96e5">PamCutCollection</a>.</p> |
138 |
|
|
139 |
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
<p>Reimplemented in <a class="el" href="classSmartBlindCollection.html#1eb231a8a437018bfd966644c7b18ba4">SmartBlindCollection</a>.</p> |
140 |
|
|
141 |
</div> |
</div> |
142 |
</div><p> |
</div><p> |
161 |
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>. |
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>. |
162 |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#15785c75fb13b998422739e741bb5c01">PamCutCollection</a>.</p> |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#15785c75fb13b998422739e741bb5c01">PamCutCollection</a>.</p> |
163 |
|
|
164 |
<p>Reimplemented in <a class="el" href="classVerboseCollection.html#3fcdf28d50507d772647d4306a78f3cc">VerboseCollection</a>.</p> |
<p>Reimplemented in <a class="el" href="classVerboseBlindCollection.html#43d6ea7b5ea35c5dbb342e23584b79ee">VerboseBlindCollection</a>, and <a class="el" href="classVerboseCollection.html#3fcdf28d50507d772647d4306a78f3cc">VerboseCollection</a>.</p> |
|
|
|
|
<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> |
|
|
|
|
|
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
|
165 |
|
|
166 |
</div> |
</div> |
167 |
</div><p> |
</div><p> |
191 |
</dl> |
</dl> |
192 |
<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> |
<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> |
193 |
|
|
|
<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> |
|
|
|
|
|
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
|
|
|
|
|
</div> |
|
|
</div><p> |
|
|
<a class="anchor" name="99ac049c98461fbe04167f386ca7ed76"></a><!-- doxytag: member="SmartCollection::OnBad" ref="99ac049c98461fbe04167f386ca7ed76" args="(PamLevel2 *event, int selectionResult)" --> |
|
|
<div class="memitem"> |
|
|
<div class="memproto"> |
|
|
<table class="memname"> |
|
|
<tr> |
|
|
<td class="memname">void SmartCollection::OnBad </td> |
|
|
<td>(</td> |
|
|
<td class="paramtype">PamLevel2 * </td> |
|
|
<td class="paramname"> <em>event</em>, </td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td class="paramkey"></td> |
|
|
<td></td> |
|
|
<td class="paramtype">int </td> |
|
|
<td class="paramname"> <em>selectionResult</em></td><td> </td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td></td> |
|
|
<td>)</td> |
|
|
<td></td><td></td><td><code> [virtual]</code></td> |
|
|
</tr> |
|
|
</table> |
|
|
</div> |
|
|
<div class="memdoc"> |
|
|
|
|
|
<p> |
|
|
Post-selection tasks. |
|
|
<p> |
|
|
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> |
|
|
<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> |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event which don't satisfy the cut. </td></tr> |
|
|
<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> |
|
|
</table> |
|
|
</dl> |
|
|
|
|
|
<p>Reimplemented from <a class="el" href="classPamCut.html#cbb3b507d79f20878fac4392ffa57acb">PamCut</a>.</p> |
|
|
|
|
|
<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> |
|
|
|
|
|
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
|
|
|
|
|
</div> |
|
|
</div><p> |
|
|
<a class="anchor" name="13ce6deb47b60d10225598dd1201cd80"></a><!-- doxytag: member="SmartCollection::OnGood" ref="13ce6deb47b60d10225598dd1201cd80" args="(PamLevel2 *event)" --> |
|
|
<div class="memitem"> |
|
|
<div class="memproto"> |
|
|
<table class="memname"> |
|
|
<tr> |
|
|
<td class="memname">void SmartCollection::OnGood </td> |
|
|
<td>(</td> |
|
|
<td class="paramtype">PamLevel2 * </td> |
|
|
<td class="paramname"> <em>event</em> </td> |
|
|
<td> ) </td> |
|
|
<td><code> [virtual]</code></td> |
|
|
</tr> |
|
|
</table> |
|
|
</div> |
|
|
<div class="memdoc"> |
|
|
|
|
|
<p> |
|
|
Post-selection tasks. |
|
|
<p> |
|
|
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> |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event which satisfy the cut. </td></tr> |
|
|
</table> |
|
|
</dl> |
|
|
|
|
|
<p>Reimplemented from <a class="el" href="classPamCut.html#56021e959232270c12528ddec3062985">PamCut</a>.</p> |
|
|
|
|
|
<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> |
|
|
|
|
|
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
|
|
|
|
194 |
</div> |
</div> |
195 |
</div><p> |
</div><p> |
196 |
<a class="anchor" name="9b5b11a854b9e174218ea516ceffb34c"></a><!-- doxytag: member="SmartCollection::Setup" ref="9b5b11a854b9e174218ea516ceffb34c" args="(PamLevel2 *events)" --> |
<a class="anchor" name="9b5b11a854b9e174218ea516ceffb34c"></a><!-- doxytag: member="SmartCollection::Setup" ref="9b5b11a854b9e174218ea516ceffb34c" args="(PamLevel2 *events)" --> |
221 |
|
|
222 |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#982821389af5e585688611d733b3a7b0">PamCutCollection</a>.</p> |
<p>Reimplemented from <a class="el" href="classPamCutCollection.html#982821389af5e585688611d733b3a7b0">PamCutCollection</a>.</p> |
223 |
|
|
|
<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> |
|
|
|
|
|
<p>References <a class="el" href="SmartCollection_8h_source.html#l00093">_actions</a>.</p> |
|
|
|
|
|
</div> |
|
|
</div><p> |
|
|
<hr><h2>Member Data Documentation</h2> |
|
|
<a class="anchor" name="a80a9cf5cab3683a61b47a1145ff8f15"></a><!-- doxytag: member="SmartCollection::_actions" ref="a80a9cf5cab3683a61b47a1145ff8f15" args="" --> |
|
|
<div class="memitem"> |
|
|
<div class="memproto"> |
|
|
<table class="memname"> |
|
|
<tr> |
|
|
<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> |
|
|
</tr> |
|
|
</table> |
|
|
</div> |
|
|
<div class="memdoc"> |
|
|
|
|
|
<p> |
|
|
|
|
|
<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> |
|
|
|
|
|
<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> |
|
|
|
|
224 |
</div> |
</div> |
225 |
</div><p> |
</div><p> |
226 |
<hr>The documentation for this class was generated from the following files:<ul> |
<hr>The documentation for this class was generated from the following files:<ul> |
227 |
<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> |
<li>Collections/SmartCollection/<a class="el" href="SmartCollection_8h_source.html">SmartCollection.h</a><li>Collections/SmartCollection/<a class="el" href="SmartCollection_8cpp.html">SmartCollection.cpp</a></ul> |
228 |
</div> |
</div> |
229 |
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:43 2009 for PamCut by |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:04 2009 for PamCut by |
230 |
<a href="http://www.doxygen.org/index.html"> |
<a href="http://www.doxygen.org/index.html"> |
231 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
232 |
</body> |
</body> |