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 { 00026 class EventList : public cafe::Processor { 00027 public: 00028 EventList(const char *name); 00029 ~EventList(); 00030 void inputFileOpened(TFile *file); 00031 void inputFileClosing(TFile *file); 00032 bool processEvent(cafe::Event& event); 00033 void finish(); 00034 private: 00035 std::vector<std::string> _tags; 00036 TEventList *_list; 00037 TFile *_file; 00038 public: 00039 ClassDef(EventList, 0); 00040 }; 00041 } 00042 00043 #endif // CAFE_EVENTLIST_HPP_
1.3.4