DD4hep
1.28.0
Detector Description Toolkit for High Energy Physics
|
The base class for all dd4hep geometry crawlers. More...
#include <GeoHandler.h>
Public Member Functions | |
GeoHandler () | |
Default constructor. More... | |
GeoHandler (std::map< int, std::set< const TGeoNode * > > *ptr) | |
Initializing constructor. More... | |
virtual | ~GeoHandler () |
Default destructor. More... | |
bool | setPropagateRegions (bool value) |
Propagate regions. Returns the previous value. More... | |
GeoHandler & | collect (DetElement top) |
Collect geometry information from traversal. More... | |
GeoHandler & | collect (DetElement top, GeometryInfo &info) |
Collect geometry information from traversal with aggregated information. More... | |
std::map< int, std::set< const TGeoNode * > > * | release () |
Access to collected node list. More... | |
Protected Member Functions | |
GeoHandler & | i_collect (const TGeoNode *parent, const TGeoNode *node, int level, Region rg, LimitSet ls) |
Internal helper to collect geometry information from traversal. More... | |
Protected Attributes | |
bool | m_propagateRegions |
std::map< int, std::set< const TGeoNode * > > * | m_data |
Private Member Functions | |
GeoHandler (const GeoHandler &) | |
Never call Copy constructor. More... | |
GeoHandler & | operator= (const GeoHandler &) |
Never call assignment operator. More... | |
The base class for all dd4hep geometry crawlers.
Geometry crawlers are used for multiple purposes, whenever entire geometries must be traversed like e.g. to create a new geometry for simulation etc. While analysing the geometry, information is collected, which may be later processed.
Definition at line 94 of file GeoHandler.h.
|
inlineprivate |
Never call Copy constructor.
Definition at line 107 of file GeoHandler.h.
detail::GeoHandler::GeoHandler | ( | ) |
Default constructor.
Definition at line 53 of file GeoHandler.cpp.
detail::GeoHandler::GeoHandler | ( | std::map< int, std::set< const TGeoNode * > > * | ptr | ) |
Initializing constructor.
Definition at line 58 of file GeoHandler.cpp.
|
virtual |
Default destructor.
Definition at line 63 of file GeoHandler.cpp.
detail::GeoHandler & detail::GeoHandler::collect | ( | DetElement | top | ) |
Collect geometry information from traversal.
Definition at line 82 of file GeoHandler.cpp.
detail::GeoHandler & detail::GeoHandler::collect | ( | DetElement | top, |
GeometryInfo & | info | ||
) |
Collect geometry information from traversal with aggregated information.
Definition at line 89 of file GeoHandler.cpp.
|
protected |
Internal helper to collect geometry information from traversal.
Definition at line 127 of file GeoHandler.cpp.
|
inlineprivate |
Never call assignment operator.
Definition at line 110 of file GeoHandler.h.
std::map< int, std::set< const TGeoNode * > > * detail::GeoHandler::release | ( | ) |
Access to collected node list.
Definition at line 69 of file GeoHandler.cpp.
bool detail::GeoHandler::setPropagateRegions | ( | bool | value | ) |
Propagate regions. Returns the previous value.
Definition at line 76 of file GeoHandler.cpp.
|
protected |
Definition at line 98 of file GeoHandler.h.
|
protected |
Definition at line 97 of file GeoHandler.h.