CMS 3D CMS Logo

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

Public Member Functions

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

Private Attributes

std::string pathName_
 
EDGetTokenT< PathStatustoken_
 

Additional Inherited Members

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

Detailed Description

Definition at line 98 of file PathStatusFilter.cc.

Constructor & Destructor Documentation

edm::pathStatusExpression::Operand::Operand ( std::vector< char > const &  pathName)
inline

Member Function Documentation

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

Reimplemented from edm::pathStatusExpression::Evaluator.

Definition at line 110 of file PathStatusFilter.cc.

110 { return event.get(token_).accept(); }
EDGetTokenT< PathStatus > token_
void edm::pathStatusExpression::Operand::init ( ConsumesCollector iC)
inlineoverridevirtual

Reimplemented from edm::pathStatusExpression::Evaluator.

Definition at line 108 of file PathStatusFilter.cc.

References edm::ConsumesCollector::consumes(), and HLT_2018_cff::InputTag.

108 { token_ = iC.consumes<PathStatus>(InputTag(pathName_)); }
HLTPathStatus PathStatus
Definition: PathStatus.h:7
EDGetTokenT< PathStatus > token_
void edm::pathStatusExpression::Operand::print ( std::ostream &  out,
unsigned int  indentation 
) const
inlineoverridevirtual
EvaluatorType edm::pathStatusExpression::Operand::type ( ) const
inlineoverridevirtual

Member Data Documentation

std::string edm::pathStatusExpression::Operand::pathName_
private

Definition at line 113 of file PathStatusFilter.cc.

EDGetTokenT<PathStatus> edm::pathStatusExpression::Operand::token_
private

Definition at line 114 of file PathStatusFilter.cc.