CMS 3D CMS Logo

TriggerExpressionPathReader.h
Go to the documentation of this file.
1 #ifndef HLTrigger_HLTcore_TriggerExpressionPathReader_h
2 #define HLTrigger_HLTcore_TriggerExpressionPathReader_h
3 
5 
6 namespace triggerExpression {
7 
8  class PathReader : public Evaluator {
9  public:
12 
13  bool operator()(const Data& data) const override;
14 
15  void init(const Data& data) override;
16 
17  std::vector<std::string> patterns() const override { return {m_pattern}; }
18 
19  void dump(std::ostream& out, bool const ignoreMasks = false) const override;
20 
21  void mask(Evaluator const& eval) override;
22 
23  std::vector<std::pair<std::string, unsigned int>> triggers() const override { return m_triggers; }
24  std::vector<std::pair<std::string, unsigned int>> triggersAfterMasking() const { return m_triggersAfterMasking; }
25 
26  private:
28  std::vector<std::pair<std::string, unsigned int>> m_triggers;
29  std::vector<std::pair<std::string, unsigned int>> m_triggersAfterMasking;
31  };
32 
33 } // namespace triggerExpression
34 
35 #endif // HLTrigger_HLTcore_TriggerExpressionPathReader_h
PathReader(const std::string &pattern)
std::vector< std::pair< std::string, unsigned int > > triggers() const override
void dump(std::ostream &out, bool const ignoreMasks=false) const override
void mask(Evaluator const &eval) override
std::vector< std::pair< std::string, unsigned int > > m_triggersAfterMasking
bool operator()(const Data &data) const override
void init(const Data &data) override
std::vector< std::pair< std::string, unsigned int > > triggersAfterMasking() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
std::vector< std::string > patterns() const override
std::vector< std::pair< std::string, unsigned int > > m_triggers