1 #ifndef DDCore_DDFilter_h 2 #define DDCore_DDFilter_h 47 void setCriteria(
const DDValue & nameVal,
73 attribute_(iAttribute,
"",0 )
96 template<
typename F1,
typename F2>
104 return f1_.accept(node) && f2_.accept(node);
111 template<
typename F1,
typename F2>
DDSpecificsMatchesValueFilter(const DDValue &iValue)
DDSpecificsHasNamedValueFilter(const std::string &iAttribute)
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
std::vector< SpecificCriterion > criteria_
SpecificCriterion(const DDValue &nameVal, DDCompOp op)
bool accept(const DDExpandedView &node) const final
true, if the DDExpandedNode fulfills the filter criteria
A DDFilter that always returns true.
DDCompOp
comparison operators to be used with this filter
bool accept(const DDExpandedView &) const final
true, if the DDExpandedNode fulfills the filter criteria
A Filter accepts or rejects a DDExpandedNode based on a user-coded decision rule. ...
DDAndFilter< F1, F2 > make_and_ddfilter(F1 f1, F2 f2)
std::ostream & operator<<(std::ostream &os, const DDSpecificsFilter &f)
Provides an exploded view of the detector (tree-view)
DDAndFilter(F1 iF1, F2 iF2)
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.