CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
triggerExpression::Evaluator Class Referenceabstract

#include <TriggerExpressionEvaluator.h>

Inheritance diagram for triggerExpression::Evaluator:
triggerExpression::BinaryOperator triggerExpression::Constant triggerExpression::L1uGTReader triggerExpression::PathReader triggerExpression::UnaryOperator triggerExpression::OperatorAnd triggerExpression::OperatorMasking triggerExpression::OperatorOr triggerExpression::OperatorXor triggerExpression::OperatorNot triggerExpression::Prescaler

Public Member Functions

virtual void disableMasks ()
 
virtual void dump (std::ostream &out, bool const ignoreMasks=false) const =0
 
virtual void enableMasks ()
 
 Evaluator ()=default
 
virtual void init (const Data &data)
 
virtual void mask (Evaluator const &)
 
virtual bool masksEnabled () const
 
virtual bool operator() (const Data &data) const =0
 
virtual std::vector< std::string > patterns () const
 
virtual std::vector< std::pair< std::string, unsigned int > > triggers () const
 
virtual ~Evaluator ()=default
 

Private Attributes

bool m_masksEnabled = false
 

Detailed Description

Definition at line 13 of file TriggerExpressionEvaluator.h.

Constructor & Destructor Documentation

◆ Evaluator()

triggerExpression::Evaluator::Evaluator ( )
default

◆ ~Evaluator()

virtual triggerExpression::Evaluator::~Evaluator ( )
virtualdefault

Member Function Documentation

◆ disableMasks()

virtual void triggerExpression::Evaluator::disableMasks ( )
inlinevirtual

Definition at line 41 of file TriggerExpressionEvaluator.h.

References m_masksEnabled.

◆ dump()

virtual void triggerExpression::Evaluator::dump ( std::ostream &  out,
bool const  ignoreMasks = false 
) const
pure virtual

◆ enableMasks()

virtual void triggerExpression::Evaluator::enableMasks ( )
inlinevirtual

◆ init()

virtual void triggerExpression::Evaluator::init ( const Data data)
inlinevirtual

◆ mask()

virtual void triggerExpression::Evaluator::mask ( Evaluator const &  )
inlinevirtual

◆ masksEnabled()

virtual bool triggerExpression::Evaluator::masksEnabled ( ) const
inlinevirtual

◆ operator()()

virtual bool triggerExpression::Evaluator::operator() ( const Data data) const
pure virtual

◆ patterns()

virtual std::vector<std::string> triggerExpression::Evaluator::patterns ( ) const
inlinevirtual

◆ triggers()

virtual std::vector<std::pair<std::string, unsigned int> > triggerExpression::Evaluator::triggers ( ) const
inlinevirtual

Member Data Documentation

◆ m_masksEnabled

bool triggerExpression::Evaluator::m_masksEnabled = false
private

Definition at line 44 of file TriggerExpressionEvaluator.h.

Referenced by disableMasks(), enableMasks(), and masksEnabled().