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 84 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 97 of file L1GTAlgoBlockProducer.cc.

References operand_.

97 { 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 95 of file L1GTAlgoBlockProducer.cc.

References operand_.

95 { 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 88 of file L1GTAlgoBlockProducer.cc.

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

88 { 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 100 of file L1GTAlgoBlockProducer.cc.

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