CMS 3D CMS Logo

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