|
ACTS
Experiment-independent tracking
|
TGeoParser is a helper struct that walks recursively through a TGeometry and selects by string comparison the TGeoNodes that match the criteria. More...
#include <ActsPlugins/Root/TGeoParser.hpp>
Classes | |
| struct | Options |
| Nested configuration struct. More... | |
| struct | SelectedNode |
| struct | State |
| Nested state struct. More... | |
Public Types | |
| using | ParseRange = std::pair<double, double> |
| Type alias for parsing range as min/max bounds pair. | |
Static Public Member Functions | |
| static TGeoNode * | findNodeRecursive (TGeoNode *currentNode, const char *volumeName) |
| Simple utility function that recursively finds the node by the volume name in the tgeo branch. | |
| static void | select (State &state, const Options &options, const TGeoMatrix &gmatrix=TGeoIdentity("ID")) |
| The parsing module, it takes the top Volume and recursively steps down. | |
TGeoParser is a helper struct that walks recursively through a TGeometry and selects by string comparison the TGeoNodes that match the criteria.
It also buils up the global transform for the conversion into an ACTS Surface
| using ActsPlugins::TGeoParser::ParseRange = std::pair<double, double> |
Type alias for parsing range as min/max bounds pair.
|
static |
Simple utility function that recursively finds the node by the volume name in the tgeo branch.
| currentNode | [in] the pointer to the current node in the branch |
| volumeName | [in] the name of the volume to be searched for |
|
static |
The parsing module, it takes the top Volume and recursively steps down.
| state | [out] The parsing state configuration, passed through |
| options | [in] The parsing options as required |
| gmatrix | The current built-up transform to global at this depth |