CMS 3D CMS Logo

Public Member Functions

triggerExpression::OperatorOr Class Reference

#include <TriggerExpressionOperators.h>

Inheritance diagram for triggerExpression::OperatorOr:
triggerExpression::BinaryOperator triggerExpression::Evaluator

List of all members.

Public Member Functions

void dump (std::ostream &out) const
bool operator() (const Data &data) const
 OperatorOr (Evaluator *arg1, Evaluator *arg2)

Detailed Description

Definition at line 83 of file TriggerExpressionOperators.h.


Constructor & Destructor Documentation

triggerExpression::OperatorOr::OperatorOr ( Evaluator arg1,
Evaluator arg2 
) [inline]

Definition at line 85 of file TriggerExpressionOperators.h.

                                                 :
    BinaryOperator(arg1, arg2)
  { }

Member Function Documentation

void triggerExpression::OperatorOr::dump ( std::ostream &  out) const [inline, virtual]
bool triggerExpression::OperatorOr::operator() ( const Data data) const [inline, virtual]

Implements triggerExpression::Evaluator.

Definition at line 89 of file TriggerExpressionOperators.h.

References AlCaHLTBitMon_QueryRunRegistry::data.

                                           {
    // force the execution af both arguments, otherwise precalers won't work properly
    bool r1 = (*m_arg1)(data);
    bool r2 = (*m_arg2)(data);
    return r1 or r2;
  }