CMS 3D CMS Logo

List of all members | Public Member Functions
triggerExpression::OperatorNot Class Reference

#include <TriggerExpressionOperators.h>

Inheritance diagram for triggerExpression::OperatorNot:
triggerExpression::UnaryOperator triggerExpression::Evaluator

Public Member Functions

void dump (std::ostream &out, bool const ignoreMasks=false) const override
 
bool operator() (const Data &data) const override
 
 OperatorNot (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::UnaryOperator
void init (const Data &data) override
 
void mask (Evaluator const &arg) override
 
std::vector< std::string > patterns () const override
 
 UnaryOperator (Evaluator *arg)
 
- Public Member Functions inherited from triggerExpression::Evaluator
virtual void disableMasks ()
 
virtual void enableMasks ()
 
 Evaluator ()=default
 
virtual bool masksEnabled () const
 
virtual std::vector< std::pair< std::string, unsigned int > > triggers () const
 
virtual ~Evaluator ()=default
 

Additional Inherited Members

- Protected Attributes inherited from triggerExpression::UnaryOperator
std::unique_ptr< Evaluatorm_arg
 

Detailed Description

Definition at line 61 of file TriggerExpressionOperators.h.

Constructor & Destructor Documentation

◆ OperatorNot()

triggerExpression::OperatorNot::OperatorNot ( Evaluator arg)
inline

Definition at line 63 of file TriggerExpressionOperators.h.

Member Function Documentation

◆ dump()

void triggerExpression::OperatorNot::dump ( std::ostream &  out,
bool const  ignoreMasks = false 
) const
inlineoverridevirtual

Implements triggerExpression::Evaluator.

Definition at line 67 of file TriggerExpressionOperators.h.

References triggerExpression::UnaryOperator::m_arg, and MillePedeFileConverter_cfg::out.

67  {
68  out << '(';
69  out << "NOT ";
70  m_arg->dump(out, ignoreMasks);
71  out << ')';
72  }

◆ operator()()

bool triggerExpression::OperatorNot::operator() ( const Data data) const
inlineoverridevirtual

Implements triggerExpression::Evaluator.

Definition at line 65 of file TriggerExpressionOperators.h.

References data, and triggerExpression::UnaryOperator::m_arg.

65 { return not(*m_arg)(data); }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79