SmartBlindCollection Class Reference

A blind collection class designed to use CollectionAction objects. More...

#include <SmartBlindCollection.h>

Inheritance diagram for SmartBlindCollection:

SmartCollection PamCutCollection PamCut VerboseBlindCollection

List of all members.

Public Member Functions

 SmartBlindCollection (const char *collectionName)
 Constructor.
 ~SmartBlindCollection ()
 Destructor.
int ApplyCut (PamLevel2 *event)


Detailed Description

A blind collection class designed to use CollectionAction objects.

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.


Constructor & Destructor Documentation

SmartBlindCollection::SmartBlindCollection ( const char *  collectionName  )  [inline]

Constructor.

Parameters:
collectionName The collection's name.


Member Function Documentation

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.

Parameters:
event The event to analyze.

Reimplemented from SmartCollection.


The documentation for this class was generated from the following files:

Generated on Fri Jun 5 15:09:04 2009 for PamCut by  doxygen 1.5.9