CMS 3D CMS Logo

TriggerExpressionPrescaler.h
Go to the documentation of this file.
1 #ifndef HLTrigger_HLTcore_TriggerExpressionPrescaler_h
2 #define HLTrigger_HLTcore_TriggerExpressionPrescaler_h
3 
5 
6 namespace triggerExpression {
7 
8  class Prescaler : public UnaryOperator {
9  public:
11 
12  bool operator()(const Data& data) const override;
13 
14  void init(const Data& data) override;
15 
16  void dump(std::ostream& out, bool const ignoreMasks = false) const override {
17  out << '(';
18  m_arg->dump(out, ignoreMasks);
19  out << " / " << m_prescale << ')';
20  }
21 
22  private:
23  unsigned int m_prescale;
24  mutable unsigned int m_counter;
25  };
26 
27 } // namespace triggerExpression
28 
29 #endif // HLTrigger_HLTcore_TriggerExpressionPrescaler_h
void dump(std::ostream &out, bool const ignoreMasks=false) const override
A arg
Definition: Factorize.h:31
bool operator()(const Data &data) const override
Prescaler(Evaluator *arg, unsigned int prescale)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
void init(const Data &data) override