Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:43

0001 #ifndef HLTrigger_HLTfilters_TriggerExpressionL1uGTReader_h
0002 #define HLTrigger_HLTfilters_TriggerExpressionL1uGTReader_h
0003 
0004 #include <vector>
0005 #include <string>
0006 
0007 #include "HLTrigger/HLTcore/interface/TriggerExpressionEvaluator.h"
0008 
0009 namespace triggerExpression {
0010 
0011   class L1uGTReader : public Evaluator {
0012   public:
0013     L1uGTReader(const std::string& pattern) : m_pattern(pattern), m_triggers() {}
0014 
0015     bool operator()(const Data& data) const override;
0016 
0017     void init(const Data& data) override;
0018 
0019     void dump(std::ostream& out) const override;
0020 
0021   private:
0022     std::string m_pattern;
0023     std::vector<std::pair<std::string, unsigned int> > m_triggers;
0024   };
0025 
0026 }  // namespace triggerExpression
0027 
0028 #endif  // HLTrigger_HLTfilters_TriggerExpressionL1uGTReader_h