![]() |
DD4hep
1.36.0
Detector Description Toolkit for High Energy Physics
|
Geometry converter from dd4hep to Geant 4 in Detector format. More...
#include <Vis2XmlExtract.h>
Classes | |
| class | GeometryInfo |
| Data structure of the geometry converter from dd4hep to extract visualization information. More... | |
Public Member Functions | |
| Vis2XmlExtract (Detector &description) | |
| Initializing Constructor. More... | |
| virtual | ~Vis2XmlExtract () |
| Standard destructor. More... | |
| xml_doc_t | createVis (DetElement top) |
| Create geometry conversion in Vis format. More... | |
| virtual xml_h | handleVolume (const std::string &name, Volume volume) const |
| Analyze Volume in the geometry hierarchy. More... | |
| virtual xml_h | handleVolumeVis (const std::string &name, const TGeoVolume *volume) const |
| Analyze Visualization attributes of Volume in the geometry hierarchy. More... | |
| virtual xml_h | handleVis (const std::string &name, VisAttr vis) const |
| Convert the geometry visualisation attributes to the corresponding Xml object(s). 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... | |
Public Attributes | |
| Detector & | m_detDesc |
| Reference to detector description. More... | |
| GeometryInfo * | m_dataPtr |
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 } |
Geometry converter from dd4hep to Geant 4 in Detector format.
Definition at line 40 of file Vis2XmlExtract.h.
| dd4hep::detail::Vis2XmlExtract::Vis2XmlExtract | ( | Detector & | description | ) |
Initializing Constructor.
Definition at line 37 of file Vis2XmlExtract.cpp.
|
virtual |
Standard destructor.
Definition at line 41 of file Vis2XmlExtract.cpp.
| xml_doc_t dd4hep::detail::Vis2XmlExtract::createVis | ( | DetElement | top | ) |
Create geometry conversion in Vis format.
Create geometry conversion.
Definition at line 129 of file Vis2XmlExtract.cpp.
|
virtual |
Convert the geometry visualisation attributes to the corresponding Xml object(s).
Convert the geometry visualisation attributes to the corresponding Detector object(s).
Definition at line 95 of file Vis2XmlExtract.cpp.
|
virtual |
Analyze Volume in the geometry hierarchy.
Dump logical volume in GDML format to output stream.
Definition at line 48 of file Vis2XmlExtract.cpp.
|
virtual |
Analyze Visualization attributes of Volume in the geometry hierarchy.
Dump logical volume in GDML format to output stream.
Definition at line 75 of file Vis2XmlExtract.cpp.
| GeometryInfo* dd4hep::detail::Vis2XmlExtract::m_dataPtr |
Definition at line 60 of file Vis2XmlExtract.h.
| Detector& dd4hep::detail::Vis2XmlExtract::m_detDesc |
Reference to detector description.
Definition at line 59 of file Vis2XmlExtract.h.
1.8.18