DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Geometry to screen dump action. More...
#include <GeometryTreeDump.h>
Public Member Functions | |
GeometryTreeDump ()=default | |
virtual | ~GeometryTreeDump ()=default |
Standard destructor. More... | |
void | create (DetElement top) |
Main entry point: create required object(s) More... | |
virtual void * | handleVolume (const std::string &name, Volume volume) const |
Dump logical volume in GDML format to output stream. More... | |
virtual void * | handleTransformation (const std::string &name, const TGeoMatrix *matrix) const |
Dump single volume transformation in GDML format to output stream. More... | |
virtual void * | handleSolid (const std::string &name, const TGeoShape *volume) const |
Dump solid in GDML format to output stream. More... | |
virtual void | handleDefines (const Detector::HandleMap &defs) const |
Dump all constants in GDML format to output stream. More... | |
void | handleVisualisation (const Detector::HandleMap &vis) const |
Dump all visualisation specs in Detector format to output stream. More... | |
virtual void | handleSolids (const std::set< TGeoShape * > &solids) const |
Dump all solids in GDML format to output stream. More... | |
virtual void | handleTransformations (const std::vector< std::pair< std::string, TGeoMatrix * > > &trafos) const |
Dump Transformations in GDML format to output stream. More... | |
virtual void | handleStructure (const std::set< Volume > &volset) const |
Dump structure information in GDML format to output stream. More... | |
Public Member Functions inherited from dd4hep::detail::GeoHandler | |
GeoHandler () | |
Default constructor. More... | |
GeoHandler (std::map< int, std::vector< const TGeoNode * > > *ptr, std::map< int, std::set< const TGeoNode * > > *ptr_set, std::map< const TGeoNode *, std::vector< TGeoNode * > > *daus=nullptr) | |
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::vector< const TGeoNode * > > * | release () |
Access to collected node list. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from dd4hep::detail::GeoHandler | |
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 inherited from dd4hep::detail::GeoHandler | |
bool | m_propagateRegions { false } |
std::map< int, std::vector< const TGeoNode * > > * | m_data { nullptr } |
actual container with std::vector (preserves order) More... | |
std::map< int, std::set< const TGeoNode * > > * | m_set_data { nullptr } |
redundant container with std::set (for lookup purpose) More... | |
std::map< const TGeoNode *, std::vector< TGeoNode * > > * | m_daughters { nullptr } |
|
default |
|
virtualdefault |
Standard destructor.
void detail::GeometryTreeDump::create | ( | DetElement | top | ) |
Main entry point: create required object(s)
Definition at line 294 of file GeometryTreeDump.cpp.
|
virtual |
Dump all constants in GDML format to output stream.
Definition at line 239 of file GeometryTreeDump.cpp.
|
virtual |
Dump solid in GDML format to output stream.
Definition at line 107 of file GeometryTreeDump.cpp.
|
virtual |
Dump all solids in GDML format to output stream.
Definition at line 231 of file GeometryTreeDump.cpp.
|
virtual |
Dump structure information in GDML format to output stream.
Definition at line 192 of file GeometryTreeDump.cpp.
|
virtual |
Dump single volume transformation in GDML format to output stream.
Definition at line 200 of file GeometryTreeDump.cpp.
|
virtual |
Dump Transformations in GDML format to output stream.
Definition at line 223 of file GeometryTreeDump.cpp.
void detail::GeometryTreeDump::handleVisualisation | ( | const Detector::HandleMap & | vis | ) | const |
Dump all visualisation specs in Detector format to output stream.
Definition at line 248 of file GeometryTreeDump.cpp.
|
virtual |
Dump logical volume in GDML format to output stream.
Definition at line 72 of file GeometryTreeDump.cpp.