CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::parser::OrCombiner Struct Reference

#include <OrCombiner.h>

Inheritance diagram for reco::parser::OrCombiner:
reco::parser::SelectorBase

Public Member Functions

bool operator() (const edm::ObjectWithDict &o) const override
 return true if the object is selected More...
 
 OrCombiner (SelectorPtr lhs, SelectorPtr rhs)
 
- Public Member Functions inherited from reco::parser::SelectorBase
virtual ~SelectorBase ()
 destructor More...
 

Private Attributes

SelectorPtr lhs_
 
SelectorPtr rhs_
 

Detailed Description

Definition at line 18 of file OrCombiner.h.

Constructor & Destructor Documentation

◆ OrCombiner()

reco::parser::OrCombiner::OrCombiner ( SelectorPtr  lhs,
SelectorPtr  rhs 
)
inline

Definition at line 19 of file OrCombiner.h.

19 : lhs_(lhs), rhs_(rhs) {}

Member Function Documentation

◆ operator()()

bool reco::parser::OrCombiner::operator() ( const edm::ObjectWithDict c) const
inlineoverridevirtual

return true if the object is selected

Implements reco::parser::SelectorBase.

Definition at line 20 of file OrCombiner.h.

20 { return (*lhs_)(o) || (*rhs_)(o); }

References lhs_, EcalTangentSkim_cfg::o, and rhs_.

Member Data Documentation

◆ lhs_

SelectorPtr reco::parser::OrCombiner::lhs_
private

Definition at line 23 of file OrCombiner.h.

Referenced by operator()().

◆ rhs_

SelectorPtr reco::parser::OrCombiner::rhs_
private

Definition at line 23 of file OrCombiner.h.

Referenced by operator()().

reco::parser::OrCombiner::rhs_
SelectorPtr rhs_
Definition: OrCombiner.h:23
reco::parser::OrCombiner::lhs_
SelectorPtr lhs_
Definition: OrCombiner.h:23
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42