--- PamCut/doc/Doxygen/html/classSmartCollection.html 2009/05/27 13:30:05 1.1 +++ PamCut/doc/Doxygen/html/classSmartCollection.html 2009/06/05 13:15:43 1.2 @@ -33,9 +33,11 @@
-The SmartCollection class is designed to handle CollectionAction objects. These defines the procedures to do when an event is selected or discarded. A SmartCollection handles a vector of these objects, calling CollectionAction::OnGood() for each of them when a good event is selected and CollectionAction::OnBad() when a bad one is rejected. It will also call the CollectionAction::Setup() and CollectionAction::Finalize() methods at the beginning and at the end of the analysis, respectively. -
Definition at line 26 of file SmartCollection.h.
-+| cut1 | cut2 | action1 | action2 | cut3 | cut4 | action3 | ...
+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.
Definition at line 34 of file SmartCollection.h.
- -SmartCollection::~SmartCollection | -( | -- | ) | - [inline] |
-
void SmartCollection::AddAction | +int SmartCollection::ApplyCut | ( | -CollectionAction & | -action | +PamLevel2 * | +event | ) | [virtual] |
event | The event to analyze. |
Definition at line 12 of file SmartCollection.cpp.
+Reimplemented from PamCutCollection.
-References _actions.
+Reimplemented in SmartBlindCollection.
@@ -177,11 +161,7 @@ This override of the Finalize() method calls PamCutCollection::Finalize() and then the Finalize() method of each action contained in the SmartCollection.
Reimplemented from PamCutCollection.
-Reimplemented in VerboseCollection.
- -Definition at line 33 of file SmartCollection.cpp.
- -References _actions.
+Reimplemented in VerboseBlindCollection, and VerboseCollection.
@@ -211,88 +191,6 @@
Definition at line 16 of file SmartCollection.cpp.
- -References _actions.
- - -void SmartCollection::OnBad | -( | -PamLevel2 * | -event, | -|
- | - | int | -selectionResult | - |
- | ) | - [virtual] |
-
-Post-selection tasks. -
-This routine is automatically called after a bad event has been rejected by ApplyCut(). It will simply call PamCutCollection::OnBad() and then CollectionAction::OnBad() for each action in the SmartCollection.
-
event | The event which don't satisfy the cut. | |
selectionResult | The return value of the Check() routine. |
Reimplemented from PamCut.
- -Definition at line 49 of file SmartCollection.cpp.
- -References _actions.
- -void SmartCollection::OnGood | -( | -PamLevel2 * | -event | -) | - [virtual] |
-
-Post-selection tasks. -
-This routine is automatically called after a good event has been selected by ApplyCut(). It will simply call PamCutCollection::OnGood() and then CollectionAction::OnGood() for each action in the SmartCollection.
event | The event which satisfy the cut. |
Reimplemented from PamCut.
- -Definition at line 41 of file SmartCollection.cpp.
- -References _actions.
-Reimplemented from PamCutCollection.
-Definition at line 25 of file SmartCollection.cpp.
- -References _actions.
- - --
std::vector<CollectionAction*> SmartCollection::_actions [private] |
-
- -
Definition at line 93 of file SmartCollection.h.
- -Referenced by AddAction(), Finalize(), GetAction(), OnBad(), OnGood(), and Setup().
-