CMS 3D CMS Logo

Public Member Functions

triggerExpression::OperatorAnd Class Reference

#include <TriggerExpressionOperators.h>

Inheritance diagram for triggerExpression::OperatorAnd:
triggerExpression::BinaryOperator triggerExpression::Evaluator

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 63 of file TriggerExpressionOperators.h.


Constructor & Destructor Documentation

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

Definition at line 65 of file TriggerExpressionOperators.h.

                                                  :
    BinaryOperator(arg1, arg2)
  { }

Member Function Documentation

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

Implements triggerExpression::Evaluator.

Definition at line 69 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 and r2;
  }