00001 #ifndef CAFE_EVENTLIST_HPP_ 00002 #define CAFE_EVENTLIST_HPP_ 00003 00004 #include "cafe/Processor.hpp" 00005 00006 #include <string> 00007 #include <vector> 00008 00009 class TEventList; 00010 class TFile; 00011 00012 namespace cafe { 00025 class EventList : public cafe::Processor { 00026 public: 00027 EventList(const char *name); 00028 ~EventList(); 00029 void inputFileOpened(TFile *file); 00030 void inputFileClosing(TFile *file); 00031 bool processEvent(cafe::Event& event); 00032 void finish(); 00033 private: 00034 std::vector<std::string> _tags; 00035 TEventList *_list; 00036 TFile *_file; 00037 public: 00038 ClassDef(EventList, 0); 00039 }; 00040 } 00041 00042 #endif // CAFE_EVENTLIST_HPP_
1.3.4