ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::TGeoParser::State Struct Reference

Nested state struct. More...

#include <ActsPlugins/Root/TGeoParser.hpp>

Collaboration diagram for ActsPlugins::TGeoParser::State:
[legend]

Public Attributes

TGeoNode * node = nullptr
 The current ROOT geometry node being parsed.
bool onBranch = false
 Flag indicating if parsing is on the selected geometry branch.
std::vector< SelectedNodeselectedNodes = {}
 Collection of nodes selected during parsing.
TGeoVolume * volume = nullptr
 The current ROOT geometry volume being parsed.

Detailed Description

Nested state struct.

This is needed for the recursive parsing of the geometry, it collects the information during the parsing process and keeps track of the built up transform

Member Data Documentation

◆ node

TGeoNode* ActsPlugins::TGeoParser::State::node = nullptr

The current ROOT geometry node being parsed.

◆ onBranch

bool ActsPlugins::TGeoParser::State::onBranch = false

Flag indicating if parsing is on the selected geometry branch.

◆ selectedNodes

std::vector<SelectedNode> ActsPlugins::TGeoParser::State::selectedNodes = {}

Collection of nodes selected during parsing.

◆ volume

TGeoVolume* ActsPlugins::TGeoParser::State::volume = nullptr

The current ROOT geometry volume being parsed.