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
triggerExpression::Evaluator
Definition: TriggerExpressionEvaluator.h:10
triggerExpression::Prescaler::dump
void dump(std::ostream &out) const override
Definition: TriggerExpressionPrescaler.h:17
triggerExpression::Prescaler::m_prescale
unsigned int m_prescale
Definition: TriggerExpressionPrescaler.h:20
triggerExpression::Prescaler::operator()
bool operator()(const Data &data) const override
Definition: TriggerExpressionPrescaler.cc:5
triggerExpression::Prescaler::m_counter
unsigned int m_counter
Definition: TriggerExpressionPrescaler.h:21
triggerExpression::Data
Definition: TriggerExpressionData.h:22
prescale
Definition: PrescaleEventFilter.cc:32
TriggerExpressionOperators.h
triggerExpression::Prescaler
Definition: TriggerExpressionPrescaler.h:9
triggerExpression
Definition: TriggerExpressionConstant.h:6
triggerExpression::UnaryOperator
Definition: TriggerExpressionOperators.h:10
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
triggerExpression::Prescaler::init
void init(const Data &data) override
Definition: TriggerExpressionPrescaler.cc:22
TriggerExpressionData.h
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
funct::arg
A arg
Definition: Factorize.h:31
triggerExpression::Prescaler::Prescaler
Prescaler(Evaluator *arg, unsigned int prescale)
Definition: TriggerExpressionPrescaler.h:11