#include <EventList.hpp>
Inheritance diagram for cafe::EventList:

Save index for current event in a TEventList. Events can be selected from this list by specifying the 'cafe.EventList: filename' option.
Configuration
.File: EventListFile [ default: "" ] .Tags: EventTags* [ default: "", i.e. all events ]
Definition at line 26 of file EventList.hpp.
Public Member Functions | |
| EventList (const char *name) | |
| ~EventList () | |
| void | inputFileOpened (TFile *file) |
| Called for every new input file that was opened. | |
| void | inputFileClosing (TFile *file) |
| Called for every input file that is about to be closed. | |
| bool | processEvent (cafe::Event &event) |
| Called for every event. | |
| void | finish () |
| Called at end of processing. | |
| ClassDef (EventList, 0) | |
Private Attributes | |
| std::vector< std::string > | _tags |
| TEventList * | _list |
| TFile * | _file |
|
|
Definition at line 11 of file EventList.cpp. References _file, _tags, cafe::Config::get(), cafe::Config::getVString(), cafe::Processor::name(), and cafe::Processor::out(). |
|
|
Definition at line 28 of file EventList.cpp. |
|
||||||||||||
|
|
|
|
Called at end of processing.
Reimplemented from cafe::Processor. Definition at line 58 of file EventList.cpp. References _file. |
|
|
Called for every input file that is about to be closed.
Reimplemented from cafe::Processor. Definition at line 40 of file EventList.cpp. |
|
|
Called for every new input file that was opened.
Reimplemented from cafe::Processor. Definition at line 32 of file EventList.cpp. |
|
|
Called for every event.
Reimplemented from cafe::Processor. Definition at line 50 of file EventList.cpp. References _list, _tags, cafe::EventBase::getTree(), and cafe::EventBase::hasTag(). |
|
|
Definition at line 37 of file EventList.hpp. Referenced by EventList(), finish(), inputFileClosing(), and inputFileOpened(). |
|
|
Definition at line 36 of file EventList.hpp. Referenced by inputFileClosing(), inputFileOpened(), and processEvent(). |
|
|
Definition at line 35 of file EventList.hpp. Referenced by EventList(), and processEvent(). |
1.3.4