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

#include <GoodRuns.hpp>

Inheritance diagram for cafe::GoodRuns:

cafe::Processor List of all members.

Detailed Description

Reject events for bad runs or accept events for good runs.

Configuration options:

Definition at line 25 of file GoodRuns.hpp.

Public Member Functions

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

 ClassDef (GoodRuns, 0)

Private Attributes

std::set< int > _goodRuns
bool _useRuns
cafe::Variables _vars


Constructor & Destructor Documentation

cafe::GoodRuns::GoodRuns const char *  name  ) 
 

Definition at line 11 of file GoodRuns.cpp.

References _goodRuns, _useRuns, cafe::Config::get(), cafe::Config::getVString(), cafe::Processor::name(), and cafe::Processor::out().


Member Function Documentation

cafe::GoodRuns::ClassDef GoodRuns  ,
 

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

Called for every event.

Reimplemented from cafe::Processor.

Definition at line 30 of file GoodRuns.cpp.

References _goodRuns, _useRuns, _vars, cafe::Event::getGlobal(), and TMBGlobal::runno().


Member Data Documentation

std::set<int> cafe::GoodRuns::_goodRuns [private]
 

Definition at line 30 of file GoodRuns.hpp.

Referenced by GoodRuns(), and processEvent().

bool cafe::GoodRuns::_useRuns [private]
 

Definition at line 31 of file GoodRuns.hpp.

Referenced by GoodRuns(), and processEvent().

cafe::Variables cafe::GoodRuns::_vars [private]
 

Definition at line 32 of file GoodRuns.hpp.

Referenced by processEvent().


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