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 96 of file PathStatusFilter.cc.

Constructor & Destructor Documentation

◆ Operand()

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

Definition at line 98 of file PathStatusFilter.cc.

98 : pathName_(pathName.begin(), pathName.end()) {}

Member Function Documentation

◆ evaluate()

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

Reimplemented from edm::pathStatusExpression::Evaluator.

Definition at line 108 of file PathStatusFilter.cc.

108 { return event.get(token_).accept(); }

References token_.

◆ init()

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

◆ print()

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

◆ type()

EvaluatorType edm::pathStatusExpression::Operand::type ( ) const
inlineoverridevirtual

Implements edm::pathStatusExpression::Evaluator.

Definition at line 100 of file PathStatusFilter.cc.

100 { return Name; }

References edm::pathStatusExpression::Evaluator::Name.

Member Data Documentation

◆ pathName_

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

Definition at line 111 of file PathStatusFilter.cc.

Referenced by init(), and print().

◆ token_

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

Definition at line 112 of file PathStatusFilter.cc.

Referenced by evaluate(), and init().

edm::pathStatusExpression::Evaluator::Name
Definition: PathStatusFilter.cc:85
edm::pathStatusExpression::Operand::pathName_
std::string pathName_
Definition: PathStatusFilter.cc:111
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
edm::PathStatus
HLTPathStatus PathStatus
Definition: PathStatus.h:7
hltMonBTagIPClient_cfi.pathName
pathName
Definition: hltMonBTagIPClient_cfi.py:5
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::pathStatusExpression::Operand::token_
EDGetTokenT< PathStatus > token_
Definition: PathStatusFilter.cc:112
printContent_cfi.indentation
indentation
Definition: printContent_cfi.py:10
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31