defines subtrees in the expanded-view More...
#include <DDScope.h>
Public Types | |
typedef std::vector< DDGeoHistory > | scope_type |
Public Member Functions | |
bool | addScope (const DDGeoHistory &s) |
Adds a scope. No new scope will be added if s is already contained in one of the subtrees. More... | |
DDScope (void) | |
empty scope More... | |
DDScope (const DDGeoHistory &, int depth=0) | |
scope with a single subtree More... | |
int | depth (void) const |
return the depth to wich the subtrees are restricted More... | |
const scope_type & | scope (void) const |
returns the scope container More... | |
void | setDepth (int) |
subtrees of the scope are only transversed down to the given level More... | |
~DDScope (void) | |
Protected Attributes | |
DDScopeClassification | classify_ |
int | depth_ |
scope_type | subtrees_ |
Friends | |
std::ostream & | operator<< (std::ostream &, const DDScope &) |
defines subtrees in the expanded-view
One scope is defined by a set of DDGeoHistory.
typedef std::vector<DDGeoHistory> DDScope::scope_type |
DDScope::DDScope | ( | void | ) |
DDScope::DDScope | ( | const DDGeoHistory & | h, |
int | depth = 0 |
||
) |
scope with a single subtree
Definition at line 31 of file DDScope.cc.
DDScope::~DDScope | ( | void | ) |
Definition at line 33 of file DDScope.cc.
bool DDScope::addScope | ( | const DDGeoHistory & | s | ) |
Adds a scope. No new scope will be added if s is already contained in one of the subtrees.
returns true, if scope has changed, else false.
Definition at line 35 of file DDScope.cc.
References visDQMUpload::buf, classify_, different_branch, h, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mps_fire::result, subtree, subtrees_, and supertree.
int DDScope::depth | ( | void | ) | const |
return the depth to wich the subtrees are restricted
Definition at line 83 of file DDScope.cc.
References depth_.
const DDScope::scope_type & DDScope::scope | ( | void | ) | const |
void DDScope::setDepth | ( | int | d | ) |
subtrees of the scope are only transversed down to the given level
Definition at line 81 of file DDScope.cc.
References ztail::d, and depth_.
|
friend |
Definition at line 87 of file DDScope.cc.
|
protected |
Definition at line 58 of file DDScope.h.
Referenced by addScope().
|
protected |
Definition at line 59 of file DDScope.h.
Referenced by depth(), and setDepth().
|
protected |
Definition at line 57 of file DDScope.h.
Referenced by addScope(), DDScope(), operator<<(), and scope().