EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
TGeoParser is a helper struct that walks recursively through a TGeometry and selects by string comparison the TGeoNodes that match the criteria. More...
#include <acts/blob/sPHENIX/Plugins/TGeo/include/Acts/Plugins/TGeo/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 > |
Static Public Member Functions | |
static void | select (State &state, const Options &options, const TGeoMatrix &gmatrix=TGeoIdentity("ID")) |
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
Definition at line 33 of file TGeoParser.hpp.
View newest version in sPHENIX GitHub at line 33 of file TGeoParser.hpp
using Acts::TGeoParser::ParseRange = std::pair<double, double> |
Definition at line 34 of file TGeoParser.hpp.
View newest version in sPHENIX GitHub at line 34 of file TGeoParser.hpp
|
static |
The parsing module, it takes the top Volume and recursively steps down
state | [out] The parseing state configuration, passed through |
options | [in] The parsing options as requiremed |
gmatrix | The current built-up transform to global at this depth |
Definition at line 20 of file TGeoParser.cpp.
View newest version in sPHENIX GitHub at line 20 of file TGeoParser.cpp
References Acts::VectorHelpers::cast(), dx, dy, dz, Acts::TGeoPrimitivesHelper::makeTransform(), Acts::TGeoPrimitivesHelper::match(), Acts::TGeoParser::State::node, Acts::TGeoParser::State::onBranch, Acts::TGeoParser::Options::parseRanges, Acts::TGeoParser::State::selectedNodes, t, Acts::TGeoParser::Options::targetNames, Acts::Test::transform, Acts::TGeoParser::Options::unit, Acts::TGeoParser::State::volume, Acts::TGeoParser::Options::volumeNames, x, y, and z.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::TGeoLayerBuilder::buildLayers().