Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

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

A mixture of a Controller and a TSelector. More...

#include <Selector.hpp>

Inheritance diagram for cafe::Selector:

cafe::Controller cafe::Processor List of all members.

Public Member Functions

 Selector (const char *name)
virtual void Begin (TTree *tree)
virtual void Init (TTree *tree)
virtual void Terminate ()
virtual Bool_t Process (Entry_t entry)
virtual Int_t Version () const
 ClassDef (Selector, 0)

Private Attributes

TTree * _tree
Event _event

Detailed Description

A mixture of a Controller and a TSelector.

Can be passed directly to TTree::Process() and will call all its children for each event.

This allows you to call cafe Processors from the root command line and with any tree.

Definition at line 30 of file Selector.hpp.


Constructor & Destructor Documentation

cafe::Selector::Selector const char *  name  ) 
 

Definition at line 7 of file Selector.cpp.


Member Function Documentation

void cafe::Selector::Begin TTree *  tree  )  [virtual]
 

Definition at line 14 of file Selector.cpp.

References cafe::Controller::begin().

cafe::Selector::ClassDef Selector  ,
 

void cafe::Selector::Init TTree *  tree  )  [virtual]
 

Definition at line 19 of file Selector.cpp.

References _event, _tree, cafe::Controller::inputFileOpened(), and cafe::EventBase::setBranchAddresses().

Bool_t cafe::Selector::Process Entry_t  entry  )  [virtual]
 

Definition at line 32 of file Selector.cpp.

References _event, _tree, cafe::Entry_t, and cafe::Controller::processEvent().

void cafe::Selector::Terminate  )  [virtual]
 

Definition at line 26 of file Selector.cpp.

References cafe::Controller::finish().

Int_t cafe::Selector::Version  )  const [virtual]
 

Definition at line 38 of file Selector.cpp.


Member Data Documentation

Event cafe::Selector::_event [private]
 

Definition at line 43 of file Selector.hpp.

Referenced by Init(), and Process().

TTree* cafe::Selector::_tree [private]
 

Definition at line 42 of file Selector.hpp.

Referenced by Init(), and Process().


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 10:13:10 2006 for CAF by doxygen 1.3.4