cafe::RemoveObjects Class Reference
[CAF Environment (Cafe)]

#include <RemoveObjects.hpp>

Inheritance diagram for cafe::RemoveObjects:

cafe::Processor List of all members.

Detailed Description

Remove all objects from a user defined branch.

The list of objects to keep is passed in one or more TObjArray via the Event.

The package assumes that some other code determines which objects are worth keeping and puts the objects into a TObjArray. There can be more than one such list. The names of these arrays is given in the .Keep: option.

Configuration options:

Definition at line 31 of file RemoveObjects.hpp.

Public Member Functions

 RemoveObjects (const char *name)
bool processEvent (cafe::Event &event)
 Called for every event.

 ClassDef (RemoveObjects, 0)

Private Attributes

std::string _branch
std::vector< std::string > _list


Constructor & Destructor Documentation

cafe::RemoveObjects::RemoveObjects const char *  name  ) 
 

Definition at line 13 of file RemoveObjects.cpp.

References _branch, _list, cafe::Config::get(), cafe::Config::getVString(), and cafe::Processor::name().


Member Function Documentation

cafe::RemoveObjects::ClassDef RemoveObjects  ,
 

bool cafe::RemoveObjects::processEvent cafe::Event event  )  [virtual]
 

Called for every event.

Reimplemented from cafe::Processor.

Definition at line 24 of file RemoveObjects.cpp.

References _branch, _list, cafe::Processor::err(), cafe::EventBase::get(), cafe::EventBase::getClonesArray(), and cafe::Processor::name().


Member Data Documentation

std::string cafe::RemoveObjects::_branch [private]
 

Definition at line 36 of file RemoveObjects.hpp.

Referenced by processEvent(), and RemoveObjects().

std::vector<std::string> cafe::RemoveObjects::_list [private]
 

Definition at line 37 of file RemoveObjects.hpp.

Referenced by processEvent(), and RemoveObjects().


The documentation for this class was generated from the following files:
Generated on Thu Apr 3 04:14:27 2008 for CAF by doxygen 1.3.4