CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pathStatusExpression::NotOperator Class Reference
Inheritance diagram for pathStatusExpression::NotOperator:
pathStatusExpression::Evaluator

Public Member Functions

bool evaluate (edm::Event const &event) const override
 
void init (edm::ConsumesCollector &iC) override
 
void print (std::ostream &out, unsigned int indentation) const override
 
void setLeft (std::unique_ptr< Evaluator > &&v) override
 
EvaluatorType type () const override
 
- Public Member Functions inherited from pathStatusExpression::Evaluator
virtual const char * pathName () const
 
virtual void setRight (std::unique_ptr< Evaluator > &&)
 
virtual ~Evaluator ()
 

Private Attributes

edm::propagate_const< std::unique_ptr< Evaluator > > operand_
 

Additional Inherited Members

- Public Types inherited from pathStatusExpression::Evaluator
enum  EvaluatorType {
  Name, Not, And, Or,
  BeginParen
}
 

Detailed Description

Definition at line 83 of file L1GTAlgoBlockProducer.cc.

Member Function Documentation

◆ evaluate()

bool pathStatusExpression::NotOperator::evaluate ( edm::Event const &  event) const
inlineoverridevirtual

Reimplemented from pathStatusExpression::Evaluator.

Definition at line 96 of file L1GTAlgoBlockProducer.cc.

References operand_.

96 { return !operand_->evaluate(event); }
edm::propagate_const< std::unique_ptr< Evaluator > > operand_
Definition: event.py:1

◆ init()

void pathStatusExpression::NotOperator::init ( edm::ConsumesCollector iC)
inlineoverridevirtual

Reimplemented from pathStatusExpression::Evaluator.

Definition at line 94 of file L1GTAlgoBlockProducer.cc.

References operand_.

94 { operand_->init(iC); }
edm::propagate_const< std::unique_ptr< Evaluator > > operand_

◆ print()

void pathStatusExpression::NotOperator::print ( std::ostream &  out,
unsigned int  indentation 
) const
inlineoverridevirtual

◆ setLeft()

void pathStatusExpression::NotOperator::setLeft ( std::unique_ptr< Evaluator > &&  v)
inlineoverridevirtual

Reimplemented from pathStatusExpression::Evaluator.

Definition at line 87 of file L1GTAlgoBlockProducer.cc.

References eostools::move(), operand_, and findQualityFiles::v.

87 { operand_ = std::move(v); }
edm::propagate_const< std::unique_ptr< Evaluator > > operand_
def move(src, dest)
Definition: eostools.py:511

◆ type()

EvaluatorType pathStatusExpression::NotOperator::type ( ) const
inlineoverridevirtual

Member Data Documentation

◆ operand_

edm::propagate_const<std::unique_ptr<Evaluator> > pathStatusExpression::NotOperator::operand_
private

Definition at line 99 of file L1GTAlgoBlockProducer.cc.

Referenced by evaluate(), init(), print(), and setLeft().