#include <SmartBlindCollection.h>
Public Member Functions | |
SmartBlindCollection (const char *collectionName) | |
Constructor. | |
~SmartBlindCollection () | |
Destructor. | |
int | ApplyCut (PamLevel2 *event) |
The SmartBlindCollection class is designed to handle CollectionAction objects. These defines the procedures to do when an event is selected or discarded. This collection differs from SmartCollection only because it is blind, ie., it will apply all the cuts to each events, even if some of them fail (see BlindCutCollection to get more info about blind collections). In current implementation, after a cut has failed, it will call OnBad for all the actions that come after that cut, regardless if, for example, in a certain subsequent bunch all the cuts are satisfied.
SmartBlindCollection::SmartBlindCollection | ( | const char * | collectionName | ) | [inline] |
Constructor.
collectionName | The collection's name. |
int SmartBlindCollection::ApplyCut | ( | PamLevel2 * | event | ) | [virtual] |
Applies the cuts and executes the actions.
When cuts are applied, a SmartBlindCollection will also execute the actions at the end of the bunches of cuts.
event | The event to analyze. |
Reimplemented from SmartCollection.