Go to the documentation of this file.
7 DDGeoHistory::const_iterator lit = left.begin();
8 DDGeoHistory::const_iterator rit = right.begin();
10 while (lit != left.end() && rit != right.end()) {
11 if (lit->siblingno() != rit->siblingno()) {
20 if (lit == left.end()) {
37 scope_type::iterator it =
subtrees_.begin();
39 int supertreeCount = 0;
40 bool diffBranch =
false;
45 switch (classification) {
47 buf.emplace_back(*it);
52 buf.emplace_back(*it);
58 if (supertreeCount == 1)
68 if (subTree ==
false) {
88 DDScope::scope_type::const_iterator it = scope.
subtrees_.begin();
89 for (; it != scope.
subtrees_.end(); ++it) {
90 os << *it << std::endl;
std::vector< DDExpandedNode > DDGeoHistory
Geometrical 'path' of the current node up to the root-node.
std::ostream & operator<<(std::ostream &os, const DDScope &scope)
void setDepth(int)
subtrees of the scope are only transversed down to the given level
std::vector< DDGeoHistory > scope_type
const scope_type & scope(void) const
returns the scope container
dd_scope_class operator()(const DDGeoHistory &, const DDGeoHistory &) const
bool addScope(const DDGeoHistory &s)
Adds a scope. No new scope will be added if s is already contained in one of the subtrees.
DDScopeClassification classify_
defines subtrees in the expanded-view
int depth(void) const
return the depth to wich the subtrees are restricted