00001 #ifndef CAFE_EVENTFLAGS_HPP__ 00002 #define CAFE_EVENTFLAGS_HPP__ 00003 00004 #include <vector> 00005 #include <string> 00006 00007 #include "cafe/Processor.hpp" 00008 #include "tmb_tree/TMBEventFlags.hpp" 00009 00010 namespace cafe { 00011 00024 class EventFlags : public Processor { 00025 public: 00026 EventFlags(const char *name); 00027 bool processEvent(Event& event); 00028 private: 00029 bool _any; 00030 std::vector<std::string> _flagNames; 00031 std::vector<TMBEventFlags::Flag> _flagValues; 00032 bool _veto; 00033 std::vector<std::string> _vetoflagNames; 00034 std::vector<TMBEventFlags::Flag> _vetoflagValues; 00035 00036 public: 00037 ClassDef(EventFlags,1); 00038 }; 00039 00040 } 00041 00042 #endif // CAFE_EVENTFLAGS_HPP__
1.3.4