Go to the documentation of this file.00001 #ifndef HLTrigger_HLTfilters_TriggerExpressionHLTReader_h
00002 #define HLTrigger_HLTfilters_TriggerExpressionHLTReader_h
00003
00004 #include <vector>
00005 #include <string>
00006
00007 #include "HLTrigger/HLTcore/interface/TriggerExpressionEvaluator.h"
00008
00009 namespace triggerExpression {
00010
00011 class HLTReader : public Evaluator {
00012 public:
00013 HLTReader(const std::string & pattern) :
00014 m_pattern(pattern),
00015 m_triggers()
00016 { }
00017
00018 bool operator()(const Data & data) const;
00019
00020 void init(const Data & data);
00021
00022 void dump(std::ostream & out) const;
00023
00024 private:
00025 std::string m_pattern;
00026 std::vector<std::pair<std::string, unsigned int> > m_triggers;
00027 };
00028
00029 }
00030
00031 #endif // HLTrigger_HLTfilters_TriggerExpressionHLTReader_h