1 #ifndef DDCore_DDQuery_h
2 #define DDCore_DDQuery_h
20 virtual const std::vector<DDExpandedNode> &
exec();
30 std::vector<std::pair<bool, DDFilter *> >
criteria_;
Base class for querying for nodes in the DDExpandedView.
DDLogOp
logical operations to obtain one result from two filter comparisons
virtual const std::vector< DDExpandedNode > & exec()
virtual void addFilter(const DDFilter &, DDLogOp op=DDLogOp::AND)
virtual void setScope(const DDScope &)
type of data representation of DDCompactView
std::vector< DDExpandedNode > result_
DDQuery(const DDCompactView &)
sets up a query
defines subtrees in the expanded-view
A Filter accepts or rejects a DDExpandedNode based on a user-coded decision rule. ...
std::vector< std::pair< bool, DDFilter * > > criteria_
Provides an exploded view of the detector (tree-view)
std::vector< DDLogOp > logOps_